Linear RAID (was Re: bad /proc/mdstat message)

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

 



On Mon, 12 Jan 2004, Luca Berra wrote:

> On Mon, Jan 12, 2004 at 12:28:37PM -0600, Sharif Islam wrote:
[...]

> ># cat /proc/mdstat
> >Personalities : [linear] [raid0]
> >read_ahead 1024 sectors
> >Event: 1

> where does this line come from?
> are you running a vanilla or patched kernel? which version?

No patching.

# uname -r
2.4.21-4.ELsmp
Red Hat Enterprise Linux AS release 3


Few other things I noticed while playing with linear raid. I haven't
seen much documentation online about it, so bare with me. It is a test
machine so I am not worried about data loss or things like that.

1. The raid creation process was very quick, unlike RAID 1 and RAID 5.
2. Every time I reboot the raid partition doesn't get mounted. However,
if I run
mdadm -Cv  -llinear -n6 /dev/md0 /dev/hd{e,f,g,h,k,l}
and
mount /dev/md0 /raid
it comes back again with all my data.

I included the partition in /etc/fstab, but that gives error. Also my
rc.local has mdadm -As + mount command. That doesn't have any effect
either.

and

3. I get the following warning message when I run
the mdadm -Cv command, for all the disks.

mdadm: /dev/hdi appears to contain an ext2fs file system
    size=120103040K  mtime=Mon Jan 12 12:42:37 2004
...
Continue creating array?

I hit yes, and my array is back. Here mtime is the last time my array
was up.

Did I screw up somewhere or all these make some sense?

-Sharif



-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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