Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

device file changed after reboot.

Srinivas_14
Occasional Contributor

device file changed after reboot.

Hi,

I have a dlt tape drive attached to my HP9000-K580 system. Recently I rebooted my machine. After that I noticed that the patch of the dlt drive has been changed from /dev/rmt/3m to /dev/rmt/2m. I did not change the scsci id on the dlt tape drive. There is a device file in the directory /dev/scsci/3. Since the device file has been changed how can I create (/dev/scsci/2) new device files.

Thanks
2 REPLIES
Cheryl Griffin
Honored Contributor

Re: device file changed after reboot.

Easiest thing to do is compare a lssf and ll on the devices (so you can get the major, minor number, then use mknod to create the device file:
# mknod {device name} {major#} {minor number}

example:
# mknod /dev/rmt/3 212 0x053100
(where 212 is the major number for my tape driver; verify that with lsdev)

Cheryl Griffin
"Downtime is a Crime."
Geetha Alagappan
Regular Advisor

Re: device file changed after reboot.

Try a insf -e. This is useful for restoring special files if one or more have been removed
hercules