The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
AIX Tape Drive Backup ming413 AIX 1 08-14-2007 03:46 PM
linux backup to solaris tape drive bubba112557 Linux 0 02-08-2006 11:23 PM
Backup over network to remote tape drive frustrated1 SUN Solaris 1 11-05-2005 07:17 AM
Replace the tape backup drive allaite2 UNIX for Dummies Questions & Answers 3 06-04-2002 11:29 PM
Unix backup to tape drive Cute Security 3 12-21-2001 10:34 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-13-2008
davel1000 davel1000 is offline
Registered User
  
 

Join Date: May 2008
Posts: 13
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 (permalink)  
Old 05-13-2008
vbe's Avatar
vbe vbe is online now Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,570
Greetings,
Start by typing:
lssf /dev/rmt/0m
What does it give?
  #3 (permalink)  
Old 05-13-2008
vbe's Avatar
vbe vbe is online now Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,570
P.S.
C1537A is a dds3 scsi HP stape device... so it doesnt puzzle me....
  #4 (permalink)  
Old 05-14-2008
davel1000 davel1000 is offline
Registered User
  
 

Join Date: May 2008
Posts: 13
tape drive access/backup

Quote:
Originally Posted by vbe View Post
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 (permalink)  
Old 05-14-2008
vbe's Avatar
vbe vbe is online now Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,570
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 (permalink)  
Old 05-15-2008
davel1000 davel1000 is offline
Registered User
  
 

Join Date: May 2008
Posts: 13
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 View Post
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 09:47 AM..
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:14 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0