Propose of enhancement of raid1 driver

2006-10-17 Thread Miroslaw Mieszczak
I would like to propose an enhancement of raid 1 driver in linux kernel. The enhancement would be speedup of data reading on mirrored partitions. The idea is easy. If we have mirrored partition over 2 disks, and these disk are in sync, there is possibility of simultaneous reading of the data from

resync starts over after each reboot (2.6.18.1)?

2006-10-17 Thread Tomasz Chmielewski
I just set up a new Debian unstable box. It's running 2.6.18.1 kernel. I created RAID-1 on two disks, with no data or filesystem on it. As I'm still experimenting with the box, I reboot it quite frequently. I noticed that RAID-1 resync starts from the very beginning after each reboot. Is it

Re: resync starts over after each reboot (2.6.18.1)?

2006-10-17 Thread Neil Brown
On Tuesday October 17, [EMAIL PROTECTED] wrote: I just set up a new Debian unstable box. It's running 2.6.18.1 kernel. I created RAID-1 on two disks, with no data or filesystem on it. As I'm still experimenting with the box, I reboot it quite frequently. I noticed that RAID-1 resync

Re: libata hotplug and md raid?

2006-10-17 Thread Gabor Gombas
On Tue, Oct 17, 2006 at 11:58:03AM +1000, Neil Brown wrote: udev can find out what needs to be done by looking at /sys/block/whatever/holders. Are you sure? $ cat /proc/mdstat [...] md0 : active raid1 sdd1[1] sdc1[0] sdb1[2] sda1[3] 393472 blocks [4/4] [] [...] $ ls -l

Re: libata hotplug and md raid?

