On 08/13/2012 02:01 PM, Ray Arachelian wrote: > 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 c22t0d4-d7: > > 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. :) >
No problem. Btw, the substitution for /dev/dsk is documented in the manpage. But glad it worked. Enjoy ;-) Cheers, -- Saso _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss