OpenSolaris Community&Adoption The courage to innovate

星期四 十月 16, 2008

When I upgrade my OpenSolaris(Actually,I reinstall it) to svn_99,I found that the command : " zfs list" doens't show the snapshots .
----------------------------------------------------------
root@opensolaris:~# zfs list
NAME                      USED  AVAIL  REFER  MOUNTPOINT
rpool                    12.2G  49.3G  46.5K  /rpool
rpool/ROOT               10.2G  49.3G    18K  legacy
rpool/ROOT/opensolaris   10.2G  49.3G  9.74G  /
rpool/dump               1022M  49.3G  1022M  -
rpool/export              505K  49.3G    19K  /export
rpool/export/home         486K  49.3G    19K  /export/home
rpool/export/home/ricky   467K  49.3G   467K  /export/home/ricky
rpool/swap               1022M  50.3G    16K  -
-------------------------------------------------------------
You should use this one instead.
----------------------------------------------
root@opensolaris:~# zfs list -t snapshot
NAME                                     USED  AVAIL  REFER  MOUNTPOINT
rpool/ROOT/opensolaris@install           121M      -  2.74G  -
rpool/ROOT/opensolaris@08-10-16install   375M      -  5.58G  -
root@opensolaris:~#
----------------------------------------------------------
Enjoy,OpenSolaris sometime supprises you a little bit

评论:

Actually, all the "surprises" are well documented. The ZFS snapshot exclusion from 'zfs list' output was approved as PSARC/2008/469: http://opensolaris.org/os/community/arc/caselog/2008/469/onepager/

The new default behavior of not listing the snapshots can be changed by setting the "listsnaps" property for given pool.

发表于 Vladimir Kotal 在 2008年10月16日, 09:35 下午 CST #

Haha,thanks for the info.

发表于 Chengzu Zhou(Ricky) 在 2008年10月17日, 12:04 上午 CST #

发表一条评论:
  • HTML语法: 禁用