thanks Joseph!
labels are fine I think. I found this http://ipv5.wordpress.com/
works well.

here is the summary:
>> pfexec prtvtoc /dev/rdsk/c8t0d0s2 | fmthard -s - /dev/rdsk/c8t2d0s2
fmthard:  Cannot open device /dev/rdsk/c8t2d0s2 - Permission denied
Solution:
>> su
>> prtvtoc /dev/rdsk/c8t0d0s2 | fmthard -s - /dev/rdsk/c8t2d0s2
fmthard:  New volume table of contents now in place.
>> zpool status -v
  pool: rpool
 state: ONLINE
 scrub: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c8t0d0s0  ONLINE       0     0     0

errors: No known data errors

>> zpool attach -f rpool c8t0d0s0 c8t2d0s0
Please be sure to invoke installgrub(1M) to make 'c8t2d0s0' bootable.

>>  installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c8t2d0s0
Updating master boot sector destroys existing boot managers (if any).
continue (y/n)?y
stage1 written to partition 0 sector 0 (abs 16065)
stage2 written to partition 0, 271 sectors starting at 50 (abs 16115)
stage1 written to master boot sector

>> zpool status -v
  pool: rpool
 state: ONLINE
 scrub: resilver completed after 0h4m with 0 errors on Mon Jul 27 19:54:01 2009
config:

        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c8t0d0s0  ONLINE       0     0     0
            c8t2d0s0  ONLINE       0     0     0  6.82G resilvered

errors: No known data errors


This is what I got the last time I tried this successfully before the Suse 
installation !!! Bye Bye Suse...Hello Opensolaris :)
Regards,
Karun
-- 
This message posted from opensolaris.org

Reply via email to