Re: draft howto on making raids for surviving a disk crash

2008-02-07 Thread Luca Berra
On Wed, Feb 06, 2008 at 04:45:39PM +0100, Keld Jørn Simonsen wrote: On Wed, Feb 06, 2008 at 10:05:58AM +0100, Luca Berra wrote: On Sat, Feb 02, 2008 at 08:41:31PM +0100, Keld Jørn Simonsen wrote: Make each of the disks bootable by lilo: lilo -b /dev/sda /etc/lilo.conf1 lilo -b /dev/sdb

Re: RAID needs more to survive a power hit, different /boot layout for example (was Re: draft howto on making raids for surviving a disk crash)

2008-02-06 Thread Luca Berra
the nut software (and when you discover your battery is dead, change it) L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid

Re: draft howto on making raids for surviving a disk crash

2008-02-06 Thread Luca Berra
in lilo.conf Make each of the disks bootable by grub install grub with the command grub-install /dev/md0 L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line

Re: Raid-10 mount at startup always has problem

2007-10-29 Thread Luca Berra
for sector 63, and one for sectors 64 to 70) the next 7 io (71-78,79-86,97-94,95-102,103-110,111-118,119-126) will be on the same track the 8th will again require to be split, and so on. this causes the storage to do 1 unnecessary io every 8. YMMV. L. -- Luca Berra -- [EMAIL PROTECTED

Re: Raid-10 mount at startup always has problem

2007-10-29 Thread Luca Berra
this: md: md0: raid array is not clean -- starting background reconstruction does your system shut down properly? do you see the message about stopping md at the very end of the reboot/halt process? L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII

Re: Time to deprecate old RAID formats?

2007-10-29 Thread Luca Berra
On Sun, Oct 28, 2007 at 01:47:55PM -0400, Doug Ledford wrote: On Sun, 2007-10-28 at 15:13 +0100, Luca Berra wrote: On Sat, Oct 27, 2007 at 08:26:00PM -0400, Doug Ledford wrote: It was only because I wasn't using mdadm in the initrd and specifying uuids that it found the right devices to start

Re: Raid-10 mount at startup always has problem

2007-10-29 Thread Luca Berra
On Mon, Oct 29, 2007 at 11:47:19AM -0400, Doug Ledford wrote: On Mon, 2007-10-29 at 09:18 +0100, Luca Berra wrote: On Sun, Oct 28, 2007 at 10:59:01PM -0700, Daniel L. Miller wrote: Doug Ledford wrote: Anyway, I happen to *like* the idea of using full disk devices, but the reality is that the md

Re: Time to deprecate old RAID formats?

2007-10-29 Thread Luca Berra
On Mon, Oct 29, 2007 at 11:30:53AM -0400, Doug Ledford wrote: On Mon, 2007-10-29 at 09:41 +0100, Luca Berra wrote: Remaking the initrd installs the new mdadm.conf file, which would have then contained the whole disk devices and it's UUID. There in would have been the problem. yes, i read

Re: Time to deprecate old RAID formats?

2007-10-29 Thread Luca Berra
activated, and you will probably run mdadm -Es to check what md are available, the data should be still on the disk, else you would be hosed anyway. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: Raid-10 mount at startup always has problem

2007-10-28 Thread Luca Berra
On Sat, Oct 27, 2007 at 04:47:30PM -0400, Doug Ledford wrote: On Sat, 2007-10-27 at 09:50 +0200, Luca Berra wrote: On Fri, Oct 26, 2007 at 03:26:33PM -0400, Doug Ledford wrote: On Fri, 2007-10-26 at 11:15 +0200, Luca Berra wrote: On Thu, Oct 25, 2007 at 02:40:06AM -0400, Doug Ledford wrote

Re: Time to deprecate old RAID formats?

2007-10-28 Thread Luca Berra
On Sat, Oct 27, 2007 at 04:09:03PM -0400, Doug Ledford wrote: On Sat, 2007-10-27 at 10:00 +0200, Luca Berra wrote: On Fri, Oct 26, 2007 at 02:52:59PM -0400, Doug Ledford wrote: On Fri, 2007-10-26 at 11:54 +0200, Luca Berra wrote: On Sat, Oct 20, 2007 at 09:11:57AM -0400, Doug Ledford wrote

Re: Time to deprecate old RAID formats?

2007-10-28 Thread Luca Berra
require --force, or check for superblocks in every possible partition. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body

Re: Raid-10 mount at startup always has problem

2007-10-27 Thread Luca Berra
On Fri, Oct 26, 2007 at 03:26:33PM -0400, Doug Ledford wrote: On Fri, 2007-10-26 at 11:15 +0200, Luca Berra wrote: On Thu, Oct 25, 2007 at 02:40:06AM -0400, Doug Ledford wrote: The partition table is the single, (mostly) universally recognized arbiter of what possible data might be on the disk

Re: Raid-10 mount at startup always has problem

2007-10-27 Thread Luca Berra
On Fri, Oct 26, 2007 at 06:53:40PM +0200, Gabor Gombas wrote: On Fri, Oct 26, 2007 at 11:15:13AM +0200, Luca Berra wrote: on a pc maybe, but that is 20 years old design. partition table design is limited because it is still based on C/H/S, which do not exist anymore. The MS-DOS format

Re: Time to deprecate old RAID formats?

2007-10-27 Thread Luca Berra
On Fri, Oct 26, 2007 at 02:52:59PM -0400, Doug Ledford wrote: On Fri, 2007-10-26 at 11:54 +0200, Luca Berra wrote: On Sat, Oct 20, 2007 at 09:11:57AM -0400, Doug Ledford wrote: just apply some rules, so if you find a partition table _AND_ an md superblock at the end, read both and you can tell

Re: Time to deprecate old RAID formats?

2007-10-27 Thread Luca Berra
even Doug's enterprise customers L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED

Re: Time to deprecate old RAID formats?

2007-10-27 Thread Luca Berra
by install-mbr. Since install-mbr has its own prompt that is displayed before LILO's prompt on boot, I can be pretty sure that LILO did not write anything to the MBR... the behaviour is documented in lilo man page, for the raid-extra-boot option. -- Luca Berra -- [EMAIL PROTECTED

Re: Raid-10 mount at startup always has problem

2007-10-26 Thread Luca Berra
the partition detection code from the blasted kernel and move it to userspace, which is already in place, but it is not the default. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from

Re: Time to deprecate old RAID formats?

2007-10-26 Thread Luca Berra
mucking with partition tables. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More

Re: MD RAID1 performance very different from non-RAID partition

2007-09-18 Thread Luca Berra
/md0 L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: raid1 resync data direction defined?

2007-07-30 Thread Luca Berra
\ --write-mostly -b /tmp/bitm$$ --write-behind missing mdadm -a /dev/md1 /dev/sda1 -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid

Re: s2disk and raid

2007-04-06 Thread Luca Berra
the first write at which point they become normal read-write and any required resync starts. uh, i tought a read-only array was supposed to remain read-only, and that write attempts would fail. My bad for not testing my assumptions. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media

Re: trouble creating array

2007-02-27 Thread Luca Berra
am assuming is dmraid? I did a quick check, and no, it is device-mapper # dmraid -r No RAID disks use dmsetup ls L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list

Re: md device on Redhat Linux 3

2007-01-31 Thread Luca Berra
on a degraded array, to ensure those will be considered to be uptodate at next restart. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux

Re: problem during boot with linux software raid 5

2006-10-14 Thread Luca Berra
partitions | awk ' /^ARRAY[[:space:]]/ { print $0, auto=yes } ' /etc/mdadm.conf -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send

Re: ANNOUNCE: mdadm 2.5.4 - A tool for managing Soft RAID under Linux

2006-10-13 Thread Luca Berra
On Fri, Oct 13, 2006 at 10:15:35AM +1000, Neil Brown wrote: I am pleased to announce the availability of mdadm version 2.5.4 it looks like you did not include the patches i posted against 2.5.3 -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l

Re: [PATCH] missing close in mdassemble

2006-09-15 Thread Luca Berra
On Wed, Sep 13, 2006 at 04:57:43PM +0200, Luca Berra wrote: attached, please apply without this mdassemble cannot activate stacked arrays, i wonder how i managed to miss it :( Another patch which obsoletes the previous one this will make mdassemble, if run a second time, try to make arrays

Re: RAID5 producing fake partition table on single drive

2006-09-15 Thread Luca Berra
in userspace. L. P.S. the op can simply use partx to remove partition tables from the components of the md array just after assembling. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

[PATCH] missing close in mdassemble

2006-09-13 Thread Luca Berra
attached, please apply without this mdassemble cannot activate stacked arrays, i wonder how i managed to miss it :( L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ --- mdadm-2.5.3

Re: RAID5 fill up?

2006-09-08 Thread Luca Berra
using --grow. The size can be given as max which means to choose the largest size that fits on all current drives. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: Care and feeding of RAID?

2006-09-06 Thread Luca Berra
On Tue, Sep 05, 2006 at 05:47:57PM -0400, Steve Cousins wrote: Luca Berra wrote: On Tue, Sep 05, 2006 at 02:29:48PM -0400, Steve Cousins wrote: Benjamin Schieder wrote: On 05.09.2006 11:03:45, Steve Cousins wrote: Would people be willing to list their setup? Including such things

Re: Care and feeding of RAID?

2006-09-06 Thread Luca Berra
? It still works fine here. i retested now with 5.36 and it seems the output did _not_ change, i don't know what i saw this morning. but then it errors on the line IFS=read type status online ( smartctl -d ata -a ${disk} | grep \#\ 1 | sed 's, \+, ,g' | cut -f 2,3,5 ) L. -- Luca Berra

Re: checking md device parity (forced resync) - is it necessary?

2006-09-05 Thread Luca Berra
, and on Sundays (Debian etch). hihihi monthday and weekday are or-ed in crontab L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux

Re: Care and feeding of RAID?

2006-09-05 Thread Luca Berra
/sd? drives. which command? What do you (or others) recommend for SATA drives? smartmontools and a recent kernel just work. also you can schedule smart tests with smartmontools. so you don't need to cron scripts. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services

Re: Can you IMAGE Mirrored OS Drives?

2006-08-19 Thread Luca Berra
than all the initrd-based solutions I have seen. please, can we try not to resurrect again the kernel-level autodetection flamewar on this list. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: Imaging Mirrored OS Drives

2006-08-16 Thread Luca Berra
procedure, and then update the UUIDs? never tried that, let us know how you fare. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid

Re: Making bootable SATA RAID1 array in Mandriva 2006

2006-08-15 Thread Luca Berra
are not recognized after boot. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More

Re: Making bootable SATA RAID1 array in Mandriva 2006

2006-08-15 Thread Luca Berra
. and please, please, stop top-posting and try to quote relevant parts of messages when answering, or the thread will become unreadable. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: Making bootable SATA RAID1 array in Mandriva 2006

2006-08-14 Thread Luca Berra
, L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: resize new raid problem

2006-08-09 Thread Luca Berra
: ext2fs_open2 Can I resolve this problem (resize2fs bug?)? (may be using mdadm?) since you bought a commercial product from redhat you might be better open a support call to them. if the resize2fs binary you are using comes from EL4, that is. L. -- Luca Berra -- [EMAIL PROTECTED] Communication

Re: let md auto-detect 128+ raid members, fix potential race condition

2006-08-02 Thread Luca Berra
but that, for whatever reason, it couldn't activate? (say, missing module, not enough members, whatever) this would make sense if it were an option, patches welcome :) L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML

Re: let md auto-detect 128+ raid members, fix potential race condition

2006-08-02 Thread Luca Berra
, but there are arguments *for* root on LVM as well, and there's no reason to not support both behaviors equally well and let people figure out what works best for them. No, this is just an argument against misusing root on lvm. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media

Re: host based mirror distance in a fc-based SAN environment

2006-07-26 Thread Luca Berra
(and that is not directly related to distance) is the bandwith you have between the two sites (i mean the number of systems that might be using those 5 fibers) Regards, L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST

Re: issue with internal bitmaps

2006-07-18 Thread Luca Berra
in the array itself? the question i believe is to distinguish the case where an md device is a component of another md device... L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from

Re: issue with internal bitmaps

2006-07-07 Thread Luca Berra
/dev/md100 to do something useful. Like -E, -X must be applied to a component device. Try mdadm -X /dev/sda1 /me needs some strong coffe. yes you are right, sorry L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN X

issue with internal bitmaps

2006-07-06 Thread Luca Berra
Name : 100 UUID : 60cd0dcb:fde52377:699453f7:da96b9d4 Events : 1 Number Major Minor RaidDevice State 0 810 active sync /dev/sda1 1 821 active sync /dev/sda2 -- Luca Berra -- [EMAIL PROTECTED

Re: [PATCH] enable auto=yes by default when using udev

2006-07-04 Thread Luca Berra
On Tue, Jul 04, 2006 at 12:46:03AM +0200, Luca Berra wrote: On Mon, Jul 03, 2006 at 09:14:38AM +1000, Neil Brown wrote: However + + /* if we are using udev and auto is not set, mdadm will almost +* certainly fail, so we force it here. +*/ + if (autof == 0

Re: [PATCH] enable auto=yes by default when using udev

2006-07-03 Thread Luca Berra
a check for both might suffice, else i will have to think harder about it. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body

[PATCH] enable auto=yes by default when using udev

2006-07-02 Thread Luca Berra
udev you must add --auto=yes to the mdadm commandline or to the ARRAY line in mdadm.conf following patch makes auto=yes the default when using udev L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: [PATCH*2] mdadm works with uClibc from SVN

2006-06-24 Thread Luca Berra
. #endif /* __UCLIBC_HAS_FTW__ */ -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED

Re: Failed Hard Disk... help!

2006-06-09 Thread Luca Berra
...) Yep... 2.6.15 or better... I need the magical patch =\. Any other options? scsi_id from udev, if you are lucky enough L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list

Re: problems with raid=noautodetect

2006-05-30 Thread Luca Berra
/sdb1 then come on the list and complain when it stops working. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body

Re: adding multipath device without reboot?

2006-05-30 Thread Luca Berra
: # fdisk /dev/md12 wait! you cannot partition an md device. if you need you have to use an mdp device, but do you? if you just want to create a single filesystem, as you do below, use the md device directly. Regards, L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l

Re: problems with raid=noautodetect

2006-05-29 Thread Luca Berra
number and blacklist based on that. nothing prevents someone to have an udev rule that creates a device node, instead of symlinking. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe

[PATCH] mdadm 2.5 (Was: ANNOUNCE: mdadm 2.5 - A tool for managing Soft RAID under Linux)

2006-05-28 Thread Luca Berra
from fprintf, fwrite and write, so now we check the rval and actually do something with it. in the Grow.c case i only print a warning, since i don't think we can do anithing in case we fail invalidating those superblocks (is should never happen, but then...) Regards, L. -- Luca Berra -- [EMAIL

Re: [PATCH] mdadm 2.5 (Was: ANNOUNCE: mdadm 2.5 - A tool for managing Soft RAID under Linux)

2006-05-28 Thread Luca Berra
On Sun, May 28, 2006 at 10:08:19AM -0700, dean gaudet wrote: On Sun, 28 May 2006, Luca Berra wrote: - mdadm-2.5-rand.patch Posix dictates rand() versus bsd random() function, and dietlibc deprecated random(), so switch to srand()/rand() and make everybody happy. fwiw... lots of rand()s tend

Re: problems with raid=noautodetect

2006-05-28 Thread Luca Berra
a !pattern, unless there is a pattern without a '!', in which case the default is to reject non-accepted patterns. Is that straight forward enough, or do I need an order allow,deny like apache has? I think that documenting the feature would be enough L. -- Luca Berra -- [EMAIL PROTECTED

Re: [PATCH] mdadm 2.5 (Was: ANNOUNCE: mdadm 2.5 - A tool for managing Soft RAID under Linux)

2006-05-28 Thread Luca Berra
don't think we can do anithing in case we fail invalidating those superblocks (is should never happen, but then...) Ok, thanks. You can see these patches at http://neil.brown.name/cgi-bin/gitweb.cgi?p=mdadm Thanks. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l

Re: RAID5 kicks non-fresh drives

2006-05-27 Thread Luca Berra
Regards, L. and please, do not To: or Cc: me, i do actively read the list. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid

Re: [patch] install a static build

2006-05-27 Thread Luca Berra
, issue a cp of the mdadm.static binary and my patch might interfere with the everything target :-( maybe you better add an install-static target. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: [patch] fix static build

2006-05-27 Thread Luca Berra
On Sat, May 27, 2006 at 12:05:56PM +0200, Dirk Jagdmann wrote: Hello developers and patch reviewers, I just tried to update my (old) mdadm to 2.5 and had to apply this small patch to build a static linked mdadm. you should also fix the clean target. L. -- Luca Berra -- [EMAIL PROTECTED

Re: problems with raid=noautodetect

2006-05-26 Thread Luca Berra
an EXCLUDEDEVICE keyword with the opposite meaning. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL

Re: problems with raid=noautodetect

2006-05-26 Thread Luca Berra
On Fri, May 26, 2006 at 09:53:08AM +0200, Luca Berra wrote: On Tue, May 23, 2006 at 08:39:26AM +1000, Neil Brown wrote: Presumably you have a 'DEVICE' line in mdadm.conf too? What is it. My first guess is that it isn't listing /dev/sdd? somehow. Neil, i am seeing a lot of people that fall

Re: RAID5 kicks non-fresh drives

2006-05-26 Thread Luca Berra
kernel auto-assemble devices kernel auto-assembly should be disable and activation should be handled by mdadm only! L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send

Re: strange RAID5 problem

2006-05-09 Thread Luca Berra
read superblock it is still inactive, no wonder you cannot access it. try running the array, or really stop it before assembling. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe

Re: strange RAID5 problem

2006-05-09 Thread Luca Berra
On Tue, May 09, 2006 at 10:16:25AM -0600, Maurice Hilarius wrote: Luca Berra wrote: On Mon, May 08, 2006 at 11:30:52PM -0600, Maurice Hilarius wrote: [EMAIL PROTECTED] ~]# mdadm /dev/md3 -a /dev/sdw1 But, I get this error message: mdadm: hot add failed for /dev/sdw1: No such device What? We

Re: slackware -current softraid5 boot problem

2006-05-08 Thread Luca Berra
device node not being available at boot? Regards, L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL

Re: EVMS causing problems with mdadm?

2006-04-23 Thread Luca Berra
--auto if found WDYT? L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More majordomo

Re: [RAID] forcing a read on a known bad block

2006-04-11 Thread Luca Berra
. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Re: md/mdadm fails to properly run on 2.6.15 after upgrading from 2.6.11

2006-04-09 Thread Luca Berra
On Sun, Apr 09, 2006 at 02:35:53PM +0200, Marc L. de Bruin wrote: Hi, (I just subscribed, sorry if this is a dupe. I did try to match the subject from the archives, but couldn't find any...) I ran into trouble after upgrading a Debian Sarge system from 2.6.11 to 2.6.15. To be more precise,

Re: Bitmaps Kernel Versions

2006-03-15 Thread Luca Berra
on a business trip and i don't have kernel-sources at hand, but i seem to remember that the kernel was very strict on the feature bitmap in the superblock. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: raid5 wont restart after disk failure, then corrupts

2006-03-01 Thread Luca Berra
sorted out the corruption? no Or would it have made things worse? possibly yes L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid

Re: Bigendian issue with mdadm

2006-02-20 Thread Luca Berra
-endian... And it seams like md superblock disk format is hostendian, so how should I say mdadm to use a endianness ? Read the man page several times? Look for --update=byteorder You need mdadm-2.0 or later. besides IIRC version 1 super block is always little-endan. L. -- Luca Berra -- [EMAIL

Re: quota on raid

2006-02-18 Thread Luca Berra
/doc/AppuntiLinux/a296.html L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More

Re: quota on raid

2006-02-18 Thread Luca Berra
On Sat, Feb 18, 2006 at 09:42:04AM +0100, Luca Berra wrote: On Sat, Feb 18, 2006 at 02:12:26AM +0100, Antonello PAPA wrote: i have two disk with raid 1. i can't find documents on how to set the quotas. i whould like to set the quota on /home, can some opne help? thanks and sorry for bad

Re: quota on raid

2006-02-18 Thread Luca Berra
On Sat, Feb 18, 2006 at 02:30:47PM +0100, Antonello PAPA wrote: At 09.49 18/02/06, you wrote: On Sat, Feb 18, 2006 at 09:42:04AM +0100, Luca Berra wrote: On Sat, Feb 18, 2006 at 02:12:26AM +0100, Antonello PAPA wrote: i have two disk with raid 1. i can't find documents on how to set

Re: 2+ raid sets, sata and a missing hd question

2006-02-16 Thread Luca Berra
accidentally shuffled disks before, and 0xfd resulted in all the MD's coming to life again. I never use /etc/mdadm.conf, since there doesn't seem to be much point... i did not speak about in-kernel autodetection. don't cc me on list replies unless it is really important -- Luca Berra -- [EMAIL

Re: 2+ raid sets, sata and a missing hd question

2006-02-14 Thread Luca Berra
correctly, you will have no problem :) hint echo DEVICE partitions /etc/mdadm.conf mdadm -Esc partitions | grep ARRAY /etc/mdadm.conf All md partitions are of type fd (Linux raid autodetect). this is surprisingly not at all relevant L. -- Luca Berra -- [EMAIL PROTECTED] Communication

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

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: Lilo append= , A suggestion .

2006-02-13 Thread Luca Berra
at it ;-) . Tia , JimL what about all the past threads about in-kernel autodetection? L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid

Re: heavy problem with raid initialisation

2006-02-10 Thread Luca Berra
of mdadm can you try rebuilding the current cooker rpm on 10.1 and try again. i don't have a 10.1 laying around to test atm. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from

Re: Question: array locking, possible?

2006-02-09 Thread Luca Berra
for a cluster/exclusive flag, if not the name field could be used what is missing is an interface between mdadm and cmcld so mdadm can ask cmcld permission to activate an array with the cluster/exclusive flag set. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l

Re: [klibc] Re: Exporting which partitions to md-configure

2006-02-07 Thread Luca Berra
to reutilize a device that was previously a member of an md array he/she should use mdadm --zero-superblock to remove the superblock. I see no point in having a system that tries to compensate for users not following correct procedures. sorry. L. -- Luca Berra -- [EMAIL PROTECTED

Re: Raid 1 always degrades after a reboot.

2006-02-07 Thread Luca Berra
support fakeraid? in case it does and it is enable that could conflict with md. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid

Re: [klibc] Re: Exporting which partitions to md-configure

2006-02-07 Thread Luca Berra
On Tue, Feb 07, 2006 at 07:46:59AM -0800, H. Peter Anvin wrote: Luca Berra wrote: I don't like using partition type as a qualifier, there is people who do not wish to partition their drives, there are systems not supporting msdos like partitions, heck even m$ is migrating away from those

Re: [klibc] Re: Exporting which partitions to md-configure

2006-02-07 Thread Luca Berra
On Tue, Feb 07, 2006 at 08:55:21AM -0800, H. Peter Anvin wrote: Luca Berra wrote: making it harder for the user is a good thing, but please not at the expense of usability What's the usability problem? if we fail to support all partitioning schemes and we do not support non partitioned

Re: hard drives with variable device names - mdadm raid assembly options setup

2005-12-31 Thread Luca Berra
On Sat, Dec 31, 2005 at 11:44:32AM +1100, Daniel Pittman wrote: DEVICE /dev/hd* DEVICE /dev/sd* i really find DEVICE partitions to be more useful than shell patterns. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN X

Re: /proc/mdstat bug: 2.6.14.2

2005-12-01 Thread Luca Berra
your internal clock. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More majordomo

Re: question regarding multipath Linux 2.6

2005-09-02 Thread Luca Berra
of free ones. what you want is multipath-tools http://christophe.varoqui.free.fr/ RH4 should already include a multipath-tools rpm. Regards, Luca -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: Can uuid of raid array be changed?

2005-04-19 Thread Luca Berra
On Mon, Apr 18, 2005 at 08:05:22PM -0500, John McMonagle wrote: Luca Berra wrote: On Sun, Apr 17, 2005 at 05:04:13PM -0500, John McMonagle wrote: Need to duplicate some computers that are using raid 1. I was thinking of just adding adding an extra drive and then moving it to the new system

Re: Can uuid of raid array be changed?

2005-04-18 Thread Luca Berra
the drives got mixed up I could see a possibilities for disaster. Not exactly likely as the computers will be in different cities. Is there a way to change the uuid if a raid array? Is it really worth worrying about? you can recreate the array, this will not damage existing data. L. -- Luca Berra

Re: interesting failure scenario

2005-04-04 Thread Luca Berra
On Mon, Apr 04, 2005 at 01:59:09AM +0400, Michael Tokarev wrote: I just come across an interesting situation, here's the scenario. C'mon, there's plenty of ways for you to shoot yourself in the feet. :) L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l

Re: RAID1 and data safety?

2005-03-29 Thread Luca Berra
source (the coin is biased, but it doesn't matter). At this point any possible parallel reality is squashed out of existance. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from

Re: [PATCH 1/2] md bitmap bug fixes

2005-03-23 Thread Luca Berra
On Tue, Mar 22, 2005 at 11:02:16AM +0100, Peter T. Breuer wrote: Luca Berra [EMAIL PROTECTED] wrote: If we want to do data-replication, access to the data-replicated device should be controlled by the data replication process (*), md does not guarantee this. Well, if one writes to the md device

Re: [PATCH 1/2] md bitmap bug fixes

2005-03-22 Thread Luca Berra
On Mon, Mar 21, 2005 at 02:58:56PM -0500, Paul Clements wrote: Luca Berra wrote: On Mon, Mar 21, 2005 at 11:07:06AM -0500, Paul Clements wrote: All I'm saying is that in a split-brain scenario, typical cluster frameworks will make two (or more) systems active at the same time. This I sincerely

Re: [PATCH 1/2] md bitmap bug fixes

2005-03-21 Thread Luca Berra
On Mon, Mar 21, 2005 at 11:07:06AM -0500, Paul Clements wrote: All I'm saying is that in a split-brain scenario, typical cluster frameworks will make two (or more) systems active at the same time. This I sincerely hope not. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services

Re: md autodetection

2005-03-21 Thread Luca Berra
autodetection and others which should be left untouched? autodetection only considers type fd partition, mdadm and raidstart don't actually care. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: [PATCH 1/2] md bitmap bug fixes

2005-03-18 Thread Luca Berra
dirtied a block. on a side note i am wondering what would the difference be on using this approach within the md driver versus DRBD? L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ - To unsubscribe from

Re: Problem with auto-assembly on Itanium

2005-03-10 Thread Luca Berra
On Thu, Mar 10, 2005 at 11:03:44AM +0100, Jimmy Hedman wrote: On Wed, 2005-03-09 at 17:43 +0100, Luca Berra wrote: On Wed, Mar 09, 2005 at 11:28:48AM +0100, Jimmy Hedman wrote: Is there any way i can make this work? Could it be doable with mdadm in a initrd? mdassembled was devise

  1   2   >