Sponsored Content
Operating Systems AIX "Please mount volume 2 on /dev/rmt0.1" message during mksysb restore Post 302919546 by fifa15pc on Thursday 2nd of October 2014 01:15:31 AM
Old 10-02-2014
Thank you bakunin

Yes, I used -i flag for mksysb.

---------- Post updated at 02:15 PM ---------- Previous update was at 02:11 PM ----------

Thank you ibmtech!

Yes, I have also changed block size of tapes equally, 1024 and 0
But I haven't checked the tape driver's compatibility with AIX6.1
Doesn't AIX6.1 have proper driver for VXA2 tape drive?
I dont' know what is the driver for VXA2 though.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. Filesystems, Disks and Memory

/dev/core "link to program crash data"

Hi there, I found a link to a file /dev/core of 17 GB Is it ok??? I couldn't find many information about it. Any suggestion would be appreciated!!! Thanks in advance, Giordano Bruno PS: I'm working with FEDORA 6 (2 Replies)
Discussion started by: Giordano Bruno
2 Replies

3. AIX

"rmt0" is not a valid backing device - VIO

hello to all, i am trying to assing a tape drive to a virtual partition through VIO but i get the message "rmt0" is not a valid backing device. the oslevel of my VIO is AIX 6.1.3.0. when i run the command lsdev |grep rmt i get the following result: rmt0 Available 08-08-00-0,0 ... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

6. Shell Programming and Scripting

Redirecting standard out to /dev/null goes to file "/dev/null" instead

I apologize if this question has been answered else where or is too elementary. I ran across a KSH script (long unimportant story) that does this: if ; then CAS_SRC_LOG="/var/log/cas_src.log 2>&1" else CAS_SRC_LOG="/dev/null 2>&1" fithen does this: /usr/bin/echo "heartbeat:... (5 Replies)
Discussion started by: jbmorrisonjr
5 Replies

7. Shell Programming and Scripting

tcsh - understanding difference between "echo string" and "echo string > /dev/stdout"

I came across and unexpected behavior with redirections in tcsh. I know, csh is not best for redirections, but I'd like to understand what is happening here. I have following script (called out_to_streams.csh): #!/bin/tcsh -f echo Redirected to STDOUT > /dev/stdout echo Redirected to... (2 Replies)
Discussion started by: marcink
2 Replies

8. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
MT(1)							      General Commands Manual							     MT(1)

NAME
mt - control magnetic tape drive operation SYNOPSIS
mt [-h] [-f device] operation [count] [arguments...] DESCRIPTION
This manual page documents the tape control program mt. mt performs the given operation, which must be one of the tape operations listed below, on a tape drive. The commands can also be listed by running the program with the -h option. The version of mt is printed with the -v or --version option. The path of the tape device to operate on can be given with the -f or -t option. If neither of those options is given, and the environment variable TAPE is set, it is used. Otherwise, a default device defined in the file /usr/include/sys/mtio.h is used. Some operations optionally take an argument or repeat count, which can be given after the operation name and defaults to 1. The available operations are listed below. Unique abbreviations are accepted. Not all operations are available on all systems, or work on all types of tape drives. fsf Forward space count files. The tape is positioned on the first block of the next file. fsfm Forward space count files. The tape is positioned on the last block of the previous file. bsf Backward space count files. The tape is positioned on the last block of the previous file. bsfm Backward space count files. The tape is positioned on the first block of the next file. asf The tape is positioned at the beginning of the count file. Positioning is done by first rewinding the tape and then spacing forward over count filemarks. fsr Forward space count records. bsr Backward space count records. fss (SCSI tapes) Forward space count setmarks. bss (SCSI tapes) Backward space count setmarks. eod, seod Space to end of valid data. Used on streamer tape drives to append data to the logical and of tape. rewind Rewind the tape. offline, rewoffl, eject Rewind the tape and, if applicable, unload the tape. retension Rewind the tape, then wind it to the end of the reel, then rewind it again. weof, eof Write count EOF marks at current position. wset (SCSI tapes) Write count setmarks at current position (only SCSI tape). erase Erase the tape. status Print status information about the tape unit. (If the density code is "no translation" in the status output, this does not affect working of the tape drive.) seek (SCSI tapes) Seek to the count block on the tape. This operation is available on some Tandberg and Wangtek streamers and some SCSI-2 tape drives. The block address should be obtained from a tell call earlier. tell (SCSI tapes) Tell the current block on tape. This operation is available on some Tandberg and Wangtek streamers and some SCSI-2 tape drives. setpartition (SCSI tapes) Switch to the partition determined by count. The default data partition of the tape is numbered zero. Switching parti- tion is available only if enabled for the device, the device supports multiple partitions, and the tape is formatted with multiple partitions. partseek (SCSI tapes) The tape position is set to block count in the partition given by the argument after count. The default partition is zero. mkpartition (SCSI tapes) Format the tape with one (count is zero) or two partitions (count gives the size of the second partition in megabytes). The tape drive must be able to format partitioned tapes with initiator-specified partition size and partition support must be enabled for the drive. load (SCSI tapes) Send the load command to the tape drive. The drives usually load the tape when a new cartridge is inserted. The argu- ment count can usually be omitted. Some HP changers load tape n if the count 10000 + n is given (a special funtion in the Linux st driver). lock (SCSI tapes) Lock the tape drive door. unlock (SCSI tapes) Unlock the tape drive door. setblk (SCSI tapes) Set the block size of the drive to count bytes per record. setdensity (SCSI tapes) Set the tape density code to count. The proper codes to use with each drive should be looked up from the drive docu- mentation. densities (SCSI tapes) Write explanation of some common density codes to standard output. drvbuffer (SCSI tapes) Set the tape drive buffer code to number. The proper value for unbuffered operation is zero and "normal" buffered operation one. The meanings of other values can be found in the drive documentation or, in case of a SCSI-2 drive, from the SCSI-2 standard. compression (SCSI tapes) The compression within the drive can be switched on or off using the MTCOMPRESSION ioctl. Note that this method is not supported by all drives implementing compression. For instance, the Exabyte 8 mm drives use density codes to select compression. stoptions (SCSI tapes) Set the driver options bits for the device to the defined values. Allowed only for the superuser. The bits can be set either by oring the option bits from the file /usr/include/linux/mtio.h to count, or by using the following keywords (as many key- words can be used on the same line as necessary, unambiguous abbreviations allowed): buffer-writes buffered writes enabled async-writes asynchronous writes enabled read-ahead read-ahead for fixed block size debug debugging (if compiled into driver) two-fms write two filemarks when file closed fast-eod space directly to eod (and lose file number) no-wait don't wait until rewind, etc. complete auto-lock automatically lock/unlock drive door def-writes the block size and density are for writes can-bsr drive can space backwards well no-blklimits drive doesn't support read block limits can-partitions drive can handle partitioned tapes scsi2logical seek and tell use SCSI-2 logical block addresses instead of device dependent addresses sysv enable the System V semantics stsetoptions (SCSI tapes) Set selected driver options bits. The methods to specify the bits to set are given above in description of stoptions. Allowed only for the superuser. stclearoptions (SCSI tapes) Clear selected driver option bits. The methods to specify the bits to clear are given above in description of stop- tions. Allowed only for the superuser. stwrthreshold (SCSI tapes) The write threshold for the tape device is set to count kilobytes. The value must be smaller than or equal to the driver buffer size. Allowed only for the superuser. defblksize (SCSI tapes) Set the default block size of the device to count bytes. The value -1 disables the default block size. The block size set by setblk overrides the default until a new tape is inserted. Allowed only for the superuser. defdensity (SCSI tapes) Set the default density code. The value -1 disables the default density. The density set by setdensity overrides the default until a new tape is inserted. Allowed only for the superuser. defdrvbuffer (SCSI tapes) Set the default drive buffer code. The value -1 disables the default drive buffer code. The drive buffer code set by drvbuffer overrides the default until a new tape is inserted. Allowed only for the superuser. defcompression (SCSI tapes) Set the default compression state. The value -1 disables the default compression. The compression state set by compres- sion overrides the default until a new tape is inserted. Allowed only for the superuser. sttimeout sets the normal timeout for the device. The value is given in seconds. Allowed only for the superuser. stlongtimeout sets the long timeout for the device. The value is given in seconds. Allowed only for the superuser. stsetcln set the cleaning request interpretation parameters. mt exits with a status of 0 if the operation succeeded, 1 if the operation or device name given was invalid, or 2 if the operation failed. AUTHOR
The program is written by Kai Makisara <Kai.Makisara@metla.fi>. COPYRIGHT
The program and the manual page are copyrighted by Kai Makisara, 1998-2001. They can be distributed according to the GNU Copyleft. SEE ALSO
st(4) November 2001 MT(1)
All times are GMT -4. The time now is 08:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy