« April 2004 | Main | July 2004 »
May 27, 2004
How to fix your raid
One of the disks in my raid died. At least, the raid THOUGHT it died ('smart' said it's ok, but I didn't know how to re-add it).
I bought a new drive -- a Seagate, because it was on sale.
Of course, the Seagate 160gig drive is [um] 160.0 gb. The 3 Maxtor 160gig drives I have in the raid are 163.9gig.
Anyone know if I can dynamically resize my Raid 5 partition so that I'm only using 160.0gig for the file system? Didn't think so.....
So I'm going to go buy ANOTHER 160gig disk, Maxtor this time, and HOPE that they are still set up as 163.9. Sigh.
In any event, the main reason for this post is to let anyone know how to re-add (or add in the first place) a new disk that has been configured in the raidtab file.
sudo raidhotadd /dev/md0 /dev/hde2
Ugh. The 'bad' disk just got kicked out of the array again... I really need a 320gig drive, to back it up, and then resize and reformat the raid, and then I don't need the 320gig any more. This stinks. Maybe I'll set up my 'spare' computer with a bunch of disks, rsync temporarily, redo, rsync back. I'm SO looking forward to this...
Sigh. Crappy disk drives. :-(
Posted by aland at 7:47 PM | Comments (3) | TrackBack