LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-15-2004, 03:52 PM   #1
russell_farnell
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 1
Posts: 3

Rep: Reputation: 0
remove RAID


I have a small RAID with some old disks that work fine under Fedora Core 1. However I need to remove the array to replace it with a much larger SATA disk.
I have no problem with installation. I simply cannot find any instructions in the HOWTOs regaurding stopping, removing MD0, and removing the array.

The original set up was all done during the Fedora 1 installation. Four SCSI disks and the hda3 partition on my main IDE drive were arrayed. ( This is one reason that I wanted to change my setup!)

I have removed the md0 from my fstab, but every time that I reboot, I must have my SCSI drives attached, or I get a kernal panic because md0 is not available.----but mdo is not mounted.

What am I missing?

Thanks,

Russell Farnell
 
Old 09-16-2004, 01:24 AM   #2
bdp
Member
 
Registered: Apr 2002
Distribution: RH 9
Posts: 230

Rep: Reputation: 30
did you edit your md0 out of /etc/raidtab ?
 
Old 09-16-2004, 12:01 PM   #3
russell_farnell
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 1
Posts: 3

Original Poster
Rep: Reputation: 0
Here is my raidtab I commented everything out with '#'

#raiddev /dev/md0
#raid-level 0
#nr-raid-disks 5
#chunk-size 64
#persistent-superblock 1
#nr-spare-disks 0
# device /dev/hda3
# raid-disk 0
# device /dev/sda1
# raid-disk 1
# device /dev/sdb1
# raid-disk 2
# device /dev/sdc1
# raid-disk 3
# device /dev/sdd1
# raid-disk 4
 
Old 09-16-2004, 01:59 PM   #4
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
OK, in order to remove or replace a disk you run 'raidhotremove /dev/md? /dev/sd??' (those ?'s are filled in by you). Remove the disk and insert the new one and then issue a 'raidhotadd /dev/md? /dev/sd??'. Then you will see the sync times.

However, why you are replacing the disk with a bigger one? The RAID will only be as big as your smaller disk. So putting in a bigger disk does no benefit to you and you are wasting that valuable disk space in the bigger disk.

Oh yea, you said SATA. Just quick question, is that recognized as /dev/sd or /dev/hd? Thanks!

-twantrd
 
Old 09-16-2004, 02:54 PM   #5
russell_farnell
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora Core 1
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the RAIDtools info, but what I am attempting to do is REPLACE my RAID (which is linear mode with four 9 gig drives) with the standard IDE setup. I am disconnecting the RAID box altogether. I now have a 120gig IDE disk in its place.
It is already working, and I don't have any RAID devices (or SCSI devices) mounted.
I simply want to disconnect the SCSI cable from my controler, but everytime I do that, I have problems at boot time because the kernel is expecting to have put the SCSI devices together to make md0.

Any other ideas?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perc3Di SCSI RAID + Adaptec 2810SA RAID = Fatal Grub Error? LinuxOnTheEdge Linux - General 2 03-19-2005 02:35 PM
How to remove software RAID mikewelter Linux - Software 1 01-17-2005 09:47 PM
Remove raid and mirror Chaiyakorn Linux - General 0 07-06-2004 01:59 AM
does linux support the sata raid and ide raid in k7n2 delta ilsr? spyghost Linux - Hardware 10 04-16-2004 05:27 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration