Re: [PATCH 008 of 8] md/bitmap: Change md/bitmap file handling to use bmap to file blocks.

2006-05-13 Thread Andrew Morton
Paul Clements <[EMAIL PROTECTED]> wrote: > > Andrew Morton wrote: > > > The loss of pagecache coherency seems sad. I assume there's never a > > requirement for userspace to read this file. > > Actually, there is. mdadm reads the bitmap file, so that would be > broken. Also, it's just useful for

Re: Removing a RAID 1 setting without loosing data

2006-05-13 Thread Raúl Gómez Cabrera
The drive is completely dead, it doesn't appear in the system, the mdadm remove command fails because it says there is no drive (/dev/sdb) on the system, I'll try to convice my client (again) to install another drive. BTW: good advise about bad sectors, thanks! BTW2: I'm playing land of Drogon, I

Re: [PATCH 008 of 8] md/bitmap: Change md/bitmap file handling to use bmap to file blocks.

2006-05-13 Thread Paul Clements
Andrew Morton wrote: The loss of pagecache coherency seems sad. I assume there's never a requirement for userspace to read this file. Actually, there is. mdadm reads the bitmap file, so that would be broken. Also, it's just useful for a user to be able to read the bitmap (od -x, or similar)

Re: Removing a RAID 1 setting without loosing data

2006-05-13 Thread David Greaves
Gordon Henderson wrote: > On Sat, 13 May 2006, Ra�l G�mez Cabrera wrote: > >> Hi Gordon, thanks for your quick response. >> >> Well my client does not want to spend more money on this particular >> server, I think maybe that is because they are planning to replace it... >> > > Ask your clie

Re: Removing a RAID 1 setting without loosing data

2006-05-13 Thread Gordon Henderson
On Sat, 13 May 2006, Ra�l G�mez Cabrera wrote: > Hi Gordon, thanks for your quick response. > > Well my client does not want to spend more money on this particular > server, I think maybe that is because they are planning to replace it... Ask your client just how valuable their email data is...

Re: Removing a RAID 1 setting without loosing data

2006-05-13 Thread Raúl Gómez Cabrera
Hi Gordon, thanks for your quick response. Well my client does not want to spend more money on this particular server, I think maybe that is because they are planning to replace it... As for the RAID settings you are rigth!!!, I'm going to leave it untouched! Thanks again! Raul. El sáb, 13-05-

Re: Removing a RAID 1 setting without loosing data

2006-05-13 Thread Gordon Henderson
On Sat, 13 May 2006, Raúl Gómez Cabrera wrote: > Hi everyone, > > I have a installed a system (mail server) wich had a RAID 1 (software) > with two SCSI Disk running on Linux. The sdb disk has failed a few month > ago and the system is still working as expected. > > Since the failure of the disk I

Removing a RAID 1 setting without loosing data

2006-05-13 Thread Raúl Gómez Cabrera
Hi everyone, I have a installed a system (mail server) wich had a RAID 1 (software) with two SCSI Disk running on Linux. The sdb disk has failed a few month ago and the system is still working as expected. Since the failure of the disk I've looking for a replacement, but so far I cannot find a ne

Re: [PATCH 008 of 8] md/bitmap: Change md/bitmap file handling to use bmap to file blocks.

2006-05-13 Thread Andrew Morton
Neil Brown <[EMAIL PROTECTED]> wrote: > > On Friday May 12, [EMAIL PROTECTED] wrote: > > NeilBrown <[EMAIL PROTECTED]> wrote: > > > > > > If md is asked to store a bitmap in a file, it tries to hold onto the > > > page cache pages for that file, manipulate them directly, and call a > > > cocktail o

Re: [PATCH 002 of 8] md/bitmap: Remove bitmap writeback daemon.

2006-05-13 Thread Andrew Morton
Neil Brown <[EMAIL PROTECTED]> wrote: > > On Friday May 12, [EMAIL PROTECTED] wrote: > > NeilBrown <[EMAIL PROTECTED]> wrote: > > > > > > ./drivers/md/bitmap.c | 115 > > > ++ > > > > hmm. I hope we're not doing any of that filesystem I/O within t