Tom Georgoulias wrote:
> I need help again, this time with adding another disk to the rpool zpool
> that was created when I installed opensolaris so I can have a mirrored
> pool. Server is an x4500 and running opensolaris snv_99, I'm still new
> to opensolaris and zfs so it's probably my lack of knowledge that is
> causing this confusion.
>
> I installed Opensolaris 2008.05 from the live cd, then upgraded to
> snv_99. I told it use an entire disk in the install and this is what I
> ended up with after it was all done:
>
> [EMAIL PROTECTED]:~# zpool status
> pool: rpool
> state: ONLINE
> scrub: none requested
> config:
>
> NAME STATE READ WRITE CKSUM
> rpool ONLINE 0 0 0
> c9t4d0s0 ONLINE 0 0 0
>
> errors: No known data errors
>
> I used cfgadm to get a list of all the disks in the server, then this sheet
> http://blogs.sun.com/timthomas/resource/x4500_Diskplanner.pdf
> to figure out which disk should be used for the mirror. My server had
> disks c4, c5, c8, c9, c10, c11, so I figured the corresponding disk for
> this rpool mirror should be c9t0d0s0.
>
> Page 105 in this manual seemed to have an example of what I needed to do
> http://opensolaris.org/os/community/zfs/docs/zfsadmin.pdf
> So I tried following it (although my rpool references a specific slice,
> where the manual doesn't mention the slice)
>
> [EMAIL PROTECTED]:~# zpool attach rpool c9t0d0 c9t4d0
> invalid vdev specification
> use '-f' to override the following errors:
> /dev/dsk/c9t4d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
> /dev/dsk/c9t4d0s1 is currently used by swap. Please see swap(1M).
>
> Is it safe to use the -f option in this case? If I try adding the
> slice, I get a somewhat similar error except no mention of swap. That
> makes sense I guess, since I didn't add a s1 to the pool in that command.
>
> [EMAIL PROTECTED]:~# zpool attach rpool c9t0d0s0 c9t4d0s0
> invalid vdev specification
> use '-f' to override the following errors:
> /dev/dsk/c9t4d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
>
You really meant,
zpool attach rpool c9t4d0s0 c9t0d0s0
the syntax is:
zpool attach poolname existing-device new-device
-- richard
> Any help or tips are appreciated, I'm eager to get to the next step with
> this x4500 and create a big raidz2 filesystem to test out.
>
> Thanks,
> Tom
> _______________________________________________
> indiana-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss