- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar command says "No such device or address
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
09-02-2001 01:18 AM
09-02-2001 01:18 AM
tar command says "No such device or address
So now can anybody offer some help ?
I also repeat the second part of my question...
Can anybody indicate what could be the error, and how to re-create the device file /dev/rmt/0m that tar refers to by default...? because my "mksf" only creates the file /dev/rmt/c#t#dBEST
I even tried to re-build the device file in /dev/rmt/c#t#dBEST and I can see all the usual files /dev/rmt/0m
/dev/rmt/0mn
/dev/rmt/0mnb
etc.,
Thanks in advance....
Amit Kureel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2001 01:26 AM
09-02-2001 01:26 AM
Re: tar command says "No such device or address
I feel the device associated with /dev/rmt/0m is not matching to that of C#t#dBEST.
Try doing this
rmsf -a /dev/rmt/0*
rmsf -a /dev/rmt/c0*
ioscan -f
insf
This should create /dev/rmt/0* files.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2001 01:33 AM
09-02-2001 01:33 AM
Re: tar command says "No such device or address
You may also get this message if the tape is bad. Try cleaning up or with a new tape. Once you refreshed the device files, you can verify them using the mt command
mt -t /dev/rmt/0m rew
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2001 03:03 AM
09-02-2001 03:03 AM
Re: tar command says "No such device or address
You may have to clean the tape drive couple of times. Also try using a new tape.
Try doing a dd and try reading from the tape.
Also try ioscan -fnC tape
If you want to recreate the device files (insf should work but if not try
mksf -H
-Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2001 03:45 AM
09-02-2001 03:45 AM
Re: tar command says "No such device or address
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2001 11:13 AM
09-02-2001 11:13 AM
Re: tar command says "No such device or address
lssf /dev/rmt/*
Now there is no question as to what the device files are. Also, use the ioscan command with -k for speed:
ioscan -knfC tape
And rather than using tar, use the simple mt command to rewind the tape. If that doesn't work, no other program will either. Are there multiple instances shown with ioscan such 0m, 1m, 2m and so on? This probably means you have been moving devices around. Make sure the tape drive you need matches the ioscan output and use one of those device files.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2001 03:04 PM
09-02-2001 03:04 PM
Re: tar command says "No such device or address
Seems liek there might be some problem with you tape device. Can you reboot the box and see if it workd. Sometimes once the tar command fails it may hung up the device.
You can try
mt reset
mt status
This may work. Else see if you can reboot the box. Otherwise you may have to replace the Drive and see.
Thanks