LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Changing disks and /dev devices what will happen? (https://www.linuxquestions.org/questions/linux-general-1/changing-disks-and-dev-devices-what-will-happen-676257/)

mshort 10-14-2008 09:13 AM

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

mshort 10-14-2008 02:03 PM

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.


All times are GMT -5. The time now is 01:29 PM.