- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot execute tar
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
Discussions
Discussions
Forums
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
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
тАО06-10-2003 10:53 PM
тАО06-10-2003 10:53 PM
Cannot execute tar
I doing a backup on my 5th drive using tar /dev/rmt/5m /etc i was able to backup but when i issue the same command to drive four it returned an error CANNOT EXECUTE TAR. For isolation i used the same cartridge that i used in drive 5 any help is highly appreciated. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 11:00 PM
тАО06-10-2003 11:00 PM
Re: Cannot execute tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 11:02 PM
тАО06-10-2003 11:02 PM
Re: Cannot execute tar
the sintax should be
tar -cvf /dev/rmt/5m /etc
or
tar -cvf /dev/rmt/4m /etc
if not specifying anything, tar uses /dev/rmt/0m , that is the first drive.
to specify another drive, you must use the -f followed by the tape
refer to a "man tar" for a full explanation of all the options.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 11:09 PM
тАО06-10-2003 11:09 PM
Re: Cannot execute tar
1. use "ioscan -fnC tape" to find out all your tape drive
2. use a blank tape to test your 5th drive, use "dd if=/dev/null of=/dev/rmt/5m bs=10240" and check the tape drive is working.
hope above steps can help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 11:10 PM
тАО06-10-2003 11:10 PM
Re: Cannot execute tar
Thanks for the reply. I was able to list the device file of drive 4. What could be the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2003 11:51 PM
тАО06-10-2003 11:51 PM
Re: Cannot execute tar
besides seeing the device file, is there any NO_HW ?
After you issue the command, which is the ret code ? It may help us in helling you.
Is the 4th an external drive? Mat be there is a conflict with one of the device in the same bus.
Using the stm are you able to see the device correctly ?
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 12:36 AM
тАО06-11-2003 12:36 AM
Re: Cannot execute tar
Can you post the out put of
#lssf /dev/rmt/4m and 5m ?
#which tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-11-2003 12:56 AM
тАО06-11-2003 12:56 AM
Re: Cannot execute tar
thanks for the reply i tried to reboot the server and everything works fine.