ZFS ---------- Create a pool with 3 mirror disks #zpool create -f local mirror c0t1d0 c1t9d0 #zpool add local mirror c0t2d0 c1t10d0 #zpool add local mirror c0t3d0 c1t11d0 #zpool add local mirror c0t4d0 c1t12d0 create a zfs file system #zfs create local/dwcons find out the zpool status #zpool status Destroy zpool # zpool destroy poolname Destroy zfs # zfs destory name Display lis of zfs #zfs list ; zpool list Rename zfs file system # zfs rename tank/home/kustarz tank/home/kustarz_old Relocate zfs file system # zfs rename tank/home/maybee tank/ws/maybee Explicity set the mountpoint property # zfs set mountpoint=/mnt pool/filesystem Verify propery of the zfs # zfs get all pool/filesystem or to verify one properfy ex: zfs get mountpoint /pool/filesystem set mountpint legacy # zfs set mountpoint=legecy tank/home/eschrock # mount -F zfs tank/home/eschrock /mnt add the file system entry in /etc/vfstab Ex: radg/oradata00 - /local/dwpoc/oradata00 zfs - no - share zfs # zfs share tank/home/tabriz (share tank/home/tabriz) # zfs share -a (share all) unshare zfs # zfs unshare -a (unshare all) # zfs unshare tank/home/tabriz (unshare tank/home/tabriz) set NFS share # zfs set sharenfs=on tank/home # zfs set sharenfs=ro tank/home set Reservation # zfs set reservation=4G tank/home set quota # zfs set quota=4G tank/home To import # zpool import #zpool import pool1 To unmount a file system # zfs unmount pool1/testfs List physical volumes in a pool # zpool iostat -v or zpool status -v pool1