Re: [zfs-discuss] Root pool on boot drive lost on another machine because of devids

2010-08-21 Thread devsk
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

Re: [zfs-discuss] Root pool on boot drive lost on another machine because of devids

2010-08-21 Thread devsk
Actually, I figured it has nothing to do with /etc/zfs/zpool.cache. As part of removing that file within a LiveCD, I was basically importing and exporting the rpool. So, the only thing required is an equivalent of 'zpool import -f rpool zpool export rpool'. I wonder why this can't be

[zfs-discuss] Root pool on boot drive lost on another machine because of devids

2010-08-20 Thread devsk
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. Now, if I boot into a livecd, import

Re: [zfs-discuss] Root pool on boot drive lost on another machine because of devids

2010-08-20 Thread Ian Collins
On 08/21/10 12:53 PM, devsk wrote: 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.

Re: [zfs-discuss] Root pool on boot drive lost on another machine because of devids

2010-08-20 Thread devsk
Now, if I boot into a livecd, import that rpool, mount the FS temporarily and remove /etc/zfs/zpool.cache, and reboot, the USB drive boots fine. Exporting and re-importing the pool should have the same effect. but how do I do that on the boot pool? -- This message posted from