it may be time to replace the whole original array
3x40 gigs isnt much any more, so you might want to dump it off to
tape and make the raid5 again from scratch with the new disks
seeing as one has died it may be the beginings of more deaths
so replacing them all now might save problems in the future.
Dean
Rowling, Jill wrote:
I wonder if it would come up OK if you formatted and partitioned only 40GB
of the new disk, and used the other 40GB as a spare logical drive?
That is, trick the hardware into thinking it has three 40 GB disks again.
I recently had to replace both halves of a mirrored array (RAID-1 on
Solaris/SPARC) because I could not buy the same hardware that was originally
installed. I wonder if RAID-5 is similar?
The only time I've ever heard of different types of disks used in a RAID
system is when people make up a RAID-0 stripe from JBOD.
Cheers,
Jill.
-----Original Message-----
From: Chris Henman [mailto:[EMAIL PROTECTED]
Sent: Monday, 19 July 2004 12:12 PM
To: [EMAIL PROTECTED]
Subject: [SLUG] RAID-5 array problems
Dear All,
I have a RAID-5 array consisting of three 40GB disks (ext3) on a machine
running Redhat 3.0ES. Recently one of the three disks failed; hdf. All
continued happily on two disks.
Yeterday I bought some new disks; 3 x 80GBs. I replaced the bad disk
with a new one, formated and partioned the new disk and did a
raidhotadd. All seemed well, see copy of lsraid -A -a md0.
[EMAIL PROTECTED] root]# lsraid -A -a /dev/md0
[dev 9, 0] /dev/md0 02EF0419.559F377C.34A1ABA4.2AAE1C59 online
[dev 33, 1] /dev/hde1 02EF0419.559F377C.34A1ABA4.2AAE1C59 good
[dev 33, 65] /dev/hdf1 02EF0419.559F377C.34A1ABA4.2AAE1C59 good
[dev 34, 1] /dev/hdg1 02EF0419.559F377C.34A1ABA4.2AAE1C59 good
until I rebooted. hdf was missing. I did another raidhotadd and all
was well again. I waited until the disks had completely resynced and
tried again. Same result.
Below are raidtab and fstab, neither of which have been altered by me.
[EMAIL PROTECTED] etc]# cat raidtab
raiddev /dev/md0
raid-level 5
nr-raid-disks 3
chunk-size 64k
persistent-superblock 1
nr-spare-disks 0
device /dev/hde1
raid-disk 0
device /dev/hdf1
raid-disk 1
device /dev/hdg1
raid-disk 2
also, fstab is quite straightforward.
[EMAIL PROTECTED] etc]# cat fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
/dev/md0 /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto
noauto,owner,kudzu 0 0
Any suggestions as to why?
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html