Are you guys using the smartd to watch your raid disks? I just discovered this tool recently, and its pretty neat. It can send you an email when a disk is going from good to bad, etc. jonathan -----Original Message----- From: shrike-list-admin@xxxxxxxxxx [mailto:shrike-list-admin@xxxxxxxxxx] On Behalf Of Ivo Mencke Sent: Tuesday, January 27, 2004 3:17 AM To: Shrike-List Subject: Re: Software Raid Problem Thanks - I partitioned them yesterday using fdisk, but sfdisk looks like the kind of thing i was looking for (just a faster way of doing it). I then used raidhotadd to sync them, and checked using dmesg & /proc/mdstat. I was just being lazy when i emailed the list, hoping for a quicker way of doing all that. You have to create the partitions before you can use raidhotadd. im surprised that there is nothing in raidtools that just lets you import a new disk instead of a failed one and automatically copy over all partitions and sync all the data, in one go. i know this would be a dangerous command but it'd be very useful. ah well. :) thanks for the help Justin & Arend!, ivo. On Mon, 2004-01-26 at 19:46, Arend wrote: > On Mon, 26 Jan 2004, Justin Zygmont wrote: > > > why not try to use raidhotadd and it if it will work like that. > > > > The partitions need to be created first. > > > > On 26 Jan 2004, Ivo Mencke wrote: > > > > > Hello, > > > > > > This is off topic. > > > > > > I have a rh9 box with software raid (all the partitions on sda are > > > mirrored via raid1 onto sdc) > > > > > > sdc failed. I plugged in a new drive (same size).. but the partitions > > > did not sync over. I would like to know if there is a way to just import > > > the new disk into the array and have everything just sync over, > > > partitions etc, or do i need to create the partitions first on sdc and > > > then sync them all using raidhotadd? > > You need to make the partitions on sdc first, then raidhotadd will work, > and the disk will sync up. > > This link is helpful, as are others on google: > http://lists.us.dell.com/pipermail/linux-poweredge/2003-July/014331.html > > I just did this the other day. Something like this ought to get you > started: > > man sfdisk > man raidhotadd > > sfdisk -d /dev/sda > sda.part.info > cat sda.part.info | sed 's/sda/sdc/' > sdc.part.info > sfdisk /dev/sdc < sdc.part.info > > # repeat this line for each entry in /etc/raidtab, filling in proper > device names. > > raidhotadd /dev/md?? /dev/sdc?? > > watch cat /proc/mdstat > > > > > > I know that in the linux install you can just copy a raid partition > > > "image" on one disk directly onto another.. what is the command that is > > > used to do this by the installer? > > > > > > I cant reboot the system, it has to stay up. > > You don't have to. > > > -- > Arend > -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list -- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list