Friday, November 18, 2011

Solaris zfs pool command example

# zpool history
History for 'app':
2010-05-18.05:01:14 zpool create app c3t60060E80056F110000006F110000669Cd0
2010-05-18.05:04:04 zfs set mountpoint=/opt/app app
2010-05-18.05:05:36 zfs set mountpoint=/opt/app app
2010-05-18.05:09:55 zfs create app/iwstoreAPAC
2010-05-18.05:10:00 zfs create app/iwstoreEMEA
2010-05-18.05:10:07 zfs create app/iwstoreAmericas
2010-05-18.05:10:44 zfs set mountpoint=/opt/app/data/iw-store/APAC app/iwstoreAPAC
2010-05-18.05:10:59 zfs set mountpoint=/opt/app/data/iw-store/EMEA app/iwstoreEMEA
2010-05-18.05:11:19 zfs set mountpoint=/opt/app/data/iw-store/Americas app/iwstoreAmericas
2010-05-18.05:12:44 zfs set quota=50GB app/iwstoreAPAC
2010-05-18.05:12:55 zfs set quota=100GB app/iwstoreEMEA
2010-05-18.05:13:05 zfs set quota=200GB app/iwstoreAmericas
2010-05-18.05:14:02 zfs set quota=100GB app
2010-05-18.05:15:05 zfs destroy app/iwstoreAPAC
2010-05-18.05:15:11 zfs destroy app/iwstoreEMEA
2010-05-18.05:15:18 zfs destroy app/iwstoreAmericas
2010-05-18.05:15:53 zfs set quota=none app
2010-05-18.05:16:14 zfs create app/opt
2010-05-18.05:18:04 zfs destroy app/opt
2010-05-18.05:18:32 zfs create app/optapp
2010-05-18.05:18:49 zfs set mountpoint=/opt/app app/optapp
2010-05-18.05:19:25 zfs set mountpoint=/opt/app app/optapp
2010-05-18.05:20:02 zfs set mountpoint=none app
2010-05-18.05:20:09 zfs set mountpoint=/opt/app app/optapp
2010-05-18.05:22:31 zfs create app/optapp/iwstoreAPAC
2010-05-18.05:22:36 zfs create app/optapp/iwstoreEMEA
2010-05-18.05:22:42 zfs create app/optapp/iwstoreAmericas
2010-05-18.05:23:04 zfs set mountpoint=/opt/app/data/iw-store/APAC app/optapp/iwstoreAPAC
2010-05-18.05:23:16 zfs set mountpoint=/opt/app/data/iw-store/EMEA app/optapp/iwstoreEMEA
2010-05-18.05:23:34 zfs set mountpoint=/opt/app/data/iw-store/Americas app/optapp/iwstoreAmericas
2010-05-18.05:24:06 zfs set quota=50GB app/optapp/iwstoreAPAC
2010-05-18.05:24:18 zfs set quota=100GB app/optapp/iwstoreEMEA
2010-05-18.05:24:31 zfs set quota=200GB app/optapp/iwstoreAmericas
2010-05-18.05:24:56 zfs set quota=100GB app/optapp
2010-05-18.05:25:24 zfs set quota=200GB app/optapp/iwstoreAmericas
2010-05-18.05:26:05 zfs set quota=200GB app/optapp
2010-05-18.05:26:12 zfs set quota=200GB app/optapp/iwstoreAmericas
2010-05-18.05:29:52 zfs rename app/optapp/iwstoreAPAC app/iwstoreAPAC
2010-05-18.05:30:18 zfs rename app/optapp/iwstoreEMEA app/iwstoreEMEA
2010-05-18.05:30:42 zfs rename app/optapp/iwstoreAmericas app/iwstoreAmericas
2010-05-18.05:31:07 zfs set quota=100GB app/optapp
2010-08-02.16:11:29 zfs set quota=250G app/iwstoreEMEA
2010-08-30.14:34:21 zfs set quota=50gb app/iwstoreAmericas
2010-08-30.14:34:37 zfs set quota=100gb app/iwstoreAPAC
2011-10-27.12:35:41 zfs set sharenfs=rw=@153.88.177.59,root=@153.88.177.59 app/iwstoreAPAC
2011-10-27.12:47:57 zfs set sharenfs=rw=@153.88.177.0/24,root=@153.88.177.0/24 app/iwstoreAPAC
2011-10-27.12:54:22 zfs set sharenfs=rw=@153.88.177.0/24,root=@153.88.177.0/24 app/iwstoreAmericas
2011-10-27.12:54:37 zfs set sharenfs=rw=@153.88.177.0/24,root=@153.88.177.0/24 app/iwstoreEMEA

#