Re: block level vs. file level

2006-02-13 Thread PFC
This also raises another point, which is relevant for both cases - same exact models of hard disks have different number of cylinders, so if a RAID partition is created on a larger drive it cannot be mirrored to a smaller drive. I have a RAID5 with 5 250G drives, but some are 251 GiB

Re: NVRAM support

2006-02-13 Thread Andy Smith
On Mon, Feb 13, 2006 at 10:22:04AM +0100, Erik Mouw wrote: On Fri, Feb 10, 2006 at 05:02:02PM -0800, dean gaudet wrote: it doesn't seem to make any sense at all to use a non-volatile external memory for swap... swap has no purpose past a power outage. No, but it is a very fast swap

Re: block level vs. file level

2006-02-13 Thread Andy Smith
On Mon, Feb 13, 2006 at 09:48:49AM +0100, PFC wrote: I suggest, when using software raid, to create partitions that are, say, 100 megabytes or even a gigabyte smaller than the size of the drive. You lose a bit of space, but if you ever need to change one, you won't feel

RE: NVRAM support

2006-02-13 Thread Guy
Not the same amount! Match the size of the NV RAM disk with RAM at a fraction of the cost. With the money saved, buy a computer for the kids. :) } -Original Message- } From: [EMAIL PROTECTED] [mailto:linux-raid- } [EMAIL PROTECTED] On Behalf Of Andy Smith } Sent: Monday, February 13,

RAID 5 inaccessible - continued

2006-02-13 Thread Krekna Mektek
All right, this weekend I was able to use dd to create an imagefile out of the disk. I did the folowing: dd conv=noerror if=dev/hdd1 of=/mnt/hdb1/Faulty-RAIDDisk.img losetup /dev/loop0 /mnt/hdb1/Faulty-RAIDDisk.img I edited the mdadm.conf, by replacing /dev/hdd1 for /dev/loop0. But it did not

Re: Question: array locking, possible?

2006-02-13 Thread Chris Osicki
Rick On HP-UX disk mirroring is done in LVM. I'm using md driver for mirroring and LVM on top of it. Controlling access to my disks in LVM is just too late. I would have to assemble the array before I can activate VGs. If the array in question is being used on the other host nobody can

RE: Question: array locking, possible?

2006-02-13 Thread Stern, Rick (Serviceguard Linux)
I understand about HP-UX mirroring/LVM. I was a little too obtuse. LVM2 has a feature (not well advertised) that allows an VG to be tagged so it will not be activated by system b if it is already tagged as being in use by system a. I was suggesting that a similar feature could be added to MD.

Re: Question: array locking, possible?

2006-02-13 Thread Chris Osicki
Luca On Thu, 9 Feb 2006 21:48:48 +0100 Luca Berra [EMAIL PROTECTED] wrote: On Thu, Feb 09, 2006 at 10:28:58AM -0800, Stern, Rick (Serviceguard Linux) wrote: There is more interest, just not vocal. May want to look at LVM2 and its ability to use tagging to control enablement of VGs.

Re: Question: array locking, possible?

2006-02-13 Thread Chris Osicki
Rick You must have missed my first posting, or maybe I was not clear enough. We _are_ talking about the same thing. Now we are already three or four thinking of it as a useful feature, the pression on Neil is dramatically increasing ... ;-) Regards, Chris On Mon, 13 Feb 2006 09:21:06 -0800

Re: Question: array locking, possible?

2006-02-13 Thread Luca Berra
On Mon, Feb 13, 2006 at 06:52:47PM +0100, Chris Osicki wrote: Luca On Thu, 9 Feb 2006 21:48:48 +0100 Luca Berra [EMAIL PROTECTED] wrote: On Thu, Feb 09, 2006 at 10:28:58AM -0800, Stern, Rick (Serviceguard Linux) wrote: There is more interest, just not vocal. May want to look at LVM2 and

Re: Question: array locking, possible?

2006-02-13 Thread Luca Berra
On Mon, Feb 13, 2006 at 10:53:43PM +0100, Luca Berra wrote: diff -urN mdadm-2.3.1/Assemble.c mdadm-2.3.1.exclusive/Assemble.c please note that the patch was written while i was composing the email as a proof-of-concept, it should not be considered working (or even compiling code) L. -- Luca

Re: [RFC][PATCH 000 of 3] MD Acceleration and the ADMA interface: Introduction

2006-02-13 Thread Neil Brown
On Monday February 6, [EMAIL PROTECTED] wrote: On 2/5/06, Neil Brown [EMAIL PROTECTED] wrote: I've looked through the patches - not exhaustively, but hopefully enough to get a general idea of what is happening. There are some things I'm not clear on and some things that I could suggest

Lilo append= , A suggestion .

2006-02-13 Thread Mr. James W. Laferriere
Hello Neil All , I'll bet I am going to get harassed over this , but ... The present form (iirc) of the lilo append statement is append=md=d0,/dev/sda,/dev/sdb I am wondering how difficult the below would be to code ? This allows a (relatively)

Re: Lilo append= , A suggestion .

2006-02-13 Thread Neil Brown
On Monday February 13, [EMAIL PROTECTED] wrote: Hello Neil All , I'll bet I am going to get harassed over this , but ... The present form (iirc) of the lilo append statement is append=md=d0,/dev/sda,/dev/sdb I am wondering how difficult the below would be

Re: Lilo append= , A suggestion .

2006-02-13 Thread Luca Berra
On Mon, Feb 13, 2006 at 09:12:42PM -0700, Mr. James W. Laferriere wrote: Hello Neil All , I'll bet I am going to get harassed over this , but ... The present form (iirc) of the lilo append statement is append=md=d0,/dev/sda,/dev/sdb I am wondering how