ZFS on Centos - "No such pool or dataset" and "devices is currently unavailable"
"one or more devices is currently unavailable"
That's a misleading message.
What does your fdisk -l
show?
You can use full paths if you want, but I suspect your syntax is wrong...
Also, the easiest approach is to run the command from within the /dev/disk/by-id/
directory.
Make sense?
This is what I would build a ZFS mirrors/striped set with:
zpool create vol0 -o ashift=13 -o autoexpand=on -o autoreplace=on -f mirror wwn-0x5001e8200262d41c wwn-0x5001e8200262cf48 mirror wwn-0x5001e8200262cbdc wwn-0x5001e82002758f94 mirror wwn-0x5001e8200262cf18 wwn-0x5001e82002759358 mirror wwn-0x5001e8200262d0c4 wwn-0x5001e820027591bc
So your command line should look like:
zpool create asdf -f mirror wwn-0x5000cca2440ba0a0 wwn-0x5000cca2440ba1dc mirror wwn-0x5000cca2440992cc