The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > 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 12:46 PM
linux backup to solaris tape drive bubba112557 Linux 0 02-08-2006 07:23 PM
Backup over network to remote tape drive frustrated1 SUN Solaris 1 11-05-2005 03:17 AM
Replace the tape backup drive allaite2 UNIX for Dummies Questions & Answers 3 06-04-2002 08:29 PM
Unix backup to tape drive Cute Security 3 12-21-2001 06:34 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: May 2008
Posts: 13
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-13-2008
vbe vbe is offline
Registered User
 

Join Date: Sep 2005
Location: Switzerland
Posts: 364
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Greetings,
Start by typing:
lssf /dev/rmt/0m
What does it give?
Reply With Quote
  #3 (permalink)  
Old 05-13-2008
vbe vbe is offline
Registered User
 

Join Date: Sep 2005
Location: Switzerland
Posts: 364
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
P.S.
C1537A is a dds3 scsi HP stape device... so it doesnt puzzle me....
Reply With Quote
  #4 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 13
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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.
Reply With Quote
  #5 (permalink)  
Old 05-14-2008
vbe vbe is offline
Registered User
 

Join Date: Sep 2005
Location: Switzerland
Posts: 364
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this 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
Reply With Quote
  #6 (permalink)  
Old 05-15-2008
Registered User
 

Join Date: May 2008
Posts: 13
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
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 06:47 AM.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101