Re: [zfs-discuss] Root pool on boot drive lost on another machine becaus
Re: [zfs-discuss] Root pool on boot drive lost on another machine because of devids
Sat, 21 Aug 2010 19:06:40 PDT
> > I have a USB flash drive which boots up my
> > opensolaris install. What happens is that whenever
> > move to a different machine,
> > the root pool is lost because the devids don't
> > with what's in /etc/zfs/zpool.cache and the system
> > just can't find the rpool.
> See defect 4755 or defect 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