Pages

Tuesday, April 21, 2015

Zpool and Zfs file system creation simplified

If we have 2 disks with free space c2t4d0 and c2t5d0 and we need maximum space without protection

then first create pool

zpool create -f pool c2t4d0 c2t5d0







Create mount point named abc with 75gb space

zfs create -o mountpoint=/abc -o compression=on pool/abc
zfs set quota=75g pool/abc
zfs set atime=off pool/abc

No comments:

Post a Comment