I decided to play a little bit with ZFS by plugging three USB sticks into a USB 3.0 passive hub and playing with them. One is a 16GB stick, the second is 32GB and the third is a 64GB stick. I used PartitionManager to condition the 32 and 64GB sticks into 14.46GB partitions, to match the size of the 16GB stick.
Then I identified the /dev/disk/by-id/ part numbers of each partition and then issued the following commands.
Like the Btrfs devs, the ZFS devs do not recommend using /dev/sdXn for drive assignments.
Now, I'm going to play with them ... tomorrow.
Then I identified the /dev/disk/by-id/ part numbers of each partition and then issued the following commands.
Code:
root@jerry-Aspire-V3-771:~# [FONT=courier new][B]zpool create -f usb64 raidz /dev/disk/by-id/usb-SanDisk_Cruzer_Dial_4C530001320419100424-0:0-part1 /dev/disk/by-id/usb-SanDisk_Cruzer_Dial_4C530001320419100424-0:0-part2 /dev/disk/by-id/usb-SanDisk_Cruzer_Dial_4C530001320419100424-0:0-part3 /dev/disk/by-id/usb-SanDisk_Cruzer_Dial_4C530001320419100424-0:0-part4[/B][/FONT]
root@jerry-Aspire-V3-771:~# [FONT=courier new][B]zpool create -f usb16 /dev/disk/by-id/usb-_USB_DISK_3.0_070C67D3B9B63686-0:0-part1
[/B]
root@jerry-Aspire-V3-771:~# [B]zpool create -f usb32 /dev/disk/by-id/usb-SanDisk_Cruzer_4C530001140217123443-0:0-part1 /dev/disk/by-id/usb-SanDisk_Cruzer_4C530001140217123443-0:0-part2[/B][/FONT]
root@jerry-Aspire-V3-771:~#[FONT=courier new][B] zpool status[/B][/FONT]
pool: usb16
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
usb16 ONLINE 0 0 0
usb-_USB_DISK_3.0_070C67D3B9B63686-0:0-part1 ONLINE 0 0 0
errors: No known data errors
pool: usb32
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
usb32 ONLINE 0 0 0
usb-SanDisk_Cruzer_4C530001140217123443-0:0-part1 ONLINE 0 0 0
usb-SanDisk_Cruzer_4C530001140217123443-0:0-part2 ONLINE 0 0 0
errors: No known data errors
pool: usb64
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
usb64 ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
usb-SanDisk_Cruzer_Dial_4C530001320419100424-0:0-part1 ONLINE 0 0 0
usb-SanDisk_Cruzer_Dial_4C530001320419100424-0:0-part2 ONLINE 0 0 0
usb-SanDisk_Cruzer_Dial_4C530001320419100424-0:0-part3 ONLINE 0 0 0
usb-SanDisk_Cruzer_Dial_4C530001320419100424-0:0-part4 ONLINE 0 0 0
errors: No known data errors
Now, I'm going to play with them ... tomorrow.






Comment