Problems with RAID Linear Grow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having issues trying to add a disk to a Linear RAID. I'm using mdadm 2.5.4 and kernel 2.6.18.

I can create a two disk linear RAID as follows:
mdadm -C /dev/md0 --level=linear -n2 /dev/sata1 /dev/sata2
and all is well.

I then attempt to add a third disk:
mdadm --grow /dev/md0 --add /dev/sata3
for example, but only get:
mdadm: Cannot add new disk to this array

The new disk gets a superblock created on it matching the other two disks, but the bind_rdev_to_array call in add_new_disk (in md.c) is returning -ENOSPC. rdev->size is 160836416 (the size of the disk I'm trying to add) and mddev->size is 0.

I'd appreciate any insight into what I'm doing wrong. Thanks.

Pat


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux