Sunday, December 7, 2014

ZFS Notes

   28  zpool create -f 2TB-RAIDZ raidz /dev/sdc /dev/sdh /dev/sdi
   29  zpool status datastore
   30  mkdir /media/zfs
   31  zfs create -o mountpoint=/media/zfs/ datastore/zfs
   32  zfs list

Scan for new Hard Disks

ls /sys/class/scsi_host/ | while read host ; do echo "- - -" > /sys/class/scsi_host/$host/scan ; done


zpool status -x datastore
  647  zpool status -v datastore
  667  zpool status -f datastore
  833  zpool health
  834  zpool list
  835  zpool history
 zfs get compressration
 zfs list

No comments: