[OmniOS-discuss] rpool mirroring alignment problem

Natxo Asenjo natxo.asenjo at gmail.com
Wed Jun 11 17:01:01 UTC 2014


hi,

my rpool has now 1 160Gib disk:

# zpool status rpool
  pool: rpool
 state: ONLINE
  scan: none requested
config:

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

# format

AVAILABLE DISK SELECTIONS:
       0. c4t12d1 <ATA-KINGSTON SV300S3-BBF1-111.79GB>
          /pci at 0,0/pci1022,9603 at 2/pci1014,3b1 at 0/sd at c,1
       1. c4t13d1 <ATA-WDCWD1600BJKT-7-1A11 cyl 19454 alt 2 hd 255 sec 63>
          /pci at 0,0/pci1022,9603 at 2/pci1014,3b1 at 0/sd at d,1
       2. c4t14d1 <ATA-WDCWD2500BPVT-0-1A01 cyl 30398 alt 2 hd 255 sec 63>
          /pci at 0,0/pci1022,9603 at 2/pci1014,3b1 at 0/sd at e,1
       3. c6t0d0 <ATA-WDC WD30EFRX-68A-0A80-2.73TB>
          /pci at 0,0/pci103c,1609 at 11/disk at 0,0
       4. c6t1d0 <ATA-WDC WD30EFRX-68A-0A80-2.73TB>
          /pci at 0,0/pci103c,1609 at 11/disk at 1,0
       5. c6t2d0 <ATA-WDC WD30EFRX-68A-0A80-2.73TB>
          /pci at 0,0/pci103c,1609 at 11/disk at 2,0
       6. c6t3d0 <ATA-WDC WD30EFRX-68A-0A80-2.73TB>
          /pci at 0,0/pci103c,1609 at 11/disk at 3,0

I want to add disk 2 to the rpool, so following the instructions on
http://omnios.omniti.com/wiki.php/GeneralAdministration:

# fdisk -B c4t14d1p0

# prtvtoc /dev/rdsk/c4t13d1s2 | fmthard -s - /dev/rdsk/c4t14d1s2
fmthard: Partition 2 specifies the full disk and is not equal
full size of disk.  The full disk capacity is 488343870 sectors.
fmthard:  New volume table of contents now in place

but:

# zpool attach -f rpool c4t13d1s0 c4t14d1s0
cannot attach c4t14d1s0 to c4t13d1s0: devices have different sector
alignment

Any ideas? Yes, I am aware of the fact both disks are different in size,
but provided I am formatting the 2nd one and copying the disklabel from the
smaller one it should be ok, shouldn't it?

TIA.

Regards,
--
Groeten,
natxo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20140611/a0c015f9/attachment.html>


More information about the OmniOS-discuss mailing list