> > I have a USB flash drive which boots up my > > opensolaris install. What happens is that whenever > I > > move to a different machine, > > the root pool is lost because the devids don't > match > > with what's in /etc/zfs/zpool.cache and the system > > just can't find the rpool. > > See defect 4755 or defect 5484 > > https://defect.opensolaris.org/bz/show_bug.cgi?id=4755 > > https://defect.opensolaris.org/bz/show_bug.cgi?id=5484 > > > When I last experimented with booting Solaris > from flash memory sticks I modified scsa2usb > so that it would construct a devid for the usb > flash memory stick,
Isn't it as simple as 'read what pool the user specified in findroot/bootfs commands, zpool export <pool> and zpool import -f <pool>' and move on? If it wasn't, why would removing /etc/zfs/zpool.cache using a ISO based livecd make it work every time? I can change controller for this drive freely as long as I want as long as there is no valid /etc/zfs/zpool.cache file present. BTW: in my case, its not strictly treated as removable flash drive because I am accessing the USB flash drive as a physical drive in virtualbox. So, depending on which SCSI port I add it to, it may or may not boot. -- This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss