> Do I have to mount the usb disk in the livecd and
> then execute "zpool import -f rpool" ?

No.  That is,  after zpool import the zfs filesystems
on the pool will be automatically mounted; what is
important is that the pool's label will be updated with
the stick's new physical device path.

> I tried it without mounting, because I cannot mount
> the usb yet, I can see it in dmesg and I can see
> scsa2usb in lshal | grep devfs but I cannot see any
> corresponding device in /dev/rdsk/
> 
> When I execute "pfexec zpool import -f rpool" I get
> "no such pool available"

Hmm, that is a problem.  Of cause the kernel should
be able to access the stick, otherwise we can't import
the zpool on it.

IIRC, the livecd environment doesn't have full gnome 
hal support (to save some space, so that the livecd
fits on a CD media, and into 512MB of system ram).

But a device in /dev/dsk/... should exist.

Try to run "devfsadm -v -i sd" to let the 
sd driver probe for disk devices.
Is the usb stick visible in "iostat -En" output ?

> Also, when I boot from the usb in the nas device, I
> just get "grub" and nothing more but that's probably
> because the pool from the usb disk is not imported?

No, when the physical device path in the zpool's label
points to the wrong device, the kernel will load but
will panic in zfs mountroot.

Apparently this system has some other problem.
Seems that grub is unable to load the
/rpool/boot/grub/menu.lst file from the usb stick
boot device.

> Thanks for any clues you can provide.
> 
> I try a reinstallation of opensolaris on the usb disk
> from the livecd while I'm on the nasdevice and this
> seems to detect the usb right away. Dunno why it
> cannot be mounted. Probably because the device system
> in opensolaris is very confusing compared with linux.

Does the stick boot on the nas device, when it was
installed when connected to the nas device?
-- 
This message posted from opensolaris.org

Reply via email to