- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: tar on LTO3 drive
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
11-10-2005 08:19 AM
11-10-2005 08:19 AM
tar on LTO3 drive
# tar cvf /dev/rmt/72m mk_sf
a mk_sf 3 blocks
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.
User entered a null name for next device file.
planck# ls -la mk_sf
-rwxrwxrwx 1 root sys 1162 Apr 8 2003 mk_sf
swlist -l fileset | grep stape
# PHKL_24221 1.0 SCSI Tape (stape) cumulative
# PHKL_29898 1.0 SCSI Tape (stape) cumulative
system information.
HP-UX B.11.00 U 9000/800 609359313 unlimited-user license
ioscan output
tape 54 0/12/0/0.4.0 stape CLAIMED DEVICE IBM ULT3580-TD3
/dev/rmt/c51t4d0BEST /dev/rmt/c51t4d0BESTb /dev/rmt/c51t4d0BESTn /dev/rmt/c51t4d0BESTnb
tape 72 0/12/0/1.3.0 stape CLAIMED DEVICE IBM ULT3580-TD3
/dev/rmt/72m /dev/rmt/72mn /dev/rmt/c52t3d0BEST /dev/rmt/c52t3d0BESTn
/dev/rmt/72mb /dev/rmt/72mnb /dev/rmt/c52t3d0BESTb /dev/rmt/c52t3d0BESTnb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 08:44 AM
11-10-2005 08:44 AM
Re: tar on LTO3 drive
maybe rewind the tape before writing the tar file?
Nicely formulaed question good detail.
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
11-10-2005 08:45 AM
11-10-2005 08:45 AM
Re: tar on LTO3 drive
Is the status same when the drive is powered on and the backup is fired?
What does "mt -t /dev/rmt/72mn rew" say ?
Is the drive firmware compatible/upto date?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 08:58 AM
11-10-2005 08:58 AM
Re: tar on LTO3 drive
dd if=/stand/vmunix bs=64k count=10 of=/dev/rmt/72m
STAT=${?}
echo "Status = ${STAT}"
I assume that you have made sure that the medium is not write-protected. Dd is a good test because it is lower-level than tar; be sure to post the ${?} value as well as any stdout/stderr messages. You can choose any other input file you like as long as it is at least 640KB in size. I intentionally did not choose /dev/zero because I wanted data that would essentially infinitly compress.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 08:59 AM
11-10-2005 08:59 AM
Re: tar on LTO3 drive
not so nice forgot to mention I did rewind. status, offline all works fine.
mt -f /dev/rmt/72m rewind
planck# mt -f /dev/rmt/72m status
Drive: IBM ULT3580-TD3
Format:
Status: [41114018] BOT online compression immediate-report-mode
File: 0
Block: 0
dd fails as well with different device file name
lanck# dd if=/home/sachin/ of=/dev/rmt/72m
I/O error
1+0 records in
0+1 records out
planck#
planck# dd if=/home/sachin/ of=/dev/rmt/c52t3d0BEST
I/O error
1+0 records in
0+1 records out
planck# dd if=/home/sachin/mk_sf of=/dev/rmt/c52t3d0BEST
I/O error
1+0 records in
0+1 records out
someone in programming says there is permission problem.
planck# grep 13 /usr/include/sys/errno.h
#define EACCES 13 /* Permission denied */
thanks
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 09:03 AM
11-10-2005 09:03 AM
Re: tar on LTO3 drive
Here is output. Yes I personally check that tape is not write protected.
dd if=/stand/vmunix bs=64k count=10 of=/dev/rmt/72m
I/O error
1+0 records in
0+1 records out
# STAT=${?}
# echo "Status= ${STAT}"
Status= 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 02:28 PM
11-10-2005 02:28 PM
Re: tar on LTO3 drive
The I/O error indicates that either the drive or the media inside is faulty. The easiest confirmation can be done by putting this media in other similar drive and put another working media in this drive and then retry the backup operation.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 03:41 PM
11-10-2005 03:41 PM
Re: tar on LTO3 drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2005 04:43 PM
11-10-2005 04:43 PM
Re: tar on LTO3 drive
I faced the same error with DLT8000 replacing the TAPE drive has resolved the issue
Try to eliminate the H/W part .No need to check from S/W side
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2005 01:17 AM
11-11-2005 01:17 AM
Re: tar on LTO3 drive
Thanks
Sachin