Personal tools
You are here: Home Issue tracker "zfs list" does not show snapshots!

#5 — "zfs list" does not show snapshots!

State Rejected
Version: 0.6.0
Area Functionality
Issue type Bug
Severity Medium
Submitted by P. Silva
Submitted on Dec 05, 2009
Responsible devzero
Target release:
Return to tracker
Last modified on Dec 05, 2009 by P. Silva
I am giving 0.6.0-433 a try and found this issue:

"zfs list" does not show the snapshots.
I need to use
zfs list -t snapshot
or
zfs list -t all

I have been using 0.5.x (last snapshot) and zfs list works fine.

Here is a session log example:

# zfs list
no datasets available
# cd
# cd tmp
# ls
V1 tp zfs-fuse-0.6.0-433snapshot.tar.bz2
# zpool create tank /root/tmp/V1
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 70,5K 984M 21K /tank
# zfs create -o compress=on tank/tmp
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 102K 984M 21K /tank
tank/tmp 21K 984M 21K /tank/tmp
# ls /
Armazem DOCS NFS SDA3 SDB3_tag USB2 bin cdrom dev erw hp64 lib64 mnt1 proc sys tmpm
BKA GentooPalma PEN SDB2 USB VMs boot crw dev-SAVE etc lib media mnt2 root tank usr
BKB MM PRIVATE SDB3 USB1 ZFS_POOL c d e home lib32 mnt opt sbin tmp var
# zfs set mountpoint=/tmpm tank/tmp
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 112K 984M 22K /tank
tank/tmp 21K 984M 21K /tmpm
# touch /tmpm/xxxx
# zfs snapshot tank/tmp@now
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
tank 112K 984M 21K /tank
tank/tmp 22K 984M 22K /tmpm
# zfs list -t all
NAME USED AVAIL REFER MOUNTPOINT
tank 112K 984M 21K /tank
tank/tmp 22K 984M 22K /tmpm
tank/tmp@now 0 - 22K -
Steps to reproduce:
Pls. look at the log I am sending.
Added by devzero on Dec 05, 2009 04:02 PM
Issue state: unconfirmedrejected
Responsible manager: (UNASSIGNED)devzero
thanks for reporting bugs.

unfortunately (or fortunately, depending on the position), this is not an issue/bug.

this behaviour change is by design. since zfs-fuse is derived from the standard zfs code, upstream changes also affect zfs-fuse.

have a look at http://hub.opensolaris.org/[…]/2008091003

this has also been exensively been discussed on the zfs mailing list. if you need a link, feel free to have a look there or ask if you can`t find the thread.
Added by Seth Heeren on Dec 05, 2009 06:03 PM
Or simply look here for the place (Jul 23) http://groups.google.com/[…]/a41e5990f25dde69
Added by P. Silva on Dec 05, 2009 06:09 PM
I am sorry.
I am going to change to this new version and update my "user's guide".
Thank you very much.