2006-10-17 Thread Gabor Gombas
On Tue, Oct 17, 2006 at 10:07:07AM +0200, Gabor Gombas wrote: Vanilla 2.6.18 kernel. In fact, all the /sys/block/*/holders directories are empty here. Never mind, I just found the per-partition holders directories. Argh. Gabor --

Re: resync starts over after each reboot (2.6.18.1)?

2006-10-17 Thread Tomasz Chmielewski
Neil Brown wrote: On Tuesday October 17, [EMAIL PROTECTED] wrote: I just set up a new Debian unstable box. It's running 2.6.18.1 kernel. I created RAID-1 on two disks, with no data or filesystem on it. As I'm still experimenting with the box, I reboot it quite frequently. I noticed that

Re: PERC5 - MegaRaid-SAS problems..

2006-10-17 Thread Gordon Henderson
For anyone who cares about my saga so-far ;-) ... I got physical access to the unit this morning and setup the drives as 15 RAID-0 Logical drives and booted up Linux, and it then attached all the drives in the usual way. And I can see all 15 drives. So the down-side is that I can't use any sort

RE: PERC5 - MegaRaid-SAS problems..

2006-10-17 Thread Patrick_Boyd
You can use either LSI or Dell utilities to monitor the SMART status of the disks. Patrick Boyd Dell Storage Software Engineer (512)728-3182 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Henderson Sent: Tuesday, October 17, 2006 5:45 AM To:

Compile problem

2006-10-17 Thread Olivier Doremieux
Hello, When I am trying to compile the 2.5.4 release, I am getting this error : In file included from util.c:34: /usr/include/linux/blkpg.h:36: error: variable or field '__user' declared void /usr/include/linux/blkpg.h:36: error: syntax error before '*' token util.c: In function

Needing help with Raid 5 array with 2 failed disks of 4

2006-10-17 Thread Bobby S
Hello, I had a software raid 5 array of 4 disks drop two last night and was curious of what help I may find. I have 4 250GB maxtor drives in software raid 5 array and I seem to get the dma_timer_expiry error comming up every few weeks and I was curious as to how I may recover what I can from the

Re: PERC5 - MegaRaid-SAS problems..

2006-10-17 Thread Andrew Moise
On 10/17/06, Gordon Henderson [EMAIL PROTECTED] wrote: Anyway, it's currently in a RAID-1 configuration (which I used for some initial soaktests) and seems to be just fine: FilesystemSize Used Avail Use% Mounted on /dev/md9 6.8T 33M 6.7T 1% /mnt Incidentally,

mptsas driver

2006-10-17 Thread Clem Pryke
I have an Xtore XJ-SA12-316R external SAS chassis housing 12 Seagate ST375064 disks. After an abortive attempt to get this setup using an Adaptec 58300 SAS controller card and their proprietary adp94xx driver I bought an LSI Logic SAS3800X card. This is supported by module mptsas in RHEL4U4

Re: PERC5 - MegaRaid-SAS problems..

2006-10-17 Thread Greg Dickie
Never lost an XFS filesystem completely. Can't say the same about ext3. just my 2 cents, Greg On Tue, 2006-10-17 at 13:58 -0400, Andrew Moise wrote: On 10/17/06, Gordon Henderson [EMAIL PROTECTED] wrote: Anyway, it's currently in a RAID-1 configuration (which I used for some initial

Re: PERC5 - MegaRaid-SAS problems..

2006-10-17 Thread Gordon Henderson
On Tue, 17 Oct 2006, Andrew Moise wrote: On 10/17/06, Gordon Henderson [EMAIL PROTECTED] wrote: Anyway, it's currently in a RAID-1 configuration (which I used for some initial soaktests) and seems to be just fine: FilesystemSize Used Avail Use% Mounted on /dev/md9

Re: PERC5 - MegaRaid-SAS problems..

2006-10-17 Thread Gordon Henderson
On Tue, 17 Oct 2006, Greg Dickie wrote: Never lost an XFS filesystem completely. Can't say the same about ext3. Whereas I have exactly the reverse of the problem... Never lost an ext2/3, but had a few XFSs trashed when I played with it a couple of years ago... My 2 euros, Gordon - To

Doubts about array size

2006-10-17 Thread Bruno Costacurta
Hello, I built my first RAID with 2 disks. Array looks active (please see hereafter) but I'm confusing about size : having 2 disks of 160-Gb each I expect a size of 160-Gb (correct ?) but array size seems around 103-Gb. I also received a 'Disk /dev/md0 doesn't contain a valid partition table'

Re: Needing help with Raid 5 array with 2 failed disks of 4 [Solved]

2006-10-17 Thread Bobby S
Bobby S wrote: Hello, I had a software raid 5 array of 4 disks drop two last night and was curious of what help I may find. I have 4 250GB maxtor drives in software raid 5 array and I seem to get the dma_timer_expiry error comming up every few weeks and I was curious as to how I may

Re: PERC5 - MegaRaid-SAS problems..

2006-10-17 Thread Andrew Moise
On 10/17/06, Gordon Henderson [EMAIL PROTECTED] wrote: I have had problems with XFS, but that was about 2 years ago, so things might have improved by then. Well, filling some random files with zeroes because of an unclean shutdown is still defined as correct behavior in XFS. That hasn't

Re: Doubts about array size

2006-10-17 Thread Forrest Taylor
On Tue, 2006-10-17 at 22:21 +0200, Bruno Costacurta wrote: Hello, I built my first RAID with 2 disks. Array looks active (please see hereafter) but I'm confusing about size : having 2 disks of 160-Gb each I expect a size of 160-Gb (correct ?) but array size seems around 103-Gb. Your

Restoring a RAID 5

2006-10-17 Thread Hal Vaughan
I would expect this question to be answered in the FAQ, but the site seems to be down. At least I can't get to it now. I'm sure this is simple, but I want to be sure I get it right the first time and don't mess up the data. I have a system with 5 drives: a system/boot drive and a RAID5

Re: new features time-line

2006-10-17 Thread Bill Davidsen
Neil Brown wrote: On Friday October 13, [EMAIL PROTECTED] wrote: I am curious if there are plans for either of the following; -RAID6 reshape -RAID5 to RAID6 migration No concrete plans with timelines and milestones and such, no. I would like to implement both of these but I really

Re: Doubts about array size

2006-10-17 Thread Bruno Costacurta
On Wednesday 18 October 2006 00:19, Forrest Taylor wrote: On Tue, 2006-10-17 at 22:21 +0200, Bruno Costacurta wrote: Hello, I built my first RAID with 2 disks. Array looks active (please see hereafter) but I'm confusing about size : having 2 disks of 160-Gb each I expect a size of