Maurice Castro wrote: > Hi All, > I have just installed b90 on an E250 with 2 identical SCSI disks and > zfs root. But I keep getting the error > > cannot attach /dev/rdsk/c0t8d0 to c0t0d0s0: device is too small > > when I execute > > zpool attach rpool c0t0d0s0 /dev/rdsk/c0t8d0 > > It appears to be a labelling problem of the disk but none of the > tricks such as > > # prtvtoc /dev/rdsk/c0t0d0s0 | fmthard -s - /dev/rdsk/c0t8d0 > fmthard: Partition 0 overlaps partition 2. Overlap is allowed > only on partition on the full disk partition). > > appear to make an identical label. > > Format reveals the following: > > AVAILABLE DISK SELECTIONS: > 0. c0t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> > /[EMAIL PROTECTED],4000/[EMAIL PROTECTED]/[EMAIL PROTECTED],0 > 1. c0t8d0 <SEAGATE-ST336605LSUN36G-0238-33.92GB> > /[EMAIL PROTECTED],4000/[EMAIL PROTECTED]/[EMAIL PROTECTED],0 > > I would be happy to believe that this was actually a size error, > except that this is the second reinstall and the disks are marked > identically. Any suggestions welcome. >
This error message occurs when the disks are of different size and the disk being attached is smaller. I would double check (using format) that the number of available blocks is the same. Note: to boot you will need to ensure that a Solaris VTOC label is on both disks. If you let ZFS add the mirror without specifying the slice, then ZFS will add an EFI label and the disk will not be bootable. Please see the appropriate docs which provide guidance on configuring boot mirrors. http://www.opensolaris.org/os/community/zfs/docs/zfsadmin.pdf -- richard _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss