How do I display zfs storage pool history in solaris?
-
# zpool history History for 'rpool': 2009-08-03.18:49:58 zpool create -f -o failmode=continue -R /a -m legacy -o cachefile=/tmp/root/etc/zfs/zpool.cache rpool c0d0s0 2009-08-03.18:49:58 zfs set canmount=noauto rpool 2009-08-03.18:49:59 zfs set mountpoint=/rpool rpool 2009-08-03.18:49:59 zfs create -o mountpoint=legacy rpool/ROOT 2009-08-03.18:49:59 zfs create -b 4096 -V 512m rpool/swap 2009-08-03.18:49:59 zfs create -b 131072 -V 512m rpool/dump [output truncated]
The -l switch will display addition information such as username, hostname:
# zpool history -l test_pool History for 'test_pool': 2010-06-02.12:22:12 zpool create test_pool c2t2d0 [user root on jupiter:global] 2010-06-02.12:22:49 zfs create test_pool/fs1 [user root on jupiter:global] 2010-06-02.12:22:52 zfs create test_pool/fs2 [user root on jupiter:global] 2010-06-02.15:13:59 zpool set delegation=off test_pool [user root on jupiter:global] 2010-06-02.15:15:43 zpool set delegation=on test_pool [user root on jupiter:global]
© Lightnetics 2024