mt -f /dev/rmt0.1 status


 
Thread Tools Search this Thread
Operating Systems AIX mt -f /dev/rmt0.1 status
# 1  
Old 08-28-2006
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Changing grub from /dev/sda to /dev/sdb

Hi, Please suggest steps to change grub from /dev/sda to /dev/sdb, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

2. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

3. AIX

"Please mount volume 2 on /dev/rmt0.1" message during mksysb restore

Dear all First of all, my English not so good. We have p52a (production server) and p52a (test server). Tape drives are VXA2. When both servers were AIX 5.3, mksysb on production server and restoring to test server was OK. The production server was AIX 5.3 and recently upgraded to... (3 Replies)
Discussion started by: fifa15pc
3 Replies

4. AIX

Difference between /dev/hdisk and /dev/rhdisk

Hi, How can i check that i am using RAW devices for storage in my AIX machine... Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number eg: dcback1(root):/dev>ls -lrt | grep disk12 crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies

5. Solaris

Lun remove, stuck in /dev/dsk and /dev/rdsk

So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following: devfsadm -Cv powermt -q luxadm -e offline <drive path> luxadm probe All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies

6. AIX

rmt0 allows get increased .. !

rmt0 allows get increased .. ! I have faced this issue in my AIX server, rmt0 allows get increased and it's filled /root till 100% There is no tape in tape drive why it's increased? Pls advice.. (1 Reply)
Discussion started by: Mr.AIX
1 Replies

7. AIX

/dev/rmt0 pointed to from an NFS of another server ?

I only about the principle of filesystems from the very basics on Linux and Windows. But I want to know if it is possible on an AIX 4.2 to create one NFS on a server which is pointing to a tape drive (/dev/rmt0) of another server ? This is because we several backups to do on a 5 servers that... (5 Replies)
Discussion started by: Browser_ice
5 Replies

8. AIX

aix 4.2 : using dd of=/dev/rmt0 producing error

I want to compress backup files to tape using compress on our AIX 4.2 - Our TAR does not have compression. - I do not want to use local storage to compress as most of the filesystems are pretty full. - the only compressing tool we have is 'compress' - tapes are 5Gb 8mm I am trying this... (10 Replies)
Discussion started by: Browser_ice
10 Replies

9. AIX

Piping to /dev/rmt0 tape ?

I am trying to find a way to do the following on an AIX 4.2 with Korn: tar cvfpdl - . | compress > /dev/rmt0 The /dev/rmt0 is the device we use when we tar directly to it. I want to compress a folder's content to tape. Our current TAR does not have compression at all. We only have... (5 Replies)
Discussion started by: Browser_ice
5 Replies

10. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
Login or Register to Ask a Question