The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Creating MD-raid devices - post install Sprellarinn Linux 1 01-29-2008 02:54 AM
Software RAID (0+1) hoff HP-UX 0 11-15-2007 11:27 PM
Software RAID ... blesets UNIX for Advanced & Expert Users 0 10-03-2005 07:51 PM
Raid software besides Veritass xtmeisel Linux 7 11-12-2004 06:27 AM
Using loopback devices in RAID? deckard Filesystems, Disks and Memory 0 04-16-2003 06:54 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-14-2004
malcom's Avatar
Registered User
 

Join Date: Jul 2003
Location: Germany
Posts: 78
Software Raid - changed devices

Good Morning all,

I just have a quick question, on some systems I am working with Software Raid Level 0 devices.

Yes, I know, this is not a good idea, but it was requested :-(

Now, due to a new requirement, I need to add a second internal disk to the system, but with adding the new disk, all device links of the external disks, /dev/sdg ..., will move one step further.
I tried this on a test system, modified the /etc/raidtab and when I started the raid device, I got the error message that not all devices were aviable.
I check a bit the configuration and the raid configuration itself looks like it is also written to the Superblock of each physical raid device.... and not only to /etc/raidtab ?

Now, I am lookig for a decent solution how to change the raid configuration, I could recreat the raid system after backing up the data, but this I would like to avoid because of time which is needed for it.
I also could fix the counting order of the currently used disk, so the new added disk would start behind the last currently used disk, but this is some kind of special hack, I also would like to avoid ...


Any ideas ?

Btw, I am running RedHat AS 2.1 on a multiprozessor system.

Thnx in advance

Malcom
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-12-2004
Registered User
 

Join Date: Nov 2004
Posts: 8
I recommend using mdadm. An altertive of raidtool.
http://freshmeat.net/projects/mdadm/

Usually raid disks appears as /dev/mdX, not sdX. (At least udev generates mdX).

With mdadm, you can create a new raid disk easily. A quick reference can be found here. http://www.linuxdevcenter.com/pub/a/...2/05/RAID.html

But I think you have to backup data first. Not sure though.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:18 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0