Re: Checking if RAID does work?

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

 



maarten <maarten@xxxxxxxxxxxx> wrote:
> On Wednesday 19 January 2005 21:19, Peter T. Breuer wrote:
> > Poonam Dalya <poonamsbox@xxxxxxxxx> wrote:
> > > I mounted my /dev/md1 on /mnt/raid. and then wrote a
> > > file on it. Then I tried to mount the raid disks
> > > /dev/hda10 on some other mount point and checked that
> > > mount point. But there was nothing in that mount
> > > point. Please could you please help me with this.
> 
> You did not forget to format / mkfs it I suppose ?
> 
> > Don't do that then. Do you have any reason to suppose that buffers were
> > already written to the top level system yet, or that mounting the same
> > device twice will caus eanything but pain and confusion and much
> > wailing and gnashing of teeth?
> 
> Sigh.

You don't understand - he mounted the raw partitions that make up the
raid array WHILE THE RAID WAS RUNNING somewhere else.

If the mount had failed he would have said. Therefore it did not fail.
If he had unmounted the raid array first, then the umount would have
flushed buffers to that device (the kernel sends flush_buffers or
whatever it is called nowadays) and the file would have been visible
when he did the later mount.

It was not, therefore he did not.



Peter

-
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