Sponsored Content
Operating Systems AIX Command to determine Tape Type Post 74554 by DogDay on Friday 10th of June 2005 01:10:57 PM
Old 06-10-2005
Quote:
Originally Posted by Surdeymon
IBM RS6000 - oslevel 5.1

Thanks
find out what the names of your tape devices are:

# lsdev -Cc tape
rmt0 Available 40-60-00-0,0 SCSI 4mm Tape Drive


Then you can query the ODM

# lscfg -vl rmt0
rmt0 U0.1-P1/Z1-A0 SCSI 4mm Tape Drive (20480 MB)

Manufacturer................HP
Machine Type and Model......IBM-C568303030!D
Device Specific.(Z1)........C105
Serial Number...............2129A722
Device Specific.(LI)........A1700292
Part Number.................19P0798
FRU Number..................19P0802
EC Level....................H27417
Device Specific.(Z0)........0180020283000038
Device Specific.(Z3)........L1
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Restore Spacific File Type from TAPE ?!

Hi I just want to know if there's any way to restore a spacific file type from a tape using tar command. I have different file type in 4mm tape. *.pds ; *.txt *.lis and some more. I just want to restore *.pds from the tape and Ignore the other file type.( FILTER A FILE TYPE FROM THE TAPE)... (1 Reply)
Discussion started by: geoquest
1 Replies

2. Solaris

Command to determine Tape Drive model and make

Hi, We have some IBM LTO tape drives connect over SAN. I have the following questions :- 1) Command that can list the tape drive details like who is manufacturer, model number, make etc etc 2) I would like to know what are the key differences between IBM LTO Generation 1 and Generation... (5 Replies)
Discussion started by: new2prog
5 Replies

3. Shell Programming and Scripting

determine file type with perl

Hello i will like to know please how can i determine file type inside perl script not using the unix "file" program Thanks allot (1 Reply)
Discussion started by: umen
1 Replies

4. Solaris

type of tape drive

Hello Expert, I'm new from unix I just want to ask how to check what particullar tape drive installed on my SUN Ultra 450. thanks (1 Reply)
Discussion started by: eykyn17
1 Replies

5. Shell Programming and Scripting

Using 'stat' to determine file system type (with Zenity)

edited and removed (0 Replies)
Discussion started by: mdpalow
0 Replies

6. UNIX for Dummies Questions & Answers

How to determine what type of backup I've on the tape

I've tape which I've to use to restore data. The problem is that I don't know what type of backup I have on this type. Can someone help me and tell me how can I determine what type of backup is on the tape? Thanks for your help. (2 Replies)
Discussion started by: fraydey
2 Replies

7. HP-UX

How to determine the fie system type?

Good day I need create new mount points on a server. I'm not very familiar with HP-UX and was given steps on how to go about doing the mounting, etc. Before I start though, I need to determine which file system type is currently being used. This will determine whether i need to extend the... (3 Replies)
Discussion started by: notreallyhere
3 Replies

8. Shell Programming and Scripting

determine file type by content, not extension

I have a directory structure with multiple sub directories. Within each directory, there are files without extensions. Is it possible to somehow tell what the file type should be by the file contents? For example, I opened one of the files using an editor. After scrolling to the end of the... (2 Replies)
Discussion started by: daflore
2 Replies

9. Solaris

Solaris Cmd to determine type of zone?

I lost my notes on the subject, but I remember running across a single Solaris command that tells you the following Global zone vs local zone Sparse local zone vs Whole Root local zone Can anyone advise? Thanks-In-Advance!! (2 Replies)
Discussion started by: ckmehta
2 Replies

10. Shell Programming and Scripting

Determine Content-Type

I am limited to using only libraries that come with the default install of ActivePerl. I'd like to be able to determine the content type of a file on the fly. I thought CGI.pm might do it, but it looks a little weird to me from the perldoc. If someone has a quick way to determine the type of... (4 Replies)
Discussion started by: mrwatkin
4 Replies
FMS(8)							       AFS Command Reference							    FMS(8)

NAME
       fms - Determine a tape's capacity and a tape device's filemark size

SYNOPSIS
       fms -tape <tape special file> [-help]

       fms -t <tape special file> [-h]

DESCRIPTION
       The fms command determines the capacity of the tape currently in the tape device identified by the -tape argument, along with the size of
       the filemark for the device. The filemark is also referred to as the device's end-of-file (EOF) marker, and can differ for each combination
       of tape and tape device.

       As the Tape Coordinator writes a dump, it writes a filemark between the data included from each volume and also tracks the amount of space
       left before the end of the tape (EOT). For some tape devices, the filemark is large enough (multiple megabytes) that failure to consider it
       leads the Tape Coordinator significantly to overestimate the available space.

       The intended use of this command is to determine tape capacity and filemark size values that can be specified in a tape device's entry in
       the /var/lib/openafs/backup/tapeconfig file. For certain types of tape drives, the Tape Coordinator operates more efficiently when the
       tapeconfig file lists accurate values. For further discussion, see the OpenAFS Administration Guide chapter on configuring the Backup
       System.

       Insert a tape in the drive before issuing this command.

CAUTIONS
       Do not use this command on compressing tape devices in compression mode or with tape devices that handle tapes of multigigabyte (or
       multiterabyte) capacity. It does not produce accurate results in those cases.  For alternate suggestions on the values to record in the
       tapeconfig file for compressing drives, see the OpenAFS Administration Guide chapter on configuring the Backup System.

       Running the command completely overwrites the tape, so use a blank one or one that can be recycled.

       Because it writes filemarks to the complete length of the tape, the command can take from several hours to more than a day to complete.

OPTIONS
       -tape <tape special file>
	   Specifies the UNIX device name of the tape device for which to determine filemark size and the capacity of the tape it currently
	   contains. The format varies on different system types, but usually begins with /dev; an example is /dev/sd0a.

       -help
	   Prints the online help for this command. All other valid options are ignored.

OUTPUT
       The command generates output both on the standard output stream and in the fms.log file that it creates in the current working directory.
       The output reports the capacity of the tape in the device and the device's filemark size.

       The first few lines of output include status information about the execution of the command, including such information as the number of
       blocks and the number of file marks written to the tape by the command. The last two lines of both screen and file output provide the
       following information:

       o   "Tape capacity is number bytes": specifies the size, in bytes, of the tape in the device.

       o   "File marks are number bytes": specifies the device's filemark size in bytes.

       The following message indicates that the fms command interpreter cannot access the tape device. The command halts.

	  Can't open tape drive I<device>

       The following message indicates that the command interpreter cannot create the fms.log log file. Again, the command halts.

	  Can't open log file

EXAMPLES
       The following command illustrates the output for the device called /dev/rmt1h:

	  % fms /dev/rmt1h
	  wrote block: 130408
	  Finished data capacity test - rewinding
	  wrote 1109 blocks, 1109 file marks
	  Finished file mark test
	  Tape capacity is 2136604672 bytes
	  File marks are 1910205 bytes

       The following appears in the fms.log file:

	  fms test started
	  wrote 9230 blocks
	  Finished file mark test
	  Tape capacity is 151224320 bytes
	  File marks are 2375680 bytes

PRIVILEGE REQUIRED
       The issuer must be able to insert and write to files in the currently working directory, if the fms.log file does not already exist. If it
       already exists, the issuer need only be able to write to it.

SEE ALSO
       fms.log(5), tapeconfig(5)

COPYRIGHT
       IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.

       This documentation is covered by the IBM Public License Version 1.0.  It was converted from HTML to POD by software written by Chas
       Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.

OpenAFS 							    2012-03-26								    FMS(8)
All times are GMT -4. The time now is 02:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy