Discussion:
Blonde moment with zfs
(too old to reply)
Johan Helsingius
2018-05-02 09:30:34 UTC
Permalink
Can anyone explain this behavior:

# freebsd-version
11.1-RELEASE-p9

# mount | grep storage
zroot/home/storage on /usr/home/storage (zfs, local, noatime, nfsv4acls)
zroot/home/storage/backup on /usr/home/storage/backup (zfs, local,
noatime, nfsv4acls)

# df | grep storage
zroot/home/storage 21241268134 13341350980 7899917154 63%
/usr/home/storage
zroot/home/storage/backup 8187760652 287843498 7899917154 4%
/usr/home/storage/backup

# ls /usr/home/storage/backup
ls: /usr/home/storage/backup: No such file or directory

Julf
Jack L.
2018-05-02 22:56:47 UTC
Permalink
what does zfs list show?
Post by Johan Helsingius
# freebsd-version
11.1-RELEASE-p9
# mount | grep storage
zroot/home/storage on /usr/home/storage (zfs, local, noatime, nfsv4acls)
zroot/home/storage/backup on /usr/home/storage/backup (zfs, local,
noatime, nfsv4acls)
# df | grep storage
zroot/home/storage 21241268134 13341350980 7899917154 63%
/usr/home/storage
zroot/home/storage/backup 8187760652 287843498 7899917154 4%
/usr/home/storage/backup
# ls /usr/home/storage/backup
ls: /usr/home/storage/backup: No such file or directory
Julf
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
Ultima
2018-05-02 23:06:47 UTC
Permalink
This looks like a mount over mount problem. Unmounting
with zfs then zfs mount -a should fix the problem.

Best regards,
Richard Gallamore
Post by Jack L.
what does zfs list show?
Post by Johan Helsingius
# freebsd-version
11.1-RELEASE-p9
# mount | grep storage
zroot/home/storage on /usr/home/storage (zfs, local, noatime, nfsv4acls)
zroot/home/storage/backup on /usr/home/storage/backup (zfs, local,
noatime, nfsv4acls)
# df | grep storage
zroot/home/storage 21241268134 13341350980 7899917154 63%
/usr/home/storage
zroot/home/storage/backup 8187760652 287843498 7899917154 4%
/usr/home/storage/backup
# ls /usr/home/storage/backup
ls: /usr/home/storage/backup: No such file or directory
Julf
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-
Johan Helsingius
2018-05-03 06:04:27 UTC
Permalink
Hi, Richard, and thanks!
Post by Ultima
This looks like a mount over mount problem. Unmounting
with zfs then zfs mount -a should fix the problem.
Yes, that helped! Any idea of what caused the issue
in the first place?

Julf
Johan Helsingius
2018-05-03 06:00:20 UTC
Permalink
Post by Jack L.
what does zfs list show?
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 6.53T 3.68T 140K /zroot
zroot/ROOT 4.29G 3.68T 140K none
zroot/ROOT/default 4.29G 3.68T 4.29G /
zroot/home 6.35T 3.68T 128K /zroot/home
zroot/home/storage 6.35T 3.68T 6.21T /home/storage
zroot/home/storage/backup 137G 3.68T 137G /home/storage/backup
zroot/tmp 3.25G 3.68T 3.25G /tmp
zroot/usr 177G 3.68T 140K /usr
zroot/usr/home 176G 3.68T 176G /usr/home
zroot/usr/ports 1.26G 3.68T 1.26G /usr/ports
zroot/usr/src 140K 3.68T 140K /usr/src
zroot/var 1.33M 3.68T 140K /var
zroot/var/audit 140K 3.68T 140K /var/audit
zroot/var/crash 140K 3.68T 140K /var/crash
zroot/var/log 634K 3.68T 634K /var/log
zroot/var/mail 174K 3.68T 174K /var/mail
zroot/var/tmp 140K 3.68T 140K /var/tmp

Julf
Michael Schuster
2018-05-03 06:05:33 UTC
Permalink
long shot: "zfs get all | grep mount" for zroot/home/storage
and zroot/home/storage/backup ... maybe something interesting shows up ...
Post by Johan Helsingius
Post by Jack L.
what does zfs list show?
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 6.53T 3.68T 140K /zroot
zroot/ROOT 4.29G 3.68T 140K none
zroot/ROOT/default 4.29G 3.68T 4.29G /
zroot/home 6.35T 3.68T 128K /zroot/home
zroot/home/storage 6.35T 3.68T 6.21T /home/storage
zroot/home/storage/backup 137G 3.68T 137G /home/storage/backup
zroot/tmp 3.25G 3.68T 3.25G /tmp
zroot/usr 177G 3.68T 140K /usr
zroot/usr/home 176G 3.68T 176G /usr/home
zroot/usr/ports 1.26G 3.68T 1.26G /usr/ports
zroot/usr/src 140K 3.68T 140K /usr/src
zroot/var 1.33M 3.68T 140K /var
zroot/var/audit 140K 3.68T 140K /var/audit
zroot/var/crash 140K 3.68T 140K /var/crash
zroot/var/log 634K 3.68T 634K /var/log
zroot/var/mail 174K 3.68T 174K /var/mail
zroot/var/tmp 140K 3.68T 140K /var/tmp
Julf
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-
--
Michael Schuster
http://recursiveramblings.wordpress.com/
recursion, n: see 'recursion'
Loading...