Thanks to: Evan Gold Tom Lieuallen ============================================================================= ====== Tom's notes: accessing rootpool via single user network boot You may have need to access a zfs pool by booting into single user off the network. you can do the standard 'zfs import' to just look to see what pools are available for import. One problem is that the / file system is read-only when you boot off the net. So, you can do something like this: mkdir /tmp/z zfs import -R /tmp/z rootpool Not all of the zfs file systems may mount. I had the problem where it mounted /a1 and /private (zfs file systems), but failed to mount rootpool/ROOT/solaris10_6 (/), which is what I really wanted. I had to unmount the zfs file systems that were mounted, empty out /tmp/z (of the mount points it created), then specifically mount the file systems I wanted. zfs unmount /tmp/z/private zfs unmount /tmp/z/a1 rmdir /tmp/z/a1 /tmp/z/private zfs mount rootpool/ROOT/solaris10_6 zfs mount rootpool/ROOT/solaris10_6/var (Yes, it did help, thanks.) ============================================================================= ====== And a friend sent this: #zpool import -f rpool (or your pool name) #zfs get mountpoint in my case this shows: # zfs get mountpoint NAME PROPERTY VALUE SOURCE rpool mountpoint /rpool default rpool/ROOT mountpoint /rpool/ROOT default rpool/ROOT/s10u6zfs mountpoint / local rpool/dump mountpoint - - rpool/swap mountpoint - then #zfs set mountpoint=legacy rpool/ROOT/s10u6zfs then #mount -F zfs rpool/ROOT/s10u6zfs /mnt <do stuff> #umount /mnt #zpool export rpool (Just another view of the same terrain, more or less...) _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Mon Feb 9 09:31:16 2009
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:13 EST