- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar or tape problem
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-2005 10:54 AM
09-02-2005 10:54 AM
$ sudo tar cf /dev/rmt/0m /tmp
Password:
tar: cannot open /dev/rmt/0m
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 11:34 AM
09-02-2005 11:34 AM
Re: tar or tape problem
Password:
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 8/16/5.0.0 stape CLAIMED DEVICE HP HP35480A
/dev/rmt/0m /dev/rmt/c1t0d0BESTn
/dev/rmt/0mb /dev/rmt/c1t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c1t0d0DDS
/dev/rmt/0mnb /dev/rmt/c1t0d0DDSb
/dev/rmt/c1t0d0BEST /dev/rmt/c1t0d0DDSn
/dev/rmt/c1t0d0BESTb /dev/rmt/c1t0d0DDSnb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 02:46 PM
09-02-2005 02:46 PM
Re: tar or tape problem
mt -f /dev/rmt/0m status
If it does not respond (note: the status command only works with 11.00 and higher), then the tape has likely failed. The HP35480A tape drive is very old and cannot use any tape except DDS-1.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 04:17 PM
09-02-2005 04:17 PM
Re: tar or tape problem
see that the device is CLAIMED.
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 08:08 PM
09-02-2005 08:08 PM
Re: tar or tape problem
Check with ioscan first.
1. # ioscan -fnC tape [ it should be CLAIMED ]
2. # mt -f /dev/rmt/0m status [ If the tape is in the drive it will show the status output. ]
3. then check the command,
sudo tar cf /dev/rmt/0m /tmp
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2005 08:10 PM
09-02-2005 08:10 PM
Re: tar or tape problem
If you still gets error after step.3 , seems you dont have enough sudo permission ,
Check sudoers file also ,(/usr/local/etc/sudo/sudoers )
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 09:17 AM
09-03-2005 09:17 AM
Re: tar or tape problem
and now status is
sudo mt -f /dev/rmt/0m status
Password:
Drive: HP HP35480A
Format:
Status: [0]
File: 0
Block: 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 10:20 AM
09-03-2005 10:20 AM
Re: tar or tape problem
Perhaps you could try this as root and avoid the sudo factor.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 01:45 PM
09-03-2005 01:45 PM
Re: tar or tape problem
Verify that there is actually a tape in the drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 04:12 PM
09-03-2005 04:12 PM
SolutionIf you have tape in, you should be able to rewind it successfully as hardware is claimed and device file is created.
I guess you don't have to use root for this. You can try with your id. You may have problem while writing files for which you don't have permission.
I would suggest to use v options with mt..."mt -cvf /dev/rmt/0m /tmp". It will show if it is writing files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 05:12 PM
09-03-2005 05:12 PM
Re: tar or tape problem
If the tape is loaded in drive while mt status show this, the drive is failed.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 05:13 PM
09-03-2005 05:13 PM
Re: tar or tape problem
from the status , it seems that there is no Tape loaded in the drive.
If tape loaded in the drive it will show the status like this :
-----------------------------------------
# mt -f /dev/rmt/0m status
Drive: HP C5683A
Format:
Status: [41112600] BOT online compression immediate-report-mode
File: 0
Block: 0
-----------------------------------------
If this is the case , you can try after loading a tape.
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2005 05:18 PM
09-03-2005 05:18 PM
Re: tar or tape problem
If the tape is loaded , and its not sensing , it means problem with the HP35480A drive , and need to log hardware call for that.
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2005 12:57 AM
09-04-2005 12:57 AM
Re: tar or tape problem
1. Check EMS logs and syslog.log file for errors logged
2. If drive is able to load the media properly try mt /dev/rmt/0m and see if drive responds
3. IF above step does not help, Drive electronics has failed.Log a call to local HP support provider
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2005 03:25 AM
09-04-2005 03:25 AM
Re: tar or tape problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2005 03:27 AM
09-04-2005 03:27 AM