On 08/13/2012 06:50 AM, Sašo Kiselkov wrote:
> See the -d option to zpool import. -- Saso 

Many thanks for this, it worked very nicely, though the first time I ran
it, it failed.  So what -d does is to substitute /dev.  In order for it
to work, you also have to make links to the drive devices in the /dev tree.
I did this in the directory where the file-members live (not knowing
exactly off the top of my head which types of devices/slices zfs wanted)
and then I was able to mount the pool, since the physical devices were

for i in d4 d5 d6 d7; do for dev in /dev/dsk/c22t0${i}*; do echo $dev;
ln -s $dev; done; done

After this, using the -d option worked beautifully.

Thanks for helping me recover my data. :)

zfs-discuss mailing list

Reply via email to