Sponsored Content
Top Forums Shell Programming and Scripting from dos dir a: to similar to a dds tape? Post 31465 by yls177 on Thursday 7th of November 2002 10:30:26 PM
Old 11-07-2002
i am using hpux, solaris, aix
yls177
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

DDS Tape Drives

How do I find if a server contains a DDS3 or a DDS2 drive remotely ? I checked in SMIT and I noticed the description field according to tape drives, but is there another more thorough way? Thanks, Luke (0 Replies)
Discussion started by: Skywlkr235
0 Replies

2. UNIX for Dummies Questions & Answers

DDS-2 Sun tape drive

Hey guys, I'm trying to mount a SUN DDS-2 tape drive on a SUN Ultra 80 machine running Solaris 9. I had the SCSI drive connected at time of install, I'm very new to Solaris so I don't know if Solaris would detect the drive like that and install some form of device driver. But, what im posting... (2 Replies)
Discussion started by: kingdbag
2 Replies

3. Solaris

Copy Tape Drive DDS-01.

Hello, I am trying to copy a boot tape DDS-01 with miniroot, but i donīt get this copy. i have already used the command dd, but donīt work. There are other way to get it. (0 Replies)
Discussion started by: carelias
0 Replies

4. Shell Programming and Scripting

how I change dir in dos

Hi I have a dos batch file in window server where I call a cmd command for creating some db. this cmd commad is located in e:\data\abcd\xyz.cmd. Now I call this batch file from unix ssh.sh but my access point is D in window server here I want to change the dos prompt to e:\data\abcd. in... (3 Replies)
Discussion started by: Jamil Qadir
3 Replies

5. UNIX for Dummies Questions & Answers

HP Unix 10.20 DDS Tape Driver Corruption

Dear Experts and Advanced User, I encounter a rare problem as mentioned above. I am not able to read the tape cartridge using the following command: #dd if=/dev/rmt/0mnb ibs=16k | tar tvf - It will prompt me with the message saying DD I/O error, broken pipe; everytime the above command... (1 Reply)
Discussion started by: stufftiger
1 Replies

6. UNIX for Dummies Questions & Answers

Need help with DDS data tape

Hi all I have BIG headache with an old unix server I have and I need some help and ideas how to solve them effectively. Thanks in advance ***Story*** I have an OLD SCO OpenServer 5 release 5 server with DDS4 tape device. I also have a box full of DDS4 tapes with data inside. I... (3 Replies)
Discussion started by: khaos83_2000
3 Replies

7. Windows & DOS: Issues & Discussions

DOS script to grab the first file in a dir and rename it

:confused: Hello, Is there any way to use the dir command / some DOS Script to select only first file of similar pattern of files in a direcotory and rename it for example, one directory has 5 files abc_1005.txt abc_5256.txt abc_2001.txt abc_2003.txt abc_3006.txt by use script I would... (2 Replies)
Discussion started by: raghav525
2 Replies

8. Windows & DOS: Issues & Discussions

DOS Dir - listing of full path and timestamp

Hi, (Apologies, I'm sure I'm not the first person to raise this question but so far in my searches haven't found a good answer). I would like to output a listing per line of filename (including full path) and 'last updated' timestamp. e.g: Z:\dir1\file1.txt 01/02/2010 10:43... (5 Replies)
Discussion started by: GM_AIX
5 Replies

9. AIX

Cleaning tape frequence for DDS

Hi All, Are there recommendations about the use of cleaning tapes in DDS devices? Should I clean the tape only when the drive indicates cleaning? Should I clean it once a month, week, even every day? Is it harmful to clean the tape every day? Thanks for your insights. --Peter (4 Replies)
Discussion started by: petervg
4 Replies

10. AIX

Testing the dds tape drive on AIX

Hi I need to make some restore tapes for our old AIX systems I have purchased some DDS2 tapes and cleaning tapes The tape drive is rmt0 what commands can I enter to run the cleaning tape through the drive and are the any commands I can enter to test these drives prior to using... (2 Replies)
Discussion started by: madmacher
2 Replies
mt-dds(1)						      General Commands Manual							 mt-dds(1)

NAME
mt-dds - tool to control a dds device. SYNOPSIS
mt-dds comp-on|comp-off|comp-query|comp-log mt-dds < tell|label > [ -b # ] DESCRIPTION
mt-dds controls the compression mode of dds tape devices (DAT). mt-dds may also report the current tape position in absolute records (relative to begin of tape) in a format that may be used later by dds2tar(1) to access tar archives that are not the first file on tape. The default device is /dev/nst0, which may be overridden with the environment variable TAPE, which in turn may be overridden with the -f device option. The device must be a character special file. OPTIONS
DDS tape device control options comp-on Enable the hardware compression mode if supported by the device. comp-off Disable the compression mode, switch to normal mode. comp-query Print to stderr if compression mode currently is disabled or enabled. A 0 means compression is disabled, a 1 means compression in enabled. comp-log Print to stdout four lines of information about transferred kilobytes before and after hardware compression from and to the device since initialization. dds2tar service functions tell Print three lines with the current tape position, a block size value (20 by default, may be overridden with -b option) and a block length value (blocksize*512) to stdout. If this output is redirected to a location file locfile, this file may be used by dds2tar(1) to access archives on tape. label If the current tape position is the beginning of an archive and the archive is labeled, mt-dds writes the label to stdout and moves the tape back to the current position (or back over the filemark). ts If the current tape position is the beginning of an archive and the archive is labeled, mt-dds writes the timestamp in octal format to stdout and moves the tape back to the current position (or back over the filemark). If you are using only one computer, the timestamp can be used as a unique archive identifier. -b # Specify the block size # value that is used as a default for the written value with the mt-dds tell command (see above). Also the internal buffer size is specified with this option which is used to read one block in order to get the block size of the current tape block. So specify the block size of the archive or a larger number. other options -f device Device of the tape archive (default is /dev/nst0). Must be a character special file connected to a dds tape device. -V,--version Print the version number of mt-dds to stderr and exit immediately. --help print some screens of online help with examples through a pager and exit immediately. EXAMPLES
Example 1: checking the compression mode of the default tape device mt-dds comp-query Example 2: Write the location information as dds2tar command line options to stdout. mt-dds ENVIRONMENT
The environment variable TAPE overrides the default tape device /dev/nst0. PAGER The environment variable PAGER overrides the builtin pager command ("/bin/more") to display the output of the --help option. SEE ALSO
dds2tar(1), dds2index(1), mt(1), tar(1) HISTORY
This program was created to use it in conjunction with dds2tar. AUTHOR
J"org Weule (weule@cs.uni-duesseldorf.de), Phone +49 211 751409. This software is available at ftp.uni-duesseldorf.de:/pub/unix/apollo 2.4 mt-dds(1)
All times are GMT -4. The time now is 01:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy