Skip to content

Instantly share code, notes, and snippets.

@tobert
Created January 23, 2015 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobert/d583ae84371b851314cf to your computer and use it in GitHub Desktop.
Save tobert/d583ae84371b851314cf to your computer and use it in GitHub Desktop.
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
@tobert
Copy link
Author

tobert commented Jan 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment