- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar command syays "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
08-30-2001 10:50 PM
08-30-2001 10:50 PM
tar command syays "No such device or address"
"No such device or address"
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.,
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
Thanks in advance....
Amit Kureel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2001 11:03 PM
08-30-2001 11:03 PM
Re: tar command syays "No such device or address"
So, you need to use
tar cv /home/amit so that it picks up the default tape drive or
tar cvf /dev/rmt/0m /home/amit
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 01:23 AM
08-31-2001 01:23 AM
Re: tar command syays "No such device or address"
Regards,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 01:37 AM
08-31-2001 01:37 AM
Re: tar command syays "No such device or address"
When you use -f option, you need to spacify the device file /dev/rmt/0m.
tar cvf /dev/rmt/0m /home/amit
best of luck
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 04:57 AM
08-31-2001 04:57 AM
Re: tar command syays "No such device or address"
use tar -cf output input
such as
tar -cf /dev/rmt/0m /opt
or if you want ot put it in a file
tar -cf /tmp/file.out /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2001 05:40 AM
08-31-2001 05:40 AM
Re: tar command syays "No such device or address"
As already advised above, the correct tar format if you use "f" option is
tar cvf destination source
destination can be /dev/rmt/0m or a local file.
Now something else,
when i use the format you've shown above, i get the following errors:
1) tar cvf /home/amit
Note: amit is nonexistent file or directory or an existing file
error: Attempt to create archive of no files. Nothing dumped
2) tar cvf /home/amit
Note: Amit is existing directory under /home
error: tar: usage: tar ....options.... [tapefile] [blocksize] file1 file2 ....
So i was wondering how got the error message "no such device or address" when you typed the tar command in the format mentioned by you.
Thanks