I have a 240GB disk as rpool. I have installed Solaris 11.3 to a partition which is 110GB. Now I have another 130GB which is unallocated. I want to use that additional space as a temporary folder to be shared between Solaris and Linux. The additional space had no /dev/dsk/c2t4... entry so I used gparted to create an empty unformatted partition. Gparted shows the unformatted space to be: c2t4d0p3
Now I try to turn that unformatted space into a zfs slice. But it doesnt work. Anyone have a clue why? Is it because this slice is one the same disk as rpool? So I cannot rename the slice to OCZVERTEX3_240GB because the correct name is "rpool"?
# zpool create -n -o version=28 -O version=5 OCZVERTEX3_240GB c2t4d0p3
Unable to build pool from specified devices: cannot open '/dev/dsk/c2t4d0p3': I/O error
---------- Post updated 01-10-18 at 05:08 AM ---------- Previous update was 01-09-18 at 06:25 AM ----------
Ok, I did this to solve this problem.
I formatted the 130 GB space to NTFS from Windows, so the space was not unformatted anymore. Then I booted up Linux Mint 18.3 and installed ZFS on linux and created a zpool without problems.
Then I booted up Solaris 11.3 but "zpool import" said: the pool cannot be imported, recreate the pool. However, I see that "zpool import" reported "c2t4d0s2" instead of "c2t4d0p3". So I did a "zpool create tank c2t4d0s2" and now I can access the ZFS slice just fine. Problem solved. I wonder how I could have figured out the name of the zpool without creating a zfs slice in the first hand via Linux...
So anyone knows how I could find out the name of the zfs slice? The correct name was c2t4d0s2 but gparted reported c2t4d0p3...