OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » zfs » discuss

Thread: Re: [zfs-discuss] How do I "mirror" zfs rpool, x4500?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 1 - Last Post: Mar 17, 2009 5:38 PM by: bda
Guest
Re: [zfs-discuss] How do I "mirror" zfs rpool, x4500?
Posted: Mar 17, 2009 1:37 PM

  Click to reply to this thread Reply


On 17 Mar, 2009, at 16.21, Bryan Allen wrote:

Then mirror the VTOC from the first (zfsroot) disk to the second:

# prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2
# zpool attach -f rpool c1t0d0s0 c1t1d0s0
# zpool status -v

And then you'll still need to run installgrub to put grub on the mirror.  That's not yet automatically done.


Regards,
markm


_______________________________________________ zfs-discuss mailing list zfs-discuss at opensolaris dot org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


bda

Posts: 61
From: US

Registered: 3/27/07
Re: [zfs-discuss] How do I "mirror" zfs rpool, x4500?
Posted: Mar 17, 2009 1:41 PM   in response to: Guest

  Click to reply to this thread Reply

+------------------------------------------------------------------------------< br />| On 2009-03-17 16:37:25, Mark J Musante wrote:
|
| >Then mirror the VTOC from the first (zfsroot) disk to the second:
| >
| ># prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2
| ># zpool attach -f rpool c1t0d0s0 c1t1d0s0
| ># zpool status -v
|
| And then you'll still need to run installgrub to put grub on the
| mirror. That's not yet automatically done.

Ah, yes, thanks.

installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1t1d0s0

Knew I forgot something. Got distracted by local boom.
--
bda
Cyberpunk is dead. Long live cyberpunk.
http://mirrorshades.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss





Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
Copyright © 1995-2005 Sun Microsystems, Inc.