And don't forget to do the installblock on the mirrored disk,
otherwise you will not be able to boot. ZFS doesn't copy the boot
block.

On Fri, Sep 25, 2009 at 11:59 AM, Javi <javier.f.conde at gmail.com> wrote:
> Your partition tables are not identicals!
>
> On Fri, Sep 25, 2009 at 11:54 AM, Silvan M. Gebhardt <pcdog at pcdog.ch> 
> wrote:
>> hi folks
>>
>>
>> I can't mirror my drive on my new PVM opensolaris guest :(
>>
>>
>> I tried this and it still messes with me:
>>
>>
>> pcdog at opensolaris:~# zpool attach -f rpool c7t0d0s0 c7t1d0s0
>> cannot attach c7t1d0s0 to c7t0d0s0: new device must be a single disk
>> pcdog at opensolaris:~# zpool attach -f rpool c7t0d0s0 c7t1d0
>> cannot label 'c7t1d0': EFI labeled devices are not supported on root pools.
>> pcdog at opensolaris:~# format -e
>> Searching for disks...done
>>
>>
>> AVAILABLE DISK SELECTIONS:
>> ? ? ? 0. c7t0d0 <DEFAULT cyl 1957 alt 0 hd 255 sec 63>
>> ? ? ? ? ?/xpvd/xdf at 51712
>> ? ? ? 1. c7t1d0 <DEFAULT cyl 1957 alt 0 hd 255 sec 63>
>> ? ? ? ? ?/xpvd/xdf at 51728
>> Specify disk (enter its number): 1
>> selecting c7t1d0
>> [disk formatted, no defect list found]
>>
>>
>> FORMAT MENU:
>> ? ? ? ?disk ? ? ? - select a disk
>> ? ? ? ?type ? ? ? - select (define) a disk type
>> ? ? ? ?partition ?- select (define) a partition table
>> ? ? ? ?current ? ?- describe the current disk
>> ? ? ? ?format ? ? - format and analyze the disk
>> ? ? ? ?fdisk ? ? ?- run the fdisk program
>> ? ? ? ?repair ? ? - repair a defective sector
>> ? ? ? ?show ? ? ? - translate a disk address
>> ? ? ? ?label ? ? ?- write label to the disk
>> ? ? ? ?analyze ? ?- surface analysis
>> ? ? ? ?defect ? ? - defect list management
>> ? ? ? ?backup ? ? - search for backup labels
>> ? ? ? ?verify ? ? - read and display labels
>> ? ? ? ?save ? ? ? - save new disk/partition definitions
>> ? ? ? ?volname ? ?- set 8-character volume name
>> ? ? ? ?!<cmd> ? ? - execute <cmd>, then return
>> ? ? ? ?quit
>> format> label
>> [0] SMI Label
>> [1] EFI Label
>> Specify Label type[0]: 0
>> Ready to label disk, continue? yes
>>
>> format> show
>> Enter a disk block: ^C
>> format> quit
>> pcdog at opensolaris:~# zpool attach -f rpool c7t0d0s0 c7t1d0
>> cannot label 'c7t1d0': EFI labeled devices are not supported on root pools.
>> pcdog at opensolaris:~# zpool attach -f rpool c7t0d0s0 c7t1d0s0
>> cannot attach c7t1d0s0 to c7t0d0s0: new device must be a single disk
>> pcdog at opensolaris:~#
>>
>>
>>
>>
>> ----
>>
>> Silvan Gebhardt,
>> pcdog at pcdog.ch
>>
>>
>> +41 32 512 69 58 VOIP CH
>> +41 52 720 39 88 ?Analog CH
>> +41 78 810 39 88 Cell CH
>> +1 (505) 480-9905 Cell US
>> +1 (360) 718-3416 Landline US
>> + 1 866-941-3869 Toll Free US
>> +31 85 888 0256 NL
>> +44 1225 63 7104 UK
>>
>>
>>
>>
>> _______________________________________________
>> ug-chosug mailing list
>> ug-chosug at opensolaris.org
>> http://mail.opensolaris.org/mailman/listinfo/ug-chosug
>>
>

Reply via email to