The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Installing RedHat 8.0 onto Dell PowerEdge SC1425 - hdc: status error: status = 0x58 fishsponge Linux 5 07-14-2006 11:53 AM
check the status and send an email with status isingh786 Shell Programming and Scripting 3 12-29-2005 04:22 PM
FTP status shah2 Shell Programming and Scripting 5 10-22-2004 02:42 AM
FTP Status rvprod Shell Programming and Scripting 1 01-29-2002 12:30 PM
Couldn't open status file /var/samba/STATUS.LCK macdonto UNIX for Dummies Questions & Answers 2 08-08-2001 05:42 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-28-2006
Registered User
 

Join Date: Aug 2006
Posts: 1
mt -f /dev/rmt0.1 status

Hello all,

Anyboby knows what is the reason by which the ouput of the command mt -f /dev/rmt0.1 status on AIX does not show the same information that in the rest of platforms UNIX (Solaris, HP-UX, ...)?

Then, what command of AIX is similar to mt- f /dev/rmt0.1 status of Solaris? We need it to know if there is a mounted tape on /dev/rmtx.x

mt command on Solaris, Windows ... shows if there is a mounted tape:

C:\>mt -f \\.\Tape0 status
\\.\Tape0:
Current Status: The media in the drive may have changed.

default blocksize = 8192
maximum blocksize = 131072
minimum blocksize = 1
MaximumPartitionCount = 1
EOTWarningZoneSize = 0
CompressionEnabled
Features:
Performs LONG erase operation
Performs IMMEDIATE erase operation
Support FIXED block length mode
Support VARIABLE block length mode
Returns errors on write if tape is write - protected
Supports hardware data compression
Can provide current absolute device block address
Can provide current logical block address and partition
Can physically load and / or unload tape
Support PREVENT / ALLOW Media Removal
Performs IMMEDIATE rewind operations
Allows Setting FIXED LENGTH or VARIABLE block sizes
Performs IMMEDIATE Load / Unload operations
Allows hardware data compression to be enabled / disabled
Can position tape to an absolute physical block
Can position tape to a logical block(and partition)
Can position tape to END of RECORDED DATA
Can perform tape record positioning(backwards / forwards)
Can perform tape file positioning(backwards / forwards)
Can search for sequential filemarks
Can move backwards across records or filemarks or setmarks
Can write FILEMARKS
Performs IMMEDIATE tape mark write operations
operation status on \\.\Tape0 failed: No media in drive.

On AIX, shows:

# mt -f /dev/rmt1.1 status
mode yes Use DEVICE BUFFERS during writes True
block_size 0 BLOCK size (0=variable length) True
extfm yes Use EXTENDED file marks True
res_support yes RESERVE/RELEASE support True
var_block_size 0 BLOCK SIZE for variable length support True
density_set_1 0 DENSITY setting #1 True
density_set_2 0 DENSITY setting #2 True
delay 45 Set delay after a FAILED command True
rwtimeout 144 Set timeout for the READ or WRITE command True

which is similar to:

#lsattr -El rmt1
mode yes Use DEVICE BUFFERS during writes True
block_size 0 BLOCK size (0=variable length) True
extfm yes Use EXTENDED file marks True
res_support no RESERVE/RELEASE support True
var_block_size 0 BLOCK SIZE for variable length support True
density_set_1 0 DENSITY setting #1 True
density_set_2 0 DENSITY setting #2 True
delay 45 Set delay after a FAILED command True
rwtimeout 144 Set timeout for the READ or WRITE command True

We needed to know how to obtain on AIX the same output that on Windows…

Thanks in advance.
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 06:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0