If this isn't a root pool disk, then skip steps 3-4. Letting
the replacement disk resilver before removing the original
disk is good advice for any configuration.
cs
On 04/16/10 16:15, Cindy Swearingen wrote:
MstAsg,
Is this the root pool disk?
I'm not sure I'm following what you want to do but I think you want
to attach a disk to create a mirrored configuration, then detach
the original disk.
If this is a ZFS root pool that contains the Solaris OS, then
following these steps:
1. Attach disk-2.
# zpool attach rpool disk-1 disk-2
2. Use the zpool status command to make sure the disk has resilvered
completely.
3. Apply the bootblocks to disk-2:
# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/disk-2
4. Test that you can boot from disk-2.
5. Detach disk-1.
# zpool detach rpool disk-1
If this isn't the root pool, then you can skip steps 2-4.
Thanks,
Cindy
On 04/16/10 15:34, MstAsg wrote:
I have a question. I have a disk that solaris 10 & zfs is installed. I
wanted to add the other disks and replace this with the other.
(totally three others). If I do this, I add some other disks, would
the data be written immediately? Or only the new data is mirrored? Or
I should use snapshots to replace that?
Thanks!
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss