Re: Spares not added upon reboot after distro upgrade

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

 



On 08/19/2012 09:42 AM, Jan Ceuleers wrote:
...

> For the first time ever I tried mdadm's incremental mode. So before
> issuing the above two commands I tried the following;
> 
> root@zotac:~# mdadm -I /dev/sde2
> mdadm: failed to add /dev/sde2 to /dev/md0: Invalid argument.

I have now straced this, and here are the offending lines:

ioctl(4, 0x40140921, 0x7fff4bda3858)    = -1 EINVAL (Invalid argument)
write(2, "mdadm: failed to add /dev/sde2 t"..., 62mdadm: failed to add
/dev/sde2 to /dev/md0: Invalid argument.

fd 4 is /dev/md0

How does one decode the ioctl call?

Thanks, Jan
--
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