Skip to content

Instantly share code, notes, and snippets.

@coreyoconnor
Created March 11, 2018 01:45
Show Gist options
  • Save coreyoconnor/df20334f1a9d271378cd46cf9735d6bb to your computer and use it in GitHub Desktop.
Save coreyoconnor/df20334f1a9d271378cd46cf9735d6bb to your computer and use it in GitHub Desktop.

all drives are the same:

Disk /dev/sda: 894.3 GiB, 960197124096 bytes, 1875385008 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 190FF7CA-DCA8-4D1E-8761-74BB4FEFD7B4

Device       Start        End    Sectors   Size Type
/dev/sda1     2048       4095       2048     1M BIOS boot
/dev/sda2     4096    2101247    2097152     1G Linux RAID
/dev/sda3  2101248 1875384974 1873283727 893.3G Solaris root

The ZFS pool was created with:

zpool create -o ashift=13 rpool mirror /dev/disk/by-id/ata-ADATA_SP550_2G0420003186-part3 /dev/disk/by-id/ata-ADATA_SP550_2G3220055024-part3 \
                   mirror /dev/disk/by-id/ata-ADATA_SP550_2G0420001801-part3 /dev/disk/by-id/ata-ADATA_SP550_2G0420002543-part3 \
                   mirror /dev/disk/by-id/ata-ADATA_SP550_2G0420001635-part3 /dev/disk/by-id/ata-ADATA_SP550_2G3220055124-part3

Config is at:

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