![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Arithmatic operation issue , datatype issue | thambi | Shell Programming and Scripting | 23 | 02-19-2008 04:19 AM |
| ftp issue | ravi raj kumar | Shell Programming and Scripting | 5 | 02-06-2008 05:24 AM |
| awk issue on AIX | ranj@chn | Shell Programming and Scripting | 1 | 07-04-2007 03:22 AM |
| Issue with rsh | sriram.s | AIX | 5 | 07-03-2007 08:37 AM |
| FTP issue | u263066 | Shell Programming and Scripting | 1 | 07-28-2006 03:18 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
tar /dev/dat issue
Hi,
I am trying to write to a dat tape, using HP UX 10.20 tar: cannot open /dev/dat not mounted ? ioscan ? if so, then where ? suggestions ? thanks simon |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Hi,
Is the tape recognized ? What is the tape device ? Can you do a "ioscan -funC tape" and post the results here ? |
|
#3
|
|||
|
|||
|
here you go. It' an SCSI HP DAT drive
****** Class I H/W Path Driver S/W State H/W Type Description ========================================================================== lan 0 10/0/12/0 btlan3 CLAIMED INTERFACE HP PCI 10/100Base-TX Core /dev/ether0 /dev/lan0 audio 0 10/0/13/0 audio CLAIMED INTERFACE Built-in Audio /dev/audio /dev/audioEA /dev/audioIL_0 /dev/audioNA /dev/audioBA /dev/audioEA_0 /dev/audioIU /dev/audioNA_0 /dev/audioBA_0 /dev/audioEL /dev/audioIU_0 /dev/audioNL /dev/audioBL /dev/audioEL_0 /dev/audioLA /dev/audioNL_0 /dev/audioBL_0 /dev/audioEU /dev/audioLA_0 /dev/audioNU /dev/audioBU /dev/audioEU_0 /dev/audioLL /dev/audioNU_0 /dev/audioBU_0 /dev/audioIA /dev/audioLL_0 /dev/audio_0 /dev/audioCtl /dev/audioIA_0 /dev/audioLU /dev/audioCtl_0 /dev/audioIL /dev/audioLU_0 disk 0 10/0/14/0.0.0 sdisk CLAIMED DEVICE HL-DT-STIDE CDROM /dev/dsk/c0t0d0 /dev/rdsk/c0t0d0 ctl 0 10/0/14/0.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c0t7d0 tty 0 10/0/14/1/1 asio0 CLAIMED INTERFACE Built-in RS-232C /dev/cul00 /dev/diag/mux0 /dev/mux0 /dev/tty0p0 /dev/ttyd00 tty 1 10/0/14/1/2 asio0 CLAIMED INTERFACE Built-in RS-232C /dev/dg /dev/diag/mux1 /dev/mux1 /dev/tty1p0 ext_bus 1 10/0/14/1/3 SCentIf CLAIMED INTERFACE Built-in Parallel Interface /dev/c1t0d0_lp floppy 0 10/0/14/1/4.1 sioflop CLAIMED DEVICE HP_PC_FDC_FLOPPY /dev/floppy/c0t1d0 /dev/rfloppy/c0t1d0 usb 0 10/0/14/2 hcd CLAIMED INTERFACE Built-in USB Interface usbhub 0 10/0/14/2.1 hub CLAIMED DEVICE USB Root Hub /dev/hub usbhid 0 10/0/14/2.1.2 hid CLAIMED DEVICE USB HID Mouse(0) /dev/hid/firstkbd /dev/hid/hid_007 /dev/hid/kbd_000 /dev/hid/mouse_001 /dev/hid/firstmouse /dev/hid/hid_008 /dev/hid/kbd_001 /dev/hid/mouse_002 /dev/hid/hid_000 /dev/hid/hid_009 /dev/hid/kbd_002 /dev/hid/mouse_003 /dev/hid/hid_001 /dev/hid/hid_010 /dev/hid/kbd_003 /dev/hid/mouse_004 /dev/hid/hid_002 /dev/hid/hid_011 /dev/hid/kbd_004 /dev/hid/mouse_005 /dev/hid/hid_003 /dev/hid/hid_012 /dev/hid/kbd_005 /dev/hid/mouse_006 /dev/hid/hid_004 /dev/hid/hid_013 /dev/hid/kbd_006 /dev/hid/mouse_007 /dev/hid/hid_005 /dev/hid/hid_014 /dev/hid/kbd_007 /dev/hid/hid_006 /dev/hid/hid_015 /dev/hid/mouse_000 usbhid 1 10/0/14/2.1.3 hid CLAIMED DEVICE USB HID Kbd(1) ext_bus 2 10/0/15/0 c720 CLAIMED INTERFACE Ultra Narrow Single-Ended SCSI tape 0 10/0/15/0.3.0 stape CLAIMED DEVICE HP C1537A /dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c2t3d0BESTn /dev/rmt/0mb /dev/rmt/c2t3d0BEST /dev/rmt/c2t3d0BESTnb /dev/rmt/0mn /dev/rmt/c2t3d0BESTb ctl 1 10/0/15/0.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c2t7d0 ext_bus 3 10/0/15/1 c720 CLAIMED INTERFACE Ultra2 Wide LVD SCSI disk 1 10/0/15/1.1.0 sdisk CLAIMED DEVICE SEAGATE ST336704LW /dev/dsk/c3t1d0 /dev/rdsk/c3t1d0 disk 2 10/0/15/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST336704LW /dev/dsk/c3t2d0 /dev/rdsk/c3t2d0 disk 3 10/0/15/1.5.0 sdisk CLAIMED DEVICE HP 18.2GST318406LC /dev/dsk/c3t5d0 /dev/rdsk/c3t5d0 disk 4 10/0/15/1.6.0 sdisk CLAIMED DEVICE SEAGATE ST318406LC /dev/dsk/c3t6d0 /dev/rdsk/c3t6d0 ctl 2 10/0/15/1.7.0 sctl CLAIMED DEVICE Initiator /dev/rscsi/c3t7d0 graphics 0 10/6/2/0 graph3 CLAIMED INTERFACE PCI(103c1008) -- 2 |
|
#4
|
||||
|
||||
|
The tape is well recognized, you must use one of its's devices:
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c2t3d0BESTn /dev/rmt/0mb /dev/rmt/c2t3d0BEST /dev/rmt/c2t3d0BESTnb /dev/rmt/0mn /dev/rmt/c2t3d0BESTb You're trying to access /dev/dat, but there's no device with that name... Last edited by jsilva; 11-14-2003 at 10:18 AM. |
|
#5
|
|||
|
|||
|
well that is another issue :-)
How do I know which one /dev/rmt/0m /dev/rmt/0mb /dev/rmt/0mn is the HP dat ? thanks again .. |
|
#6
|
||||
|
||||
|
All those devices belong to the same tape, they just represent diffent ways to use it:
0 is the device number /dev/rmt/0m - at&t style /dev/rmt/0mb - berkeley style /dev/rmt/0mn - at&t style, no rewind ( ... ) |
|
#7
|
|||
|
|||
|
thanks so much for your help.. off I go
|
|||
| Google The UNIX and Linux Forums |