Ok... You may be hitting the following bug: 6852962 : http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6852962
It is also documented in the ZFS Troubleshooting guide. http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide#Solving_Mirrored_.7BRoot.7D_Pool_Problems_.28zpool_attach.29 The bug is solved in snv_119. Regards, Javi On Fri, Sep 25, 2009 at 11:59 AM, Silvan M. Gebhardt <pcdog at pcdog.ch> wrote: > Hi Javi > > > well, I had them synchronized ?- here you see it: > > > pcdog at opensolaris:~# pfexec prtvtoc /dev/rdsk/c7t0d0s2| fmthard -s - > /dev/rdsk/c7t1d0s2 > fmthard: ?New volume table of contents now in place. > pcdog at opensolaris:~# zpool attach -f rpool c7t0d0s0 c7t1d0s2 > cannot attach c7t1d0s2 to c7t0d0s0: new device must be a single disk > pcdog at opensolaris:~# zpool attach -f rpool c7t0d0s0 c7t1d0s0 > cannot attach c7t1d0s0 to c7t0d0s0: new device must be a single disk > pcdog at opensolaris:~# > > > > was that wrong? > > > > ---- > > 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 > > > > > Am 25.09.2009 um 11:58 schrieb Javi: > >> 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 >>> > > _______________________________________________ > ug-chosug mailing list > ug-chosug at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/ug-chosug >
