I'm trying to create zpools on CentOS 7 (3.10.0-327.10.1), and the zpool command seems to hate "wwn-0x" IDs.
"zpool status" is clear - there are no zpools currently configured on the machine. I have drives:
lrwxrwxrwx. 1 root root 9 Mar 11 14:30 wwn-0x5000cca2440ba0a0 -> ../../sds
lrwxrwxrwx. 1 root root 9 Mar 11 14:30 wwn-0x5000cca2440ba1dc -> ../../sdu
lrwxrwxrwx. 1 root root 9 Mar 11 14:30 wwn-0x5000cca2440992cc -> ../../sdl
If I type:
zpool create -f asdf /dev/sds /dev/sdu /dev/sdl
It works great.
If I use the WWN IDs, however, I get errors, depending on what I send it:
zpool create -f asdf wwn-0x5000cca2440ba0a0 wwn-0x5000cca2440ba1dc wwn-0x5000cca2440992cc
Yields:
cannot create 'asdf': no such pool or dataset
And typing (adding the keyword "mirror"):
zpool create -f asdf mirror wwn-0x5000cca2440ba0a0 wwn-0x5000cca2440ba1dc wwn-0x5000cca2440992cc
Yields:
cannot create 'asdf': one or more devices is currently unavailable
Specifying the full path, "/dev/disk/by-id/" + WWN, yields the same results.
This works great on Ubuntu. What's going on here? Does anyone know? Is it a bug in ZOL?