Sponsored Content
Full Discussion: Partitioning DDS Tapes
Top Forums UNIX for Advanced & Expert Users Partitioning DDS Tapes Post 302074315 by dhaverstick on Monday 22nd of May 2006 03:51:37 PM
Old 05-22-2006
Partitioning DDS Tapes

Does anyone know how to partition 4mm DDS tapes in any flavor of UNIX besides HP-UX? My HP-UX box died and I have bunch of backup tapes with two partitions on them and I can't figure out how to read the second partition using other kinds of UNIX.

Thanks in advance,
Darren
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

from dos dir a: to similar to a dds tape?

is it possible to see what is in a dds tape? like in dos, we can write dir a: to see the contents of it? thanks PS : actually, i came from a DOS background. so most of the time, i will try to relate unix to dos. of course, dos never came close to unix. but unix is like many instances of dos... (3 Replies)
Discussion started by: yls177
3 Replies

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

3. UNIX for Dummies Questions & Answers

Partitioning DDS Tapes

Does anyone know how to partition 4mm DDS tapes in any flavor of UNIX besides HP-UX? My HP-UX box died and I have bunch of backup tapes with two partitions on them and I can't figure out how to read the second partition using other kinds of UNIX. Thanks in advance, Darren (1 Reply)
Discussion started by: dhaverstick
1 Replies

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

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

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

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

8. UNIX for Advanced & Expert Users

Need some information about Pacs and DDS Packets

Good Morning, All, I need to know what are PACs and DDS Packets in Unix and whats its advantage? Please help me in understanding this or refer me to some material so that I can have a better understanding of it. Thanks. (0 Replies)
Discussion started by: Samohd
0 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
mediainit(1)						      General Commands Manual						      mediainit(1)

NAME
mediainit - initialize disk or partition DDS tape SYNOPSIS
fmt_optn] interleave] size] pathname scrub_character] scrub_count] special_file DESCRIPTION
initializes mass storage media by formatting the media, writing and reading test patterns to verify media integrity, then sparing any defective blocks found. This process prepares the disk or tape for error-free operation. Initialization destroys all existing user data in the area being initialized. can also be used for partitioning DDS tape media. See the option below for further details. can also be used for disk scrubbing. Disk scrubbing is the process of overwriting the entire disk with a single character. See the option below for further details. Options The following command options are recognized. They can be specified in any order, but all must precede the pathname or special_file. Options without parameters can be listed individually or grouped together. Options with parameters must be listed individually, but white space between the option and its parameter is discretionary. Normally, provides only fatal error messages which are directed to standard error. The (verbose) option sends device-spe- cific information related to low-level operation of to standard output (stdout). This option is most useful to trained service personnel because it usually requires detailed knowledge of device operation before the informa- tion can be interpreted correctly. (re-certify) This option forces a complete tape certification whether or not the tape has been certified previously. All record of any previously spared blocks is discarded, so any bad blocks will have to be rediscovered. This option should be used only if: o It is suspected that numerous blocks on the tape have been spared which should not have been, or o It is necessary to destroy (overwrite) all previous data on the tape. The format option is a device-specific number in the range through It is intended solely for use with certain SS/80 devices that support multiple media formats (indepen- dent from interleave factor). For example, certain microfloppy drives support 256-, 512-, and 1024-byte sec- tors. passes any supplied format option directly through to the device. The device then either accepts the format option if it is supported, or rejects it if it is not supported. Refer to device operating manuals for additional information. The default format option is The interleave factor, interleave, refers to the relationship between sequential logical records and sequential physical records. It defines the number of physical records on the media that lie between the beginning points of two consecutively numbered logical records. The choice of interleave factor can have a substantial impact on disk performance. Partition DDS cartridge media into two logical separate volumes: partition 0 and partition 1: o size specifies the minimum size of partition 1 (in megabytes). The maximum allowed value is 1200 megabytes. o Partition 0 is the remainder of the tape (partition 0 physically follows partition 1 on the tape). The actual size of partition 1 is somewhat larger than the requested size to allow for tape media errors during writing. Thus, a size of 400 megabytes formats the DDS tape into two partitions where partition 1 holds at least 400 megabytes of data, and the remainder of the tape is used for partition 0 (for a 1300 megabytes DDS cartridge, this means that partition 0 has a size somewhat less than 900 megabytes). Note that it is unnecessary to format a DDS tape before use unless the tape is being partitioned. Unformatted DDS media does not require initialization when used as a single partition tape. Accessing partition 1 on a sin- gle-partition tape produces an error. To change a two-partition tape to single-partition, use with specified as the size. pathname pathname is the path name to the character (raw) device special file associated with the device unit or volume that is to be initialized. aborts if you lack either read or write permission to the device special file, or if the device is currently open for any other process. This prevents accidental initialization of the root device or any mounted volume. locks the unit or volume being initialized so that no other processes can access it. Except for SCSI devices, pathname must be a device special file whose minor number of the device being initial- ized has the diagnostic bit set. For device special files with the diagnostic bit set, the section number is meaningless. The entire device is accessed. The scrub_character refers to the character input by the user. The disk will be scrubbed using this character. Any character between or or can be specified. The option must be used with the option. If the option is specified, the disk will be scrubbed for scrub_count number of times. This option must be used with the option. This option is used for disk scrubbing. The and options must be used with the option. If both and options are not specified, then the device will be scrubbed three times. special_file The special_file is path name of the character (raw) device special file associated with the device that is to be scrubbed. aborts if you do not have either read or write permission to the device special file, or if the device is currently open for any other process. locks the device special file being scrubbed so that no other processes can access it. Note that before a device special file is scrubbed, if any file system is on the disk, you must unmount the file system. This option is used to verify the scrubbed disk. The option randomly validates the scrubbed data written during the last pass of the disk scrub process. The option must be used with the option. When a given unit contains multiple volumes as defined by the drive controller, any available unit or volume associated with that con- troller can be initialized, independent of other units and volumes that share the same controller. Thus, you can initialize one unit or volume to any format or interleave factor without affecting formats or data on companion units or volumes. However, be aware that the entire unit or volume (as defined by the drive controller) is initialized without considering the possibility that it may be subdivided into smaller structures by the the operating software. When such structures exist, unexpected loss of data is possible. dominates controller resources and limits access by competing processes to other units or volumes sharing the same controller. If other simultaneous processes need access to the same controller, some access degradation can be expected until initialization is complete; espe- cially if you are initializing a tape cartridge in a drive that shares the root disk controller. In general, attempts to carefully check any (format option) or (interleave options) supplied, and aborts if an option is out of range or inappropriate for the media being initialized. Specifying an interleave factor or format option value of has the same effect as not speci- fying the option at all. For disks that support interleave factors, the acceptable range is usually (no interleave) through n-1, where n is the number of sectors per track. Refer to the appropriate device operating manual for recommended values. If a disk being initialized requires an interleave factor but none is specified, provides an appropriate, though not necessarily optimum default. When a given device supports format options, the allowable range of interleave factors may be related to the specified format option. In such instances, cannot check the interleave factor if one is specified. Notes Most types of mass storage media must be initialized before they can be used. HP hard disks, flexible disks, and cartridge tapes require some form of initialization, but 9-track tapes do not. Initialization usually involves formatting the media, writing and reading test pat- terns, then sparing any defective blocks. Depending upon the media and device type, none, some, or all of the initialization process may have been performed at the factory. completes whatever steps are appropriate to prepare the media for error-free operation. Most HP hard disks are formatted and exhaustively tested at the factory by use of a process more thorough but also more time-consuming than appropriate for However, is still valuable for ensuring the integrity of the media after factory shipment, formatting with the correct interleave factor, and sparing any blocks which may have become defective since original factory testing was performed. HP flexible disks are not usually formatted prior to shipment, so they must undergo the entire initialization process before they can be used. When a tape is certified, it is thoroughly tested and defective blocks are spared. usually certifies a tape only if it has not been certi- fied previously. If the tape has been previously certified and spared, usually reorganizes the tape's spare block table, retaining any previous spares, and optimizing their assignment for maximum performance under sequential access. Reorganizing the spare block table takes only a few seconds, whereas complete certification takes about a half-hour for 150-foot tapes, and over an hour for 600-foot tapes. Reorganization of a tape's spare block table technically renders any existing data undefined, but the data is not usually destroyed by overwriting. To ensure that old tape data is destroyed, which is useful for security, complete tape re-certification can be forced with the option. Some applications may require that a file system be placed on the media before use. does not create a file system; it only prepares media for writing and reading. If such a file system is required, other utilities such as or must be invoked after running (see newfs(1M), lifinit(1), and mkfs(1M)). RETURN VALUE
returns one of the following values: 0 Successful completion. 1 A device-related error occurred. 2 A syntax-related error was encountered. ERRORS
Appropriate error messages are printed on standard error during execution of EXAMPLES
Scrub the specified device special file using the default of three times (the default). Scrub the specified device special file twice with a scrub character of 0. Scrub the specified device special file twice with a scrub character of 0 and verify. WARNINGS
For a device that contains multiple units on a single controller, each unit can be initialized independently from any other unit. It should be noted, however, that requires that there be no other processes accessing the device before initialization begins, regardless of which unit is being initialized. If there are accesses currently in progress, aborts. Aborting is likely to leave the medium in a corrupt state, even if it was previously initialized. To recover, the initialization must be restarted. During the initialization process, rejects all other accesses to the device being initialized, producing the error (see open(2)). DEPENDENCIES
Series 800 Partitioning of DDS tape media option) is not supported. AUTHOR
was developed by HP. SEE ALSO
lifinit(1), mkfs(1M), newfs(1M), open(2). mediainit(1)
All times are GMT -4. The time now is 05:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy