My device files change!!!!

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat My device files change!!!!
# 1  
Old 07-13-2006
My device files change!!!!

Hi...

this is the situation.

I have a server with redhat Advance Server 3 and the operating system is installed in /dev/sda disk... when i include new Luns dinamically they take the following special files /dev/sdb and /dev/sdc.... ok.. until now is everything ok... but the problem begins when i reboot the system.


I don't know why the system change the order of the device files and now the Operating System change to /dev/sdc and before it was in /dev/sda !!!! and the new Luns take /dev/sda and /dev/sdb instead of /dev/sdb and /dev/sdc...

this is a problem because every time that i would like to include a new Lun they gonna change the device files when i reboot the system!!!!!

How can i avoid this happened????

how can i tell to Linux that maintain the original device files and DON'T CHANGE IT ???????

Thanks for all the suggestions that you can give me.


Lenux78
# 2  
Old 07-13-2006
Use labels in stead of devices on /etc/fstab.
# 3  
Old 07-13-2006
Question

Yes .. my /etc/fstab has the following entries:

/dev/Volume00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/Volume00/LogVol01 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


but this is the situation.... is any way to avoid that change the device file??? because is gonna be very dificult to do a management of disks if they change all the time that i reboot...

greetings....
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Change Name of Bluetooth Device from Command Line in macOS

Mac Version 10.15.2 (macOS Catalina) Does anyone know how to change the name of a connected bluetooth device from the command line on macOS? I am having trouble with various bluetooth devices which I cannot get the "rename" option in the GUI to "save" properly and so I cannot rename a few... (0 Replies)
Discussion started by: Neo
0 Replies

2. Red Hat

Auditing device files

I am trying to see what commands are typed in my terminal and serial port. For that I am using auditd daemon which helps me in auditing files. I thought of a creating audit rules on /dev/tty and /dev/ttyAMA0 for seeing whats happening on terminal and serial device respectively. auditctl... (0 Replies)
Discussion started by: pavithra04
0 Replies

3. Shell Programming and Scripting

Change the content of files but not change the date

I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (7 Replies)
Discussion started by: ust3
7 Replies

4. Shell Programming and Scripting

Change the content of files but not change the date

I have 100 files in a directory , all the files have a word "error" and they are created in different date . Now I would like to change the word from "error" to "warning" , and keep the date of the files ( that means do not change the file creation date after change the word ) , can advise what can... (0 Replies)
Discussion started by: ust3
0 Replies

5. Programming

Does PID change from device to other!!!!

we asked to create a sender and receiver for a signals. sender knows his receiver by it's(receiver) PID .... my question is if i go to other computer and run my program will the pid chages than the first pid i got from old computer? (2 Replies)
Discussion started by: fwrlfo
2 Replies

6. AIX

change the primary dump device of a vio server

Hi how to change the primary dump device in a vio server ? $ ioslevel 2.2.0.11-FP-24 SP-01 $ oem_setup_env # sysdumpdev -l primary /dev/sysdumpnull secondary /dev/hd6 copy directory /var/adm/ras forced copy flag TRUE always allow dump TRUE dump... (1 Reply)
Discussion started by: newtoaixos
1 Replies

7. UNIX for Dummies Questions & Answers

Device Files names and location

HI there. I am studying System administration right now and am stuck on a question that I have failed to find the answer for in my book. The question is: Do device files need to be in the /dev directory and to they need to follow a naming convention? My answer (so far) is that since the... (7 Replies)
Discussion started by: Carl1976
7 Replies

8. UNIX for Dummies Questions & Answers

How to change tape device name.

I disconected external device which was configured as rmt0. When I connect it again and run cfgmgr device name has changed (internal drive which was rmt1 is now rmt0 and external drive was rmt0 and is rmt1) and I dont know how to back it out. The thing is that for all backups I use new modell... (2 Replies)
Discussion started by: fraydey
2 Replies

9. UNIX for Dummies Questions & Answers

NIC and Device NO to Change

I am a beginer in unix . I would like to know what is the command in orser to change NIC and Device NO (1 Reply)
Discussion started by: Ilias Kappatos
1 Replies

10. UNIX for Advanced & Expert Users

%device line change

Hello and thank you in advance for any assistance. Working with SCO 5.0.5 our SCSI tape device is no longer working. Before we replace the unit I want to verify it's not related to a change someone may have made via mkdev tape. For years the boot message would list the tape device as this:... (1 Reply)
Discussion started by: sighbrrguy
1 Replies
Login or Register to Ask a Question