tape drive access/backup


 
Thread Tools Search this Thread
Operating Systems HP-UX tape drive access/backup
# 1  
Old 05-13-2008
tape drive access/backup

Need assistance:

Have HP Visualize C3600 workstation, HP-UX 10.20, and HP C6364A 12GB DDS-3 SCSI DAT drive. I am not a UNIX programmer and did not configure/build workstation.

Ran ioscan and shows up as HPC1537A, class tape, and 10/0/15/0.2.0. Switch on back of unit is denoted SCSI ID and is set to 2.

In SAM, I went to Peripheral Devices, then Tape Drives, and shows up as:
Hardware Path 10/0/15/0.2.0, driver stape, description C1537A 12GB
DDS3 Data Compression Tape Drive (DAT).

Questions:
1 How and what commands do I use to determine where the drive is located i.e. path?
2 How and what commands do I use to access/read from/write to drive?
3 Is the C1537A referenced above correct? I presume that it is and it may be simply internal manufacturer number and indeed correct reference to
C6364A.

An expeditious response is needed and appreciated. Any and all assistance is wholly appreciated.

Thanks in advance. DJ.
# 2  
Old 05-13-2008
Greetings,
Start by typing:
lssf /dev/rmt/0m
What does it give?
# 3  
Old 05-13-2008
P.S.
C1537A is a dds3 scsi HP stape device... so it doesnt puzzle me....
# 4  
Old 05-14-2008
tape drive access/backup

Quote:
Originally Posted by vbe
Greetings,
Start by typing:
lssf /dev/rmt/0m
What does it give?
Hello and thank you ...

lssf /dev/rmt/0m gives following:
stape card instance 2 scsi target 2 scsi lun 0 at&t best density available at address 10/0/15/0.2.0 /dev/rmt/0m

there is also 0mb, 0mn, 0mnb, c2t2d0BEST, c2t2d0BESTb, c2t2d0BESTn, c2t2d0BESTnb in the /dev/rmt directory. when I do an lssf on these, it appears they are at&t or berkeley, no rewind, etc. What this means I have no idea!

Likewise, along the same lines, I tried to use the CD_ROM (Lite-On LTR-24102B) and floppy. In sam they are shown as "unused"? I tried to mount the CD_ROM by following a HP-UX installation guide. It says to first search for the drive with /usr/sbin/ioscan | grep -i CD. Comes back with a hardware path and lists the Lite-On LTS-24102B. Then I tried to mount the drive per book using sam by first selecting disks and file systems, then selecting file systems, then selecing add local file system not using the logical volume manager from actions pulldown menu, selected the Lite-On drive, entered the mount directory as /SD_CDROM, checked create new file system box, checked set user id execution, and unchecked "at every system boot box". But when I said ok, the system prompted with "checking for unmounted file system ..." followed by "creating a new file system ..." followed by "the command, newfs(1m), used to create a new file system on /dev/rdsk/c0t0d0 has failed. The stderr output from the command is shown below.
newfs(hfs): cannot open /dev/rdsk/c0t0d0
newfs(hfs): device busy"

I also tried to mount the drive without sam per book with /usr/sbin/mount/dev/dsk/c1t2d0 (also tried c0t0d0)/SD_CDROM but resulted in "not found".

The tape drive is my highest priority.

This is very frustrating. Thanks in advance.
# 5  
Old 05-14-2008
So lets see if it is 0mn then:
put a tape in the device and then
type
mt -t /dev/rmt/0mn offl
# It should eject the tape...
# tape devices are in /dev/rmt/
# 0m should be the first tape then 1m etc...
# 0mn : the n is for no rewind but mt command works only if norewind device...

If mt succeeded if putting the tape offline (ejected)
then you know what device to use: /dev/rmt/0m or 0mn
Is there a fbackup/frecover command on your station? (I deal with servers...)
You could try to use tar command
But most important since you OS is legacy I would check and see if make_recorevery is installed:
/opt/ignite/bin/make_recovery
If you have it do a make_recovery -Av
# 6  
Old 05-15-2008
Thank you. It ejected with /0m and /0mn and /0mnb. But I have a bigger issue now.
please see new post forthcoming with respect to boot. Did I do something to cause
this issue?

Quote:
Originally Posted by vbe
So lets see if it is 0mn then:
put a tape in the device and then
type
mt -t /dev/rmt/0mn offl
# It should eject the tape...
# tape devices are in /dev/rmt/
# 0m should be the first tape then 1m etc...
# 0mn : the n is for no rewind but mt command works only if norewind device...

If mt succeeded if putting the tape offline (ejected)
then you know what device to use: /dev/rmt/0m or 0mn
Is there a fbackup/frecover command on your station? (I deal with servers...)
You could try to use tar command
But most important since you OS is legacy I would check and see if make_recorevery is installed:
/opt/ignite/bin/make_recovery
If you have it do a make_recovery -Av

Last edited by davel1000; 05-15-2008 at 10:47 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to take backup of ZFS file system on a tape drive?

Hi Guys, I want to take backup of a ZFS file system on tape drive. Can anybody help me with this? Thanks, Pras (0 Replies)
Discussion started by: prashant2507198
0 Replies

2. Solaris

possible to do ufsdump backup without a tape drive ?

hi friends, i am trying to patch a solaris 9 server. However i need to do a ufsdump backup before any patching. There is no hardware port for connecting the tape drive. Any other ways to do a ufsdump ? :wall: (2 Replies)
Discussion started by: Exposure
2 Replies

3. Solaris

Backup to remote tape drive

Hello all, I'm trying to backup some files on a solaris 10 machine to the remote tape drive connected to another solaris 10 machine. I have set up rsh to allow for password-less connection between the servers, but I'm not able to write to the tape with the command: root@sdp4a>tar cvf... (1 Reply)
Discussion started by: kerrygold
1 Replies

4. Solaris

Backup files to tape drive on solaris

Hi, I want to take backup of files older than 20 days from a directory onto a tape drive on remote machine on Solaris. The files are of format abc-20100301000000.gz on my local machine. I know the below commands for searching files older than x days and command for backup procedure. solar1 #... (7 Replies)
Discussion started by: jyothi_wipro
7 Replies

5. UNIX for Dummies Questions & Answers

I cannot restore my backup from my exabyte tape drive

Hi All, I have an old Unix system used by a client as a backup server.I installed an Exabyte tape drive and on restarting the server and during POSTs, the system recognizes the tape drive with its scsi id. On running the command devstat -IAF, the system sees the tape drive quite well. When... (1 Reply)
Discussion started by: ezleone
1 Replies

6. AIX

AIX Tape Drive Backup

Currently I have a Dell Ultrium LTO 2 Tape Drive. I am going to have a IBM AIX server. Just wonder if it is possibe to connect this tape drive to the aix server? I have Brightstor Arcserver installed on another win 2003 server. Is it possible to install the arcserve agent on the aix and use the... (1 Reply)
Discussion started by: ming413
1 Replies

7. Linux

linux backup to solaris tape drive

All, Has anybody ever got a Linux server to backup to a remote Solaris tape drive using the dump command and rsh? I can remtoely backup two Solaris server this way. Any help would be appreciated. Thanks, Mike (0 Replies)
Discussion started by: bubba112557
0 Replies

8. Solaris

Backup over network to remote tape drive

I am currently using tar to backup a server that has 9gb of data. This is fine and works fine, as part of this I send the backup to a remote tape on a remote server using rsh.. This is not very secure though is it? Whats the best idea here - is there another way I should do this to be more... (1 Reply)
Discussion started by: frustrated1
1 Replies

9. UNIX for Dummies Questions & Answers

Replace the tape backup drive

Please help me!!!. I am new to Unix and I have to replace the tape backup drive. Originally the system had an IBM tape drive (Rhomat) that is damged. I changed it and installed a dat drive HP 5000+. The hardware recognize the drive, the diagnostics if OK. But when I try to install the operating... (3 Replies)
Discussion started by: allaite2
3 Replies

10. Cybersecurity

Unix backup to tape drive

does anyone know how I can make an automatic backup of files to a tape drive under UNIX. I have so many commands, I don't know which goes where. I have commands for the task scheduler, Cron and other unix commands. Please help. Very Urgent. Thanks (3 Replies)
Discussion started by: Cute
3 Replies
Login or Register to Ask a Question