Re: mdadm -A erased the superblock ?

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

 



On Fri, March 21, 2008 7:26 am, Pradeep wrote:
> Hi,
>     It appears that a 'mdadm -A' command erased the superblocks on my
> disks.
> Could you please take a look and let me know if I did something wrong ?
>
> (I was adding 2 disks that were in a raid 1 set to a new machine running
> fedora 8.)
> Briefly, I issued an 'mdadm --examine /dev/sdd1' command to check the
> disks in my raid 1
> array.
> (repeat similar command for /dev/sde1)
>
> Then I issued 'mdadm -A -v -u '400f8c5f:045827ea:f72fe561:698ccea2'
> /dev/md0'
> which errored out because it was looking at /dev/sdd instead of /dev/sdd1
>

This isn't why it errored out.  It looked at sdd and found nothing there.
It also looked at various other devices and found nothing usable there.
That is perfectly normal.

What is strange is that it found sdd1 and sde1 in /proc/partitions,
but couldn't find names for them in /dev, so it reports them as
8:65 and 8:49

However when you ran the "--examine", it did find /dev/sdd1 in
/dev with the correct major/minor numbers.  So something must
have happened between those two commands.

Also, I cannot think why it is reporting "Invalid argument" and
failing to add the devices to the array.
Where there any kernel message (view with 'dmesg') at this time?

NeilBrown



--
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