Where is ZFS snapshot in OpenSolaris snv_99

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日, 02:35 下午 CST #

Haha,thanks for the info.

发表于 Chengzu Zhou(Ricky) 在 2008年10月16日, 05:04 下午 CST #

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

Chengzu Zhou (Ricky), University Program Manager , OpenSolaris Community&Adoption Team

Search

Archives
« 四月 2014
星期日星期一星期二星期三星期四星期五星期六
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
今天