Re: RAID1 - Need help doing it the hard way

2000-09-11 Thread Luca Berra
how well it works, but it sounds like it should make the care of feeding of /dev much nicer. works wonderfully with disks and controllers, does not work with extended partitions, sorry. This is an historical bad design of PC. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media

Re: RAID1 - Need help doing it the hard way

2000-09-11 Thread Luca Berra
On Mon, Sep 11, 2000 at 09:50:27AM +0200, Danilo Godec wrote: On Mon, 11 Sep 2000, Luca Berra wrote: The way to fix the device renaming problem is to use devfs. I haven't tried it, so I don't know how well it works, but it sounds like it should make the care of feeding of /dev much

Re: WebMin LVM module development

2000-12-06 Thread Luca Berra
to extend volume group "vg_test" /output It's a known problem, LVM 0.8final does not work LVM 0.8.1 does work LVM 0.9 does not again Tomorrow is holiday in Milan, so i will try to give it a look Regards, L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Serv

Re: bootable raid 1

2000-12-18 Thread Luca Berra
=63 heads=15 cylinders=13328 -- 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: [linux-lvm] Installation question: SW RAID1 + LVM for boot and root

2001-02-09 Thread Luca Berra
is included, lvm patches from cvs) -- 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: partitions for RAID volumes?

2001-02-26 Thread Luca Berra
a message to [EMAIL PROTECTED] -- 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: Need Patch for 2.2.19

2001-04-02 Thread Luca Berra
cribe linux-raid" in the body of a message to [EMAIL PROTECTED] -- 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 lin

Re: Hardware RAID Advice Sought

2001-04-26 Thread Luca Berra
a battery backup. 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: Software RAID clustering support

2001-04-26 Thread Luca Berra
are thinking of something for future releases, but at the moment i don't know of anything existing. maybe some creative use of heartbeat? L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL

Re: Swap to RAID-1 mirror?

2001-05-10 Thread Luca Berra
someone asked me privately about creating a file on a md and swapping on it, but i flost the mail, anyway, swapping on a file works the same way as swapping on a partition. L. On Thu, May 10, 2001 at 08:50:42PM +0200, Luca Berra wrote: On Thu, May 10, 2001 at 11:44:45AM -0700, Kaelin

Re: switching cache buffer size?

2001-05-25 Thread Luca Berra
if you swap over there block-size of swap is page size 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: kernel 2.2.x and swap to a raid device/file

2001-06-04 Thread Luca Berra
On Mon, Jun 04, 2001 at 07:18:57PM +0100, Corin Hartland-Swann wrote: On Mon, 4 Jun 2001, Luca Berra wrote: On Mon, Jun 04, 2001 at 05:13:11AM +0100, Corin Hartland-Swann wrote: What I really hate is the recommendations that you should always have twice as much swap as main memory. I

patches for mdadm 1.8.0 (auto=dev and stacking of devices)

2005-01-23 Thread Luca Berra
during the same run of mdadm, removing the need to add /dev/md?? to the DEVICE line to enable stacked devices. Regards, L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \ mdadm-1.8.0-autodev.patch.bz2

Re: patches for mdadm 1.8.0 (auto=dev and stacking of devices)

2005-01-23 Thread Luca Berra
On Sun, Jan 23, 2005 at 07:46:29PM +0300, Michael Tokarev wrote: Lars Marowsky-Bree wrote: On 2005-01-23T16:13:05, Luca Berra [EMAIL PROTECTED] wrote: the first one adds an auto=dev parameter rationale: udev does not create /dev/md* device files, so we need a way to create them when assembling

Re: Software RAID 0+1 with mdadm.

2005-01-26 Thread Luca Berra
On Tue, Jan 25, 2005 at 02:28:21PM -0800, Brad Dameron wrote: Everything seems ok after boot. But again no /dev/md0 in /proc/mdstat. But then if I do a mdadm --assemble --scan it will then load /dev/md0. there is a bug in mdadm, see my mail patches for mdadm 1.8.0 or wait for 1.9.0 L. -- Luca

Re: Software RAID 0+1 with mdadm.

2005-01-27 Thread Luca Berra
the first round even if you do specify DEV /dev/mdX in mdadm.conf. 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: Broken harddisk

2005-02-01 Thread Luca Berra
better True enough. However, until SMART support makes it into linux SATA drivers I'm pretty much stuck with dd! http://www.kernel.org/pub/linux/kernel/people/jgarzik/libata/ -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN X

Re: Problem with auto-assembly on Itanium

2005-03-09 Thread Luca Berra
' /etc/mdadm.conf copy the mdadm.conf and mdassemble to initrd make linuxrc run mdassemble. 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

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

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: [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-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-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: 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: 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: 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: 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: 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: /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: 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: [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: 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: 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-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: 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: 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: 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: 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: 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: 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: 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: [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: 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: 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: 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: 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: 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

[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: 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

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: 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: [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

[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] 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

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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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

[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: [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

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: 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: 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: 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: 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: 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: 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: 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

  1   2   >