- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: howto determine DDS tape format
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
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
тАО05-26-2004 04:08 PM
тАО05-26-2004 04:08 PM
howto determine DDS tape format
I have been asked to do a restore from about 2000. There is no documentation on the backup procedure then, and all I have is a DDS3 tape...
How can I tell what type of medium format the tape is in i.e. tar, cpio, data protector, fbackup etc...
Also, this host is connected to SAN tape library, and "no tape rewind" kernel parameter is set. Would this effect my ability to read tar etc... How do I rewind a DDS tape once this kernel parameter is in place?
Thanks in advance,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 04:36 PM
тАО05-26-2004 04:36 PM
Re: howto determine DDS tape format
don't know how to check/verify the type of the data written, but i'm sure, mt command could be of a great help to you...
mt status will give you atleast the tape drive and the catridge information.
you can rewind a dds tape by
mt rew
specify the device file for tape with the -f option
with regards
sajeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 04:51 PM
тАО05-26-2004 04:51 PM
Re: howto determine DDS tape format
Try to read the tape using different utilities like tar, cpio, fbackup etc. You wont have to spend much time for this, because the frequently used utilities are hardly 3 or 4. "no tape rewind" parameter will not affect the ability to read tar backup.
regards,
RDL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 05:40 PM
тАО05-26-2004 05:40 PM
Re: howto determine DDS tape format
to check what type of tape your tape driver may take:
# ioscan fnC tape
u may see the following type of device names
/dev/rmt/0m
/dev/rmt/0mb
/dev/rmt/0mn
/dev/rmt/0mnb
/dev/rmt/c3t3d0BEST
/dev/rmt/c3t3d0BESTb
/dev/rmt/c3t3d0BESTn
/dev/rmt/c3t3d0BESTnb
/dev/rmt/c3t3d0DDS
/dev/rmt/c3t3d0DDSb
/dev/rmt/c3t3d0DDSn
/dev/rmt/c3t3d0DDSnb
to rewind your tape:
# mt -f
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 05:48 PM
тАО05-26-2004 05:48 PM
Re: howto determine DDS tape format
I will play around with those utilities. Also I got the tape to rewind!! I must have been confused from some output in dmesg saying I cannot rewind the tape cause of that kernel parameter... After trying the above commands, the dmesg errors did not increase, and the tape rewound!
But any more info on how to determine media type would be greatly appreciated!
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 06:16 PM
тАО05-26-2004 06:16 PM
Re: howto determine DDS tape format
Check the staus of the media
#mt -t /dev/rmt/Xmn status
Thanx
Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 07:12 PM
тАО05-26-2004 07:12 PM
Re: howto determine DDS tape format
as suresh has mentioned:
# mt -f
the -t option is consider obsolete in some ux version.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 07:31 PM
тАО05-26-2004 07:31 PM
Re: howto determine DDS tape format
check this out
attached doc
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 11:54 AM
тАО05-27-2004 11:54 AM
Re: howto determine DDS tape format
#dd if=/dev/rmt/5mn of=/var/opt/sw/omni/crap/crap.5m bs=1024
#strings ./crap.5m
VOL1OMNI-2-[HP OmniBack II v1.0 ]D%-3310000003 [HP OmniBack II v1.0 ]1nNBSABCD
0ac40b87:3e032298:645c:0001
classakl_13
classakl
Well this gives me some place to start. Thanks all for your help!
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 01:12 PM
тАО05-27-2004 01:12 PM
Re: howto determine DDS tape format
I have tried using the hpux "restore" command but that is only used for restoring tapes created via "dump" or "rdump".
I also tried cpio -itcv < /dev/rmt/3mn but had no joy with that either...
I have no AIX experience, and would appreciate it if any has got an idea on how I can restore this data, and list the contents of the tape on HPUX, as we dont have an AIX box anymore...
Thanks in advance,
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 01:12 PM
тАО05-27-2004 01:12 PM
Re: howto determine DDS tape format
Another trick to ID a tape is the file command. It reads a few bytes from any file (or device file) and then goes through several dozen tests to find a unique signature (a magic number). file is ideal for binary file identification.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 01:14 PM
тАО05-27-2004 01:14 PM
Re: howto determine DDS tape format
#strings crap.3mn
by name
by name
root
/var/backup/log/tape.txt
yname.c
Backup of classakl started at Fri Dec 7 21:55:01 NZST 2001 to /dev/rmt0.1
Backup of /var/backup/log/tape.txt /prod /u/appl /home / /usr /var /tmp using backup and savevg commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 01:22 PM
тАО05-27-2004 01:22 PM
Re: howto determine DDS tape format
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2004 02:13 AM
тАО05-28-2004 02:13 AM
Re: howto determine DDS tape format
with 'backup' - it also could be a backup tape written by SAM - Backup and Recovery!
It's a try ...
Volkmar