Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
brak's zfs setup
atobey@brak ~ $ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 250069680 sectors, 119.2 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): D6EFAC7F-9077-48E2-9CAC-A92A3FFE1634
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 250069646
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number Start (sector) End (sector) Size Code Name
1 2048 2099199 1024.0 MiB EF00 EFI System
2 2099200 85985279 40.0 GiB 8300 root
3 85985280 153094143 32.0 GiB 8200 swap
4 153094144 236980223 40.0 GiB BF01 ZFS L2ARC (tank)
5 236980224 250069646 6.2 GiB BF01 ZFS ZIL (tank)
atobey@brak ~ $ sudo sg_inq /dev/sda |grep '^ [A-Z]'
Vendor identification: ATA
Product identification: Samsung SSD 840
Product revision level: 5B0Q
Unit serial number: S1ANNSADB05219A
atobey@brak ~ $ sudo sg_inq /dev/sde |grep '^ [A-Z]'
Vendor identification: ATA
Product identification: WDC WD5002AALX-0
Product revision level: 1H15
Unit serial number: WD-WCAYUS194979
atobey@brak ~ $ sudo zpool status tank
pool: tank
state: ONLINE
scan: scrub repaired 0 in 1h30m with 0 errors on Tue Dec 16 15:40:41 2014
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
sde3 ONLINE 0 0 0
sdf3 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
sdc3 ONLINE 0 0 0
sdd3 ONLINE 0 0 0
logs
sda5 ONLINE 0 0 0
cache
wwn-0x50025385a012e8d5-part4 ONLINE 0 0 0
errors: No known data errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment