Solaris ZFS
id : fixdxg9apg
category : computer
blog : unix
created : 09/01/10 - 09:00:13

Pools
  • List pools :
# zpool list

  • Pool status :
# zpool status <pool>

  • Create pool :
# zpool create [mirror] <diskX> <diskY>

Filesystem
  • List file system
# zfs list

  • Create new filesystem :
# zfs create <pool>/<fs>

  • Set mountpoint on a filesystem :
# zfs set mountpoint=<mountpoint> <pool>/...

  • Extend filesystem
# zfs set quota=<new_total_size> <pool>/...

  • Get quota :
# zfs get quota