zero to 4 terabytes in 60 seconds with ZFS

zero to 4 terabytes in 60 seconds with ZFS

Note: 5300 storage array with 14 400G drives. Using raidz2 (raid 6 aka double parity)

root@foobar # iostat -En |grep c7|awk ‘{print $1}’
c7t220D000A330680AFd0
c7t220D000A330675DBd0
c7t220D000A33068F42d0
c7t220D000A33068D45d0
c7t220D000A33068D49d0
c7t220D000A330688F6d0
c7t220D000A33068D71d0
c7t220D000A3306956Ad0
c7t220D000A33066E31d0
c7t220D000A33068E53d0
c7t220D000A33068D75d0
c7t220D000A330680A4d0
c7t220D000A33069574d0
c7t220D000A33066C81d0

zpool create -f mypool raidz2 c7t220D000A330680AFd0 c7t220D000A330675DBd0 \
c7t220D000A33068F42d0 c7t220D000A33068D45d0 c7t220D000A33068D49d0 \
c7t220D000A330688F6d0 c7t220D000A33068D71d0 c7t220D000A3306956Ad0 \
c7t220D000A33066E31d0 c7t220D000A33068E53d0 c7t220D000A33068D75d0 \
c7t220D000A330680A4d0 spare c7t220D000A33069574d0 c7t220D000A33066C81d0

root@foobar # zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
mypool 4.34T 192K 4.34T 0% ONLINE –

root@foobar # zfs list
NAME USED AVAIL REFER MOUNTPOINT
mypool 152K 3.54T 60.9K /mypool

root@foobar # zpool status
pool: mypool
state: ONLINE
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
mypool ONLINE 0 0 0
raidz2 ONLINE 0 0 0
c7t220D000A330680AFd0 ONLINE 0 0 0
c7t220D000A330675DBd0 ONLINE 0 0 0
c7t220D000A33068F42d0 ONLINE 0 0 0
c7t220D000A33068D45d0 ONLINE 0 0 0
c7t220D000A33068D49d0 ONLINE 0 0 0
c7t220D000A330688F6d0 ONLINE 0 0 0
c7t220D000A33068D71d0 ONLINE 0 0 0
c7t220D000A3306956Ad0 ONLINE 0 0 0
c7t220D000A33066E31d0 ONLINE 0 0 0
c7t220D000A33068E53d0 ONLINE 0 0 0
c7t220D000A33068D75d0 ONLINE 0 0 0
c7t220D000A330680A4d0 ONLINE 0 0 0
spares
c7t220D000A33069574d0 AVAIL
c7t220D000A33066C81d0 AVAIL

errors: No known data errors

root@foobar # df -h
Filesystem size used avail capacity Mounted on
/dev/dsk/c3t0d0s0 15G 7.7G 7.0G 53% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 17G 716K 17G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
/usr/lib/libc/libc_hwcap2.so.1
15G 7.7G 7.0G 53% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 17G 36K 17G 1% /tmp
swap 17G 24K 17G 1% /var/run
mypool 3.5T 61K 3.5T 1% /mypool

root@foobar # zfs set sharenfs=on mypool

root@foobar # cat /etc/dfs/sharetab
/mypool – n

Leave a Reply

Your email address will not be published. Required fields are marked *