Re: Making bootable SATA RAID1 array in Mandriva 2006

2006-08-14 Thread Luca Berra
On Sun, Aug 13, 2006 at 07:51:42PM -0400, andy liebman wrote: -- I copied the contents of /dev/sda1 (/ partition) and /dev/sda6 (/home partition) to /dev/sdb1 and /dev/sdb6 using rsync. this is not really important, but you should have used the raid devices as a target. -- I edited fstab and

Re: Making bootable SATA RAID1 array in Mandriva 2006

2006-08-14 Thread Henrik Holst
Luca Berra wrote: On Sun, Aug 13, 2006 at 07:51:42PM -0400, andy liebman wrote: -- I copied the contents of /dev/sda1 (/ partition) and /dev/sda6 (/home partition) to /dev/sdb1 and /dev/sdb6 using rsync. this is not really important, but you should have used the raid devices as a target.

Re: Making bootable SATA RAID1 array in Mandriva 2006

2006-08-14 Thread andy liebman
Thanks for the reply, Luca On Sun, Aug 13, 2006 at 07:51:42PM -0400, andy liebman wrote: -- I copied the contents of /dev/sda1 (/ partition) and /dev/sda6 (/home partition) to /dev/sdb1 and /dev/sdb6 using rsync. this is not really important, but you should have used the raid devices as a

Re: Making bootable SATA RAID1 array in Mandriva 2006

2006-08-14 Thread Laurent Lesage
Hi Andy, I did the same a few times (!) with a Debian stable. I found two pages with recipes that were convenient to me. For what could be related to you, I had to modify the /etc/mkinirtd/mkinitrd.conf file : If you are using a SATA drive you pay attention! edit /etc/mkinitrd/mkinitrd.conf

Re: Making bootable SATA RAID1 array in Mandriva 2006

2006-08-14 Thread Laurent Lesage
Hi Andy, there are options for the mkinitrd command, that are like the parameters in mkinitrd.conf (this is the case in Debian). did you use the -root=xxx option? Laurent andy liebman wrote: [EMAIL PROTECTED] wrote: Hi Andy, I did the same a few times (!) with a Debian stable. I found

Re: Getting 'sync' to flush disk cache?

2006-08-14 Thread Jens Axboe
On Mon, Aug 14 2006, Arjan van de Ven wrote: On Mon, 2006-08-14 at 14:39 -0400, Jeff Garzik wrote: So... has anybody given any thought to enabling fsync(2), fdatasync(2), and sync_file_range(2) issuing a [FLUSH|SYNCHRONIZE] CACHE command? This has bugged me for _years_, that Linux does

Re: Getting 'sync' to flush disk cache?

2006-08-14 Thread Jeff Garzik
Jens Axboe wrote: On Mon, Aug 14 2006, Arjan van de Ven wrote: On Mon, 2006-08-14 at 14:39 -0400, Jeff Garzik wrote: So... has anybody given any thought to enabling fsync(2), fdatasync(2), and sync_file_range(2) issuing a [FLUSH|SYNCHRONIZE] CACHE command? This has bugged me for _years_,

RE: RAID-10 and 4 HDDs - how many HDDs can break without loosing data?

2006-08-14 Thread Andrew Rechenberg Lists
I'm not sure if the kernel raid10 module is the same as building a RAID0 md device out of multiple RAID1 devices. We used to use the later to create a RAID10 device by striping Linux SW RAID1 devices. We had great luck creating a RAID10 array out of a large number of disk spindles. So in your

Re: Kernel panic during resync

2006-08-14 Thread Neil Brown
On Friday August 11, [EMAIL PROTECTED] wrote: Hi all, I've got a machine with a RAID6 array which hung on me yesterday. Upon reboot, mdadm refused to start the array, since it was degraded and dirty. The array had 7 drives, and one had previously gone bad. I'm running Fedora Core 5. I