Hi Beau,
In this case, you would use /dev/dsk instead of /dev/rdsk,
but ZFS does not require them. Try this instead:
# zpool attach -f rpool c8t0d0s0 c8t1d0s0
Thanks,
Cindy
On 07/13/10 09:27, Beau J. Bechdol wrote:
So some progress! hers is what I get
r...@opensolaris:~# prtvtoc /dev/rdsk/c8t0d0s2 | fmthard -s -
/dev/rdsk/c8t1d0s2
fmthard: New volume table of contents now in place.
now this:
r...@opensolaris:~# zpool attach -f rpool /dev/rdsk/c8t0d0s0
/dev/rdsk/c8t1d0s0
cannot use '/dev/rdsk/c8t1d0s0': must be a block device or regular file
Im stuck now...
-Beau
On Mon, Jul 12, 2010 at 5:39 PM, Leslie H Wood <leslie.w...@oracle.com
<mailto:leslie.w...@oracle.com>> wrote:
Since the rpool can not use EFI labels you need to format the
mirror disk so it is the same as your rpool disk.
Example and your disk target will/may differ.
prtvtoc /dev/rdsk/c7t0d0s2 | fmthard -s - /dev/rdsk/c7t1d0s2
(s2 is the whole disk)
Then just attach the disk to be mirrored
/usr/sbin/zpool attach -f rpool /dev/rdsk/c7t0d0s0 /dev/rdsk/c7t1d0s0
If you want to be able to boot from the mirror as a CYA then run
install grub
installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c7t1d0s0
The following will show the progress of the resilvering
zpool status
john wrote, On 07/12/10 15:06:
Hello all. I am new...very new to opensolaris and I am having an
issue and have no idea what is going wrong. So I have 5 drives
in my machine. all 500gb. I installed open solaris on the first
drive and rebooted. . Now what I want to do is ad a second drive
so they are mirrored. How does one do this!!! I am getting no
where and need some help.
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org