LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 10-14-2008, 09:13 AM   #1
mshort
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Rep: Reputation: 0
Changing disks and /dev devices what will happen?


I have a mix of mounts and raw devices currently on RHEL4 I've listed how they are now. sda and sdf are in raid5 and consist of 3 drives each all other drives are jbod. I want to unraid sda and sdf and assign them as jbod then use all disk as raw devices. My question is if I take down my system and remove raid from the the sda and sdf disks how will this change my /dev/* structure. For example will the 3 disk in sda become sda sdb sdc when they're put into jbod format and move all the other devices on down the line? The mount points are very important for my Oracle Databases so I don't want to try anything until I know what will happen.

Device Mount
/dev/sda /u05
/dev/sdb /u01
/dev/sdc /u02
/dev/sdd /u03
/dev/sde /u04
/dev/sdf /u105
/dev/sdg /u101
/dev/sdh /u102
/dev/sdi /u103
/dev/sdj /u104
/dev/sdk /dev/raw/raw1
/dev/sdl /dev/raw/raw2
/dev/sdm /dev/raw/raw3
/dev/sdn /dev/raw/raw4
/dev/sdo /dev/raw/raw5
/dev/sdp /dev/raw/raw6
/dev/sdq /dev/raw/raw7
 
Old 10-14-2008, 02:03 PM   #2
mshort
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Found the solution if anyone else needs to know. If you take a disk out such as if we removed sda sdb would become sda sdc would become sdb etc. To get around this I'll have to use the udev command on kernel 2.6 and beyond which is what I have. Udev can create a persistent device name in the /dev folder.
 
  


Reply



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
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 12:46 PM
LXer: Ballmer: All open source dev should happen on Windows LXer Syndicated Linux News 0 10-10-2007 08:11 AM
How do disks appear automatically in /dev when inserted? g4c9z Linux - Hardware 3 06-09-2004 04:55 PM
mounting 2 ide-scsi devices /dev/cdrom and /dev/cdrom1 issue penguin123 Linux - Hardware 3 09-26-2003 08:36 PM
Two Video Devices - /dev/video0 & /dev/video1 liguorir Linux - Software 1 07-21-2003 08:20 PM

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

All times are GMT -5. The time now is 05:54 PM.

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