Missing folder after 11.2 update

JonM

Dabbler
Joined
Mar 29, 2017
Messages
19
Hello All,

I've had a weird update experience. Updated yesterday to the 11.2 release and everything seemed to go fine but I've since noticed that two folders have gone missing. Not datasets or volumes or anything like that, which I would understand more, but sub-folders a few levels down. They were only small and it's not data I can't get back but I'd like to understand if they've actually gone or are just hidden/still there somewhere.

Anyone have this experience? To be honest I'm not even sure where to start with troubleshooting this.

Thanks in advance,
Jon
 

JonM

Dabbler
Joined
Mar 29, 2017
Messages
19
I should add... those are the only 2 I've noticed so far. Also tried rolling back to 11.1 U6 and they're still gone.
 

RueGorE

Dabbler
Joined
Dec 10, 2018
Messages
18
Try cloning a snapshot from before the update and see if the subfolders exist.
 

JonM

Dabbler
Joined
Mar 29, 2017
Messages
19
Ahh... no snaps for this folder as it was something I'm not too bothered about. Could be lost I guess but I was just interested in what had happened to it.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Could it be something to do with the path name either conflicting with some system reserved path (new under 11.2)? it sounds a little like the problem others see when a dataset is named the same as a directory in the parent of the dataset.

Like this:
Code:
Dataset1

     Directory1

          File1...


Now create a dataset inside Dataset1 called Directory1...

Code:
Dataset1

     Directory1    <the dataset takes precedence, I think>

          ...            <No files here... but actually they are still on the disk>
 

JonM

Dabbler
Joined
Mar 29, 2017
Messages
19
That's what I thought it might be actually... But didn't think /zfs/Data/Media/Music would be affected.

Any way to check for this?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Is that really the path?

I think /zfs is actually a reserved system path. You're supposed to keep all of your data under the /mnt/<pool>/... paths

You can have a look using zfs mount to see if anything pops out at you.

I also think that you may have discarded the filesystem in the change to using the FreeBSD bootloader and I think the actual data location if that's the real path you used is on the boot pool (freenas-boot-version).

You may be able to mount one of the older snapshots of the boot pool to see if your files are there (I would normally recommend doing that with zfs on linux on a separate system to avoid potential headaches when the automounts start to cause problems, but it's up to you.
 

JonM

Dabbler
Joined
Mar 29, 2017
Messages
19
Hello!

Sorry! I never saw the reply to this! Sorry to resurrect an old thread but I'm still going lol.

I'm still in the same situation still sort of hopeful the data isn't gone.

I wasn't clear earlier, my path isn't /zfs that's my pool, so the path to the dataset is;

/mnt/zfs/Data
and my missing folder is /mnt/zfs/Data/Media/Music

Interestingly reported free space on the pool and the dataset don't match up, which seems really weird to me, like the data might still be there somewhere with just the folder hidden... Something I'd expect from a dataset but not a sub-folder. Screenshot attached.

Cheers,
Jon
Capture.PNG
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Hello!

Sorry! I never saw the reply to this! Sorry to resurrect an old thread but I'm still going lol.

I'm still in the same situation still sort of hopeful the data isn't gone.

I wasn't clear earlier, my path isn't /zfs that's my pool, so the path to the dataset is;

/mnt/zfs/Data
and my missing folder is /mnt/zfs/Data/Media/Music

Interestingly reported free space on the pool and the dataset don't match up, which seems really weird to me, like the data might still be there somewhere with just the folder hidden... Something I'd expect from a dataset but not a sub-folder. Screenshot attached.

Cheers,
Jon
View attachment 28553
Post output of "zfs list". You might have mounted a ZFS dataset over the top of the subfolder.
 

JonM

Dabbler
Joined
Mar 29, 2017
Messages
19
I thought that but then I thought it'd be unlikely for such a low level folder. ZFS list seems to look ok too;

Code:
NAME                                                          USED  AVAIL  REFER  MOUNTPOINT
freenas-boot                                                 3.04G  52.7G    64K  none
freenas-boot/ROOT                                            3.02G  52.7G    29K  none
freenas-boot/ROOT/11.1-U6                                     491K  52.7G   838M  /
freenas-boot/ROOT/11.2-RELEASE                                242K  52.7G   762M  /
freenas-boot/ROOT/11.2-RELEASE-U1                            3.02G  52.7G   761M  /
freenas-boot/ROOT/Initial-Install                               1K  52.7G   734M  legacy
freenas-boot/ROOT/default                                     152K  52.7G   734M  legacy
freenas-boot/grub                                            7.02M  52.7G  7.02M  legacy
zfs                                                          7.37T  2.84T   140K  /mnt/zfs
zfs/.system                                                   576M  2.84T   469M  legacy
zfs/.system-7cf03c8f                                         1.39G  2.84T  1.39G  /mnt/zfs/.system-7cf03c8f
zfs/.system/configs-66311c036e824820af44b2dbf4c55f10         7.89M  2.84T  7.89M  legacy
zfs/.system/configs-7f4d67ae16c94917b949456bb9f364ad         20.5M  2.84T  20.5M  legacy
zfs/.system/cores                                            45.4M  2.84T  45.4M  legacy
zfs/.system/rrd-66311c036e824820af44b2dbf4c55f10             28.1M  2.84T  28.1M  legacy
zfs/.system/rrd-7f4d67ae16c94917b949456bb9f364ad              140K  2.84T   140K  legacy
zfs/.system/samba4                                            360K  2.84T   360K  legacy
zfs/.system/syslog-66311c036e824820af44b2dbf4c55f10           686K  2.84T   686K  legacy
zfs/.system/syslog-7f4d67ae16c94917b949456bb9f364ad          3.92M  2.84T  3.92M  legacy
zfs/.system/webui                                             128K  2.84T   128K  legacy
zfs/.vm_cache                                                16.5G  2.84T   128K  /mnt/zfs/.vm_cache
zfs/.vm_cache/ubuntu-server-16.04-vnc                        16.5G  2.84T   128K  /mnt/zfs/.vm_cache/ubuntu-server-16.04-vnc
zfs/.vm_cache/ubuntu-server-16.04-vnc/os                     16.5G  2.84T   128K  /mnt/zfs/.vm_cache/ubuntu-server-16.04-vnc/os
zfs/.vm_cache/ubuntu-server-16.04-vnc/os/os                  16.5G  2.85T  3.79G  -
zfs/Data                                                     7.33T  2.84T  7.33T  /mnt/zfs/Data
zfs/iocage                                                   11.7G  2.84T  3.54M  /mnt/iocage
zfs/iocage/download                                           125M  2.84T   128K  /mnt/iocage/download
zfs/iocage/download/11.2-RELEASE                              125M  2.84T   125M  /mnt/iocage/download/11.2-RELEASE
zfs/iocage/images                                             128K  2.84T   128K  /mnt/iocage/images
zfs/iocage/jails                                             11.3G  2.84T   128K  /mnt/iocage/jails
zfs/iocage/jails/NZBGet                                       184M  2.84T   140K  /mnt/iocage/jails/NZBGet
zfs/iocage/jails/NZBGet/root                                  184M  2.84T   503M  /mnt/iocage/jails/NZBGet/root
zfs/iocage/jails/Plex                                        9.31G  2.84T   140K  /mnt/iocage/jails/Plex
zfs/iocage/jails/Plex/root                                   9.31G  2.84T  9.62G  /mnt/iocage/jails/Plex/root
zfs/iocage/jails/Radarr                                      1.02G  2.84T   140K  /mnt/iocage/jails/Radarr
zfs/iocage/jails/Radarr/root                                 1.02G  2.84T  1.34G  /mnt/iocage/jails/Radarr/root
zfs/iocage/jails/Sonarr                                       771M  2.84T   140K  /mnt/iocage/jails/Sonarr
zfs/iocage/jails/Sonarr/root                                  771M  2.84T  1.06G  /mnt/iocage/jails/Sonarr/root
zfs/iocage/log                                               2.87M  2.84T  2.87M  /mnt/iocage/log
zfs/iocage/releases                                           345M  2.84T   128K  /mnt/iocage/releases
zfs/iocage/releases/11.2-RELEASE                              345M  2.84T   128K  /mnt/iocage/releases/11.2-RELEASE
zfs/iocage/releases/11.2-RELEASE/root                         345M  2.84T   344M  /mnt/iocage/releases/11.2-RELEASE/root
zfs/iocage/templates                                          128K  2.84T   128K  /mnt/iocage/templates
zfs/jails                                                    14.5G  2.84T   186K  /mnt/zfs/jails
zfs/jails/.warden-template-pluginjail-11.0-x64                590M  2.84T   590M  /mnt/zfs/jails/.warden-template-pluginjail-11.0-x64
zfs/jails/.warden-template-standard-11.0-x64                 2.28G  2.84T  2.28G  /mnt/zfs/jails/.warden-template-standard-11.0-x64
zfs/jails/.warden-template-standard-11.0-x64-20171222153530  2.27G  2.84T  2.27G  /mnt/zfs/jails/.warden-template-standard-11.0-x64-20171222153530
zfs/jails/.warden-template-standard-11.0-x64-20171229152250  2.28G  2.84T  2.28G  /mnt/zfs/jails/.warden-template-standard-11.0-x64-20171229152250
zfs/jails/.warden-template-standard-11.0-x64-20180220203135  2.27G  2.84T  2.27G  /mnt/zfs/jails/.warden-template-standard-11.0-x64-20180220203135
zfs/jails/.warden-template-standard-11.0-x64-20180528182303  2.28G  2.84T  2.28G  /mnt/zfs/jails/.warden-template-standard-11.0-x64-20180528182303
zfs/jails/tools                                              2.56G  2.84T  3.68G  /mnt/zfs/jails/tools
 
Top