hi all Try to learn how UFS root to ZFS root liveUG work. I download the vbox image of s10u8, it come up as UFS root. add a new disks (16GB) create zpool rpool run lucreate -n zfsroot -p rpool run luactivate zfsroot run lustatus it do show zfsroot will be active in next boot init 6 but it come up with UFS root, lustatus show ufsroot active zpool rpool is mounted but not used by boot Is this a known bug? I donot have access to sunsolve now regards -------------- next part -------------- A non-text attachment was scrubbed... Name: laotsao.vcf Type: text/x-vcard Size: 221 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100828/53f6a943/attachment.vcf>
Casper.Dik at Sun.COM
2010-Aug-28 11:47 UTC
[zfs-discuss] ufs root to zfs root liveupgrade?
> hi all >Try to learn how UFS root to ZFS root liveUG work. > >I download the vbox image of s10u8, it come up as UFS root. >add a new disks (16GB) >create zpool rpool >run lucreate -n zfsroot -p rpool >run luactivate zfsroot >run lustatus it do show zfsroot will be active in next boot >init 6 >but it come up with UFS root, >lustatus show ufsroot active >zpool rpool is mounted but not used by bootYou''ll need to boot from a different disk; I don''t think that the OS can change the boot disk (it can on SPARC but it can''t on x86) Casper
thx try to detach the old ufs and boot from the new zfsroot it fail I reattach the ufsroot disk and find out that in the rpool/boot/grub/menu.1st findroot (rootfs0,0,a) and not findroot (pool_rpool,0,a) not sure what is the correct findroot here even with this change to findroot and try to boot it fail with cannot find file regards On 8/28/2010 7:47 AM, Casper.Dik at Sun.COM wrote:> >> hi all >> Try to learn how UFS root to ZFS root liveUG work. >> >> I download the vbox image of s10u8, it come up as UFS root. >> add a new disks (16GB) >> create zpool rpool >> run lucreate -n zfsroot -p rpool >> run luactivate zfsroot >> run lustatus it do show zfsroot will be active in next boot >> init 6 >> but it come up with UFS root, >> lustatus show ufsroot active >> zpool rpool is mounted but not used by boot > > You''ll need to boot from a different disk; I don''t think that the > OS can change the boot disk (it can on SPARC but it can''t on x86) > > Casper >-------------- next part -------------- A non-text attachment was scrubbed... Name: laotsao.vcf Type: text/x-vcard Size: 221 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100828/e5115716/attachment.vcf>
On 08/28/10 11:39 PM, LaoTsao ?? wrote:> hi all > Try to learn how UFS root to ZFS root liveUG work. > > I download the vbox image of s10u8, it come up as UFS root. > add a new disks (16GB) > create zpool rpool > run lucreate -n zfsroot -p rpool > run luactivate zfsroot > run lustatus it do show zfsroot will be active in next boot > init 6 > but it come up with UFS root, > lustatus show ufsroot active > zpool rpool is mounted but not used by boot >As Casper said, you have to change boot drive. The easiest way to migrate to ZFS is to use a spare slice on the original drive for the new pool You can then mirror that off to another drive. -- Ian.
hi My user error it is fine now I may have use* reboot* and not init 6 So far I try the following: 1)with two hdd, ufsroot liveug to zfsroot work 2)with one hdd but different slice ufsroot liveug to zfsroot work grub does provide the choice of ufsroot and zfsroot *init 6* seems to be very important to update the menu.1st before reboot regards On 8/28/2010 5:17 PM, Ian Collins wrote:> On 08/28/10 11:39 PM, LaoTsao ?? wrote: >> hi all >> Try to learn how UFS root to ZFS root liveUG work. >> >> I download the vbox image of s10u8, it come up as UFS root. >> add a new disks (16GB) >> create zpool rpool >> run lucreate -n zfsroot -p rpool >> run luactivate zfsroot >> run lustatus it do show zfsroot will be active in next boot >> init 6 >> but it come up with UFS root, >> lustatus show ufsroot active >> zpool rpool is mounted but not used by boot >> > As Casper said, you have to change boot drive. > > The easiest way to migrate to ZFS is to use a spare slice on the > original drive for the new pool You can then mirror that off to > another drive. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100829/b8062ba3/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: laotsao.vcf Type: text/x-vcard Size: 221 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100829/b8062ba3/attachment.vcf>