开发者

On Solaris, how do you mount a second zfs system disk for diagnostics?

开发者 https://www.devze.com 2022-12-24 07:33 出处:网络
I\'ve got two hard disks in my computer, and have installed Solaris 10u8 on the first and Opensolaris 2010.3 (dev onnv_134) on the second.Both systems uses ZFS and were independently created with a zp

I've got two hard disks in my computer, and have installed Solaris 10u8 on the first and Opensolaris 2010.3 (dev onnv_134) on the second. Both systems uses ZFS and were independently created with a zpool name of 'rpool'.

While running Solaris 10u8 on the first disk, how do I mount the second ZFS hard disk (a开发者_JAVA技巧t /dev/dsk/c1d1s0) on an arbitrary mount point (like /a) for diagnostics?


If you have upgraded your OpenSolaris zpool to a newer version, for example to take advantage of deduplication, you won't be able to do it.

If there is no version issue, you can use that command:

zpool import -f -R /a 3347820847789110672 oldrpool

Replace 3347820847789110672 (pool id) by the one displayed with "zpool import" with no other options.

If you need to mount the pool for diagnostic purposes, better to boot on a CD that contains the latest OpenSolaris distribution.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号