Re: mdadm --wait doesn't

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

 



On Mon, July 6, 2009 7:37 am, Jon Nelson wrote:

> OK, that's weird. mdadm /dev/md12 --wait doesn't, while mdadm --wait
> /dev/md12 does.
> That doesn't seem right to me.

That's what I get for overloading the single-letter args.
Bother --wait and --write-mostly can be given as -W, and mdadm doesn't
distinguish between those three internally.
So
  mdadm /dev/md12 -wait
chooses MANAGE mode and the --wait is treated like --write-mostly,
and as you haven't given any drives to add in write-mostly mode,
it doesn't nothing.

I probably should fix that one day.

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