Hi Steven,
Try doing 'zfs list -t all'. This is a change that went in late last year
to list only datasets unless snapshots were explicitly requested.
On Fri, 6 Mar 2009, Steven Sim wrote:
Gurus;
I am using OpenSolaris 2008.11 snv_101b_rc2 X86
Prior to this I was using SXCE built 91 (or thereabout)
On build 91, after the command
#zfs snapshot -r myplace
I could easily see the snapshot using ZFS list.
But after install OpenSolaris 2008.11 snv 101b, I once again created a
snapshot using zfs snapshot.
r...@sunlight:/root# zfs snapshot -r mypl...@first
r...@sunlight:/root# echo $?
0
But subsequent attempts to use zfs list simply does not list the snapshot,
only the original volumes and file systems.
r...@sunlight:/root# zfs list -r myplace
NAME USED AVAIL REFER MOUNTPOINT
myplace 1.06T 1.61T 28.4K /myplace
myplace/Docs 3.23G 1.61T 3.23G /export/home/admin/Docs
myplace/fedora 26.9K 1.61T 26.9K /export/home/admin/vbox/fedora
myplace/home 17.9G 1.61T 17.9G /export/home
myplace/projects 5.41G 1.61T 5.41G /export/home/admin/projects
myplace/solaris 9.30G 1.61T 9.30G /export/home/admin/vbox/solaris
myplace/solzone 1.58G 18.4G 1.58G /myplace/solzone
myplace/windoze 26.9K 1.61T 26.9K /export/home/admin/vbox/windoze
I can easily remove the snapshot using "#zfs destroy -r mypl...@first" and
this proves the snapshot was successfully created (besides the fact that the
zfs snapshot command returned a zero exit code).
r...@sunlight:/root#
r...@sunlight:/root# zfs destroy -r mypl...@first
r...@sunlight:/root# echo $?
0
Has there been a change in the interface?
Warmest Regards
Steven Sim
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Regards,
markm
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss