Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Need help on "mt" command for Solaris Post 18623 by sujeet on Sunday 31st of March 2002 11:08:48 PM
Old 04-01-2002
Question Need help on "mt" command for Solaris

Hi,

I have two solaris servers with tape drives (HP DDS-3 4MM DAT tape drive). OS is SunOS daytona82 5.6 Generic_111446-02 sun4u sparc SUNW,Ultra-Enterprise.
I am facing strange problem, whenever I put a new tape in the tape drive and issue "mt -f /dev/rmt/0cn eom" it fails saying I/O error. However it works fine for the same tape on the other server.
Dunno why ?


Any help in resolving this issue is appreciated.

Thanks,
Sujeet
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

start top command in "solaris mode"

Ever noticed that using the top command on a multiple cpu box can often give totally misleading answers, like 230%, when you think that 100% should be the max? Well, that's because top has a bizarre mode called "Irix mode" wherein if you have 4 cpus, the %CPU column of top can go up to 400%. I... (1 Reply)
Discussion started by: fabulous2
1 Replies

2. UNIX for Advanced & Expert Users

The "PS" command was displaying*terminals named as "SYSCON"

Hi, When typing the command ps -fe.the system is showing a process called SYSCON:confused:.... I am not sure what process is that.I hava a script that kills all command staring with 'sys' but i don't want to kill syscon:( since i think it is some system process:confused: .Please help me to find... (1 Reply)
Discussion started by: kiranjose85
1 Replies

3. UNIX for Dummies Questions & Answers

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

4. UNIX for Advanced & Expert Users

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

5. Shell Programming and Scripting

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

6. 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

7. 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

8. Solaris

Printer configuration Migration from Solaris 10 "LP" to Solaris 11 "CUPS"

Need to find a way to import an LP printers.conf file to CUPS. I have some new Solaris 11.1 boxes that need to have 300 printers added. (0 Replies)
Discussion started by: os2mac
0 Replies

9. 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

10. 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 - magnetic tape manipulating program SYNOPSIS
tapename] command [count] Obsolescent tapename] command [count] DESCRIPTION
is used to give commands to the tape drive. If tapename is not specified, the environment variable is used; if is not defined, the default drive is used. winds the tape in the requested direction (forward or backward), stopping after the specified count EOF marks or records are passed. If count is not specified, one is assumed. Each EOF mark counts as one record. When winding backwards, the tape always stops at the BOT marker, regardless of the number remaining in count. accepts the following commands: Write count EOF marks. Forward space count files. Forward space count records. Backward space count files. Backward space count records. Rewind tape. Rewind tape and go offline. Seek to end of data (DDS and QIC drives only). Write count setmarks (DDS drives only). Forward space count setmarks (DDS drives only). Backward space count setmarks (DDS drives only). Print status information about the tape drive. Reserve tape drive for sole use by the host issuing the command (stape or estape driver only). Release tape drive from sole use by the host issuing the command (stape or estape driver only). Spacing operations (back or forward space file or record) leave the tape positioned past the object being spaced to in the direction of motion. That is, backspacing a file leaves the the tape positioned before the file mark, forward spacing a file leaves the tape positioned after the file mark. This is consistent with all classical usage on tapes. WARNINGS
Only raw, no-rewind Berkeley-type devices should be specified. This type of device will not reposition the tape upon close. An example of such a device is or See mt(7) for more details. It is possible to wind the tape beyond the EOT marker and off the end of the reel. A reservation may only be cleared with a release by the host that issued the original reserve. In the event that the host that holds the reservation is no longer available, the command may be used to reclaim the device by issuing a bus device reset. See st(1M) for more details. The reserve/release functionality can only be issued to drives using the or driver. EXAMPLES
Rewind the tape associated with the device file or (if legacy DSF is disabled): FILES
Raw magnetic tape interface (stape) Raw magnetic tape interface (estape) Default tape interface. If legacy DSF is disabled, the default value is AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
dd(1), st(1M), intro(7), mt(7). mt(1)
All times are GMT -4. The time now is 05:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy