Hi all, after installing OpenSolaris 2008.05 in VirtualBox I''ve created a ZFS Root Mirror by: "zfs attach rpool Disk B" and it works like a charm. Now I tried to restore the rpool from the worst Case Scenario: The Disk the System was installed to (Disk A) fails. I replaced the Disk A with another virtual Disk C and tried to restore the rpool, but my Problem is that I can''t boot. Does anybody know how to restore the rpool in this Scenario? Is it possible? If not, I think a ZFS Root Mirror doesn''t make sense!? Thanks for Help, Guido -- This message posted from opensolaris.org
On 13 Sep 2008, at 08:33, Guido <technokrat at techno.ms> wrote:> Hi all, > > after installing OpenSolaris 2008.05 in VirtualBox I''ve created a > ZFS Root Mirror by: > > "zfs attach rpool Disk B" > > and it works like a charm. Now I tried to restore the rpool from the > worst Case > Scenario: The Disk the System was installed to (Disk A) fails. > I replaced the Disk A with another virtual Disk C and tried to > restore the rpool, but > my Problem is that I can''t boot. > > Does anybody know how to restore the rpool in this Scenario? Is it > possible?Sounds like you''re running into 6668666> > If not, I think a ZFS Root Mirror doesn''t make sense!? > > Thanks for Help, > > Guido > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
my hunch is you need to boot from live cd (in virtual box case, iso) and installgrub -m /boot/grub/stage1 /boot/grub/stage2 $diskB_root_slice Ivan. Currently grub hasn''t been installed for disk attached to root mirror later.> Hi all, > > after installing OpenSolaris 2008.05 in VirtualBox > I''ve created a ZFS Root Mirror by: > > "zfs attach rpool Disk B" > > and it works like a charm. Now I tried to restore the > rpool from the worst Case > Scenario: The Disk the System was installed to (Disk > A) fails. > I replaced the Disk A with another virtual Disk C and > tried to restore the rpool, but > my Problem is that I can''t boot. > > Does anybody know how to restore the rpool in this > Scenario? Is it possible? > If not, I think a ZFS Root Mirror doesn''t make > sense!? > > Thanks for Help, > > Guido-- This message posted from opensolaris.org
Please follow the procedures for using ZFS for root (boot) mirroring. It is not as simple as attaching another disk :-(. http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf -- richard Guido wrote:> Hi all, > > after installing OpenSolaris 2008.05 in VirtualBox I''ve created a ZFS Root Mirror by: > > "zfs attach rpool Disk B" > > and it works like a charm. Now I tried to restore the rpool from the worst Case > Scenario: The Disk the System was installed to (Disk A) fails. > I replaced the Disk A with another virtual Disk C and tried to restore the rpool, but > my Problem is that I can''t boot. > > Does anybody know how to restore the rpool in this Scenario? Is it possible? > If not, I think a ZFS Root Mirror doesn''t make sense!? > > Thanks for Help, > > Guido > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >