tape device


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users tape device
# 1  
Old 10-24-2005
tape device

Hi,
1- how can I find my tape device on my server ?
2-I have a backup of a data base distributed on several file system. How using tar -x can I extract from tape to each apropriate file system ? For exemple the data base was on /d1 ; /d2 ; and /d3. Now I cd to which /dn and use tar -xvf /dev/nm0 to extracte /d1 on the tape to /d1 on the disk; /d2 to /d2 and /d3 to /d3 ?
Many thanks before.
OS is AIX.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

2. AIX

Backup to a remote tape device. Is it possible?

Hi all The situation is as follows: We need to take an mksysb image from an AIX 6.1 server. From some reason (irrelevant to this discussion) this server does not have access to a local CD-ROM or a tape drive. We do have another server with AIX 6.1 (but different technology level) which got access... (1 Reply)
Discussion started by: abohmeed
1 Replies

3. AIX

Tape device temporarily unavailable

Hi All, After (by accident) closing a session that ran a restore command I can not access the tape drive anymore. I get the following error: # tctl -f /dev/rmt0 rewind /dev/rmt0: Resource temporarily unavailable But I cannot find any processes associated with the tape device: # ps... (2 Replies)
Discussion started by: petervg
2 Replies

4. Solaris

Tape device 1cbn path not getting created

After we upgraded one PW450 machine from (networker 7.2 & solaris 9) to (networker 7.4 and solaris 10) through scratch installation Only one of two HP tape drives is shown in inquire command And we are getting strange logs in messages file (attached) For 2nd drive 1cbn character specific file... (4 Replies)
Discussion started by: kashif_islam
4 Replies

5. UNIX for Dummies Questions & Answers

How to change tape device name.

I disconected external device which was configured as rmt0. When I connect it again and run cfgmgr device name has changed (internal drive which was rmt1 is now rmt0 and external drive was rmt0 and is rmt1) and I dont know how to back it out. The thing is that for all backups I use new modell... (2 Replies)
Discussion started by: fraydey
2 Replies

6. Solaris

Jumpstart process can´t find tape device

Hi to all, I´m recovering a Solaris box trough jumpstart with restore of a flash archive on tape. The tape device is recognized by OBP in probe-scsi-all and by the operating system that is instaled on that box where i want to restore flar as /dev/rmt/2. But when a i boot with " (0) ok boot net -... (0 Replies)
Discussion started by: spacewalker
0 Replies

7. Solaris

flarcreate to remote tape device

Hi, Someone knows hot to create a flash archive to a remote tape device? Here is my try: $flarcreate -n nereus -S -t lisdev:/dev/rmt/1n WARNING: hash generation disabled when using tape (-t) current filter settings Creating the archive... ERROR: Unable to work archive. Regards (4 Replies)
Discussion started by: spacewalker
4 Replies

8. UNIX for Dummies Questions & Answers

Is it possible to ufsdump to a file instead of a tape device?

Eh... what the title says. :) (8 Replies)
Discussion started by: PSC
8 Replies

9. SCO

tape drive driver device file

i have a sco-unix box. I want to access tape driver (sdt-700) on scsi. but i dont know how? where is this device file for tape driver is located? how do i access this tape? pls help this fool. (1 Reply)
Discussion started by: mchitrakar
1 Replies

10. Programming

tape device

Hi, I have problem detecting my tape drive. In SAM, once I click on the either Automated Backups or Interactive Backup and Recovery icon, the screen will prompt searching for device and ..... nothing appears in the list. In the end, I have the kill the SAM process and reboot the system and... (1 Reply)
Discussion started by: jennifer
1 Replies
Login or Register to Ask a Question
READ_TAPE(8)						       AFS Command Reference						      READ_TAPE(8)

NAME
read_tape - Reads volume dumps from a backup tape to a file SYNOPSIS
read_tape -tape <tape device> -restore <# of volumes to restore> -skip <# of volumes to skip> -file <filename> [-scan] [-noask] [-label] [-vheaders] [-verbose] [-help] DESCRIPTION
read_tape reads an OpenAFS backup tape and prompts for each dump file to save. This command does not require any OpenAFS infrastructure. This command does not need an OpenAFS client or server to be available, which is not the case with the backup(8) command. The dump files will be named for the Read/Write name of the volume restored. After saving each dump file, vos restore or restorevol can be used to restore the volume into AFS and non-AFS space respectively. read_tape reads the tape while skipping the specified number of volumes. After that, it restores the specified number of volumes. read_tape doesn't rewind the tape so that it may be used multiple times in succession. OPTIONS
-tape <tape device> Specifies the tape device from which to restore. -restore <# of volumes to restore> Specifies the number of volumes to restore from tape. -skip <# of volumes to skip> Specifies the number of volumes to skip before starting the restore. -file <filename> Specifies an alternate name for the restored volume dump file rather than the default of the volume name. -scan Scans the tape. -noask Doesn't prompt for each volume. -label Displays the full dump label. -vheaders Displays the full volume headers. -verbose Produces on the standard output stream a detailed trace of the command's execution. If this argument is omitted, only warnings and error messages appear. -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command will read the third through fifth volumes from the tape device /dev/tape without prompting: % read_tape -tape /dev/tape -skip 2 -restore 3 -noask PRIVILEGE REQUIRED
The issuer must have access to read and write to the specified tape device. SEE ALSO
backup(8), restorevol(1), vos_restore(1) COPYRIGHT
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com> This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS. OpenAFS 2012-03-26 READ_TAPE(8)