Re: Doubts about array size
From: Forrest Taylor <hidden>
Date: 2006-10-17 22:19:52
Attachments
- signature.asc [application/pgp-signature] 189 bytes
From: Forrest Taylor <hidden>
Date: 2006-10-17 22:19:52
On Tue, 2006-10-17 at 22:21 +0200, Bruno Costacurta wrote:
Hello, I built my first RAID with 2 disks. Array looks active (please see hereafter) but I'm confusing about size : having 2 disks of 160-Gb each I expect a size of 160-Gb (correct ?) but array size seems around 103-Gb.
Your array is not 103-Gb, but 103-Mb.
Disk /dev/md0: 106 MB, 106823680 bytes
2 heads, 4 sectors/track, 26080 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
'mdadm --detail /dev/md0' :
-start-
/dev/md0:
Version : 00.90.03
Creation Time : Tue Oct 17 21:26:43 2006
Raid Level : raid1
Array Size : 104320 (101.89 MiB 106.82 MB)
Device Size : 104320 (101.89 MiB 106.82 MB)What did you do to create the device? Did you change the disks recently, or add new disks? You could try to grow the RAID (mdadm -G /dev/md0 -z max), but I would be wary of doing that until I knew why the disks showed the small size. Forrest