- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change device file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2003 11:35 PM
07-13-2003 11:35 PM
Change device file
I want to change device file my tape from /dev/rmt/1m to be /dev/rmt/1m.
What should i do ?
thanks for your help
BR,
Sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2003 11:48 PM
07-13-2003 11:48 PM
Re: Change device file
we need a little more information...
1)
from /dev/rmt/1m to be /dev/rmt/1m
looks identical :9
2)
in which application ? Omniback ? fbackup ? tar ?
tar: tar .... -f your_device_file
fbackup: fbackup .... -f your_device_file
omniback: modify device properties and write whatever you want...
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2003 11:52 PM
07-13-2003 11:52 PM
Re: Change device file
I want to change tape devive file in HP-UX from /dev/rmt/1m to /dev/rmt/0m.
Thanks for your reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 12:03 AM
07-14-2003 12:03 AM
Re: Change device file
# ln -s /dev/rmt/0m /dev/rmt/1m
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 12:08 AM
07-14-2003 12:08 AM
Re: Change device file
Not wanting to be difficult here, but why would you want to do that ? There is no device linked to /dev/rmt/0m any more (but there was probably, otherwise you wouldn't have a /dev/rmt/1m) ?
Note that it is not a simple procedure to change this. What you need is the "ioinit" command. Read the manpages carefully !!!
Regards,
Tom Geudens
P.S. If you want tapedrives to have the same name in your applications, use symbolic links. The following is from our systems :
lrwxr-xr-x 1 root sys 13 Apr 12 2002 /dev/robotwilg_drv0 -> /dev/rmt/5mnb
lrwxr-xr-x 1 root sys 14 May 2 2002 /dev/robotwilg_drv1 -> /dev/rmt/10mnb
lrwxr-xr-x 1 root sys 13 Apr 12 2002 /dev/robotwilg_drv3 -> /dev/rmt/4mnb
Whatever the device is, the application always uses robotwilg_drv0,drv1 or drv3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 12:11 AM
07-14-2003 12:11 AM
Re: Change device file
i agree with others comments.
Not for doing your businness, but why do you want to do so ?
if, from "ioscan -fnCtape", you have just tape 1m, then you must use it.
If there are script that uses the 0m, then you must change them, and not the system.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 12:48 AM
07-14-2003 12:48 AM
Re: Change device file
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x195428c64656d71190080090279cd0f9,00.html
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 02:12 AM
07-14-2003 02:12 AM
Re: Change device file
The procedure is outlined in this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x5cb97680e012d71190050090279cd0f9,00.html
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 04:27 AM
07-14-2003 04:27 AM
Re: Change device file
I would replace my ioconfig file, however, it would be much easier to replace my /dev/rmt/0m in scripts with sed or awk...
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2003 12:46 PM
07-14-2003 12:46 PM
Re: Change device file
Just create link to the device and that's all
what you need.
Caesar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2003 05:47 AM
07-15-2003 05:47 AM
Re: Change device file
Hi,
One more thing what you can do is ,if the dat drive is the only device connected in your SCSI controller you can delete the existing device file using rmsf and change the SCSI id of the DAT drive to 0 and reboot the server.The new device file will be /dev/rmt/0m.
Other wise just create a create a link using
#ln /dev/rmt/0m /dev/rmt/1m.
Now both device file will point to save drive .
Regards
baiju