i am attempting to follow the recipe in:
http://blogs.sun.com/sa/entry/hotplugging_sata_drives

the recipe copies the vtoc from the old drive to the new drive and then does an 
attach. when i get to the attach - the partition slices on the new drive 
overlap (the partition slices on the old drive overlap) - and i get an error 
message:
init...@dogpatch:~# zpool attach rpool c7t0d0s0 c7t1d0s0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c7t1d0s0 overlaps with /dev/dsk/c7t1d0s2

here is the vtoc of the original drive:
init...@dogpatch:~# prtvtoc /dev/rdsk/c7t0d0s2
* /dev/rdsk/c7t0d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      63 sectors/track
*     255 tracks/cylinder
*   16065 sectors/cylinder
*   36471 cylinders
*   36469 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector 
*           0     16065     16064
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00      16065 585858420 585874484
       2      5    01          0 585874485 585874484
       8      1    01          0     16065     16064
init...@dogpatch:~# 

the original opensolaris install would have partitioned and formatted this 
drive - so that partitions 0 and 2 overlap. how do i partition the new mirror 
so it will attach?
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to