Disappearing files in FreeBSD 13.0-R2

parv/freebsd parv.0zero9+freebsd at gmail.com
Mon Mar 15 05:34:23 UTC 2021


On Sun, Mar 14, 2021 at 3:22 PM Waitman Gobble wrote:

> On Sun, Mar 14, 2021 at 9:20 PM Waitman Gobble wrote:
>
...

> > In single user mode the 'home' pool (second drive) doesn't show up in
> > status or list or anything, which is fine.
> > When I boot into single user mode / read only then /usr/home has 100gb
> > of backup. If I reboot to multi-user or mount read-write in single
> > user then the files in /usr/home disappear. (even if the second drive
> > isn't mounted). The 80 GB avail should be like 180GB I think, it's a
> > 250GB drive. The usage stats don't change if the files in /usr/home
> > appear or not.
> >
> > The home directory for the second drive is /home which isn't a link to
> > /usr/home or vice-versa AFAIK. in multi-user mode /home has my files,
> > /usr/home is empty. in single-user read only , /home is empty and
> > /usr/home has the backup files.
>
...

> > root at ayo:/home # ls /usr/home/
> > [nada]
>
...

ls(1) will not list ".zfs" directory of ZFS snapshots in there (without
setting
"snapdir" property to "visible"). What do you get for ...

  % cd /usr/home/.zfs && du -h .

... looks like /usr/home has only snapshots & no live file system.


  - parv


More information about the freebsd-questions mailing list