Re: Random MD Raid resyncs?

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

 



Hi Gabor:

> auto-read-only is an internal state of the RAID array, it has nothing to
> do with file systems. So you probably won't find anything in the
> locations you mention above; auto-read-only is only displayed in
> /proc/mdstat. Look at the mdadm man page and read the sections "Auto
> Assembly" and "INCREMENTAL MODE".

Interesting.  I just got done reading that section in the manpage; if
anything, I didn't know mdadm would process an array in that fashion.
However, I don't see this behavior listed in my /proc/mdstat output.
If it's there, I'm missing it:

-- SNIP --

# cat /proc/mdstat
Personalities : [raid10] [raid6] [raid5] [raid4]
md1 : active raid5 sda2[0] sdb1[1] sdc1[2] sdd1[3] sde1[4] sdf1[5]
      393230080 blocks level 5, 256k chunk, algorithm 2 [6/6] [UUUUUU]

md2 : active raid5 sda4[0] sdb4[1] sdc3[2] sdd3[3] sde3[4] sdf4[5]
      424034560 blocks level 5, 256k chunk, algorithm 2 [6/6] [UUUUUU]

md0 : active raid10 sdf2[5] sde2[4] sdd2[3] sdc2[2] sdb2[1] sda3[0]
      235938048 blocks 256K chunks 2 near-copies [6/6] [UUUUUU]

unused devices: <none>

-- END SNIP --

On Tue, Nov 3, 2009 at 5:05 AM, Gabor Gombas <gombasg@xxxxxxxxx> wrote:
> On Mon, Nov 02, 2009 at 06:40:59PM -0500, Jesse Wheeler wrote:
>
>> AFAIK, any of the RAID devices are not mounted 'auto-read-only' by the
>> kernel.  I'll double check /etc/fstab, /var/log/messages, and
>> /var/log/dmesg when I get back to the site.  Unless there was a change
>> by the upstream vendor, I wouldn't mount a production filesystem in
>> that manner.  Of course, I've been surprised before!
>
> auto-read-only is an internal state of the RAID array, it has nothing to
> do with file systems. So you probably won't find anything in the
> locations you mention above; auto-read-only is only displayed in
> /proc/mdstat. Look at the mdadm man page and read the sections "Auto
> Assembly" and "INCREMENTAL MODE".
>
> Gabor
>
> --
>     ---------------------------------------------------------
>     MTA SZTAKI Computer and Automation Research Institute
>                Hungarian Academy of Sciences
>     ---------------------------------------------------------
>
--
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