tar /dev/dat issue


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers tar /dev/dat issue
# 1  
Old 11-14-2003
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
# 2  
Old 11-14-2003
Hi,

Is the tape recognized ? What is the tape device ?
Can you do a "ioscan -funC tape" and post the results here ?
# 3  
Old 11-14-2003
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  
Old 11-14-2003
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 01:18 PM..
# 5  
Old 11-14-2003
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  
Old 11-14-2003
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  
Old 11-14-2003
thanks so much for your help.. off I go
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to use 'ls' command to list files like *.dat, not *.*.dat?

How to use 'ls' command to list files like *.dat, not *.*.dat (5 Replies)
Discussion started by: pmcginni777
5 Replies

2. Shell Programming and Scripting

Tar and un-tar issue

In AIX 5.3, I have these directories: /lms /lms/w_standard /lms/d_admin /lms/b_common /lms/b_prodbus /lms/d_prod /lms/d_prod/ccldir /lms/d_prod/ccluserdir /lms/d_prod/config /lms/d_prod/data /lms/d_prod/log /lms/d_prod/ocd /lms/d_prod/print /lms/d_prod/temp /lms/reg... (7 Replies)
Discussion started by: Daniel Gate
7 Replies

3. Solaris

/dev/ptmx issue session_pty_req: session 0 alloc failed

I've got a Solaris 10 server that got a corrupted root filesystem. After being forced to run fsck against it, the OS is now up and the filesystem read/writable. However, ssh from any account other than root fails with the following error: PTY allocation request failed on channel 0 On the... (0 Replies)
Discussion started by: michaeltravisuk
0 Replies

4. Shell Programming and Scripting

Tar to decompress and to convert file to .dat format

tar -tvf abc.tar.gz gives me the file name abc.Is it possible to rename the file to abc.dat while decompressing using tar ? Thanks. (2 Replies)
Discussion started by: vedanta
2 Replies

5. AIX

/dev/null file issue

Hi Experts, I Have a query. In one of my server I just came to know that there was /dev/null file which is a not a character file. Its just a normal file. I know the command to create the character file (/dev/null) but what is the procedure. Like should i delete /dev/null and create or... (7 Replies)
Discussion started by: jayadeava
7 Replies

6. Ubuntu

tar not reading if output directed to /dev/null

I stumbled across a somewhat strange behavior of tar and find no explanation for it: i was testing a DVD for read errors and thought to simply tar the content and direct the output to /dev/null: tar -cvf - /my/mountpoint/*ts > /dev/null This way i expected the system to read the complete... (4 Replies)
Discussion started by: bakunin
4 Replies

7. Shell Programming and Scripting

Performance issue in UNIX while generating .dat file from large text file

Hello Gurus, We are facing some performance issue in UNIX. If someone had faced such kind of issue in past please provide your suggestions on this . Problem Definition: /Few of load processes of our Finance Application are facing issue in UNIX when they uses a shell script having below... (19 Replies)
Discussion started by: KRAMA
19 Replies

8. Solaris

What is /dev/tty /dev/null and /dev/console

Hi, Anyone can help My solaris 8 system has the following /dev/null , /dev/tty and /dev/console All permission are lrwxrwxrwx Can this be change to a non-world write ?? any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies

9. UNIX for Advanced & Expert Users

'tar -xvf' command filled up /dev/root

On a newly configured hp unix server, I got the following error while I was trying to untar a file: tar -xvf 9201rdbms.tar .... /htc_ora_prod/stage9.2.0_64bit/Disk2/stage/Components/oracle.rdbms.seeddb.compoltp/9.2.0.1.0/1/DataFiles/Expanded/seed/templates/Transaction_Processing.dfj, 174282115... (2 Replies)
Discussion started by: YuChing
2 Replies

10. UNIX for Advanced & Expert Users

Has anyone seen this issue with the /dev/null?

hello all, I am working in a Hpux 11.0 64 bit environment. I am not sure if a third party software is doing this or not, but the admin to this server says it is not a server issue as he has check and double check logs and crons to verify this issue. My problem, is that every now and then, once... (4 Replies)
Discussion started by: oott
4 Replies
Login or Register to Ask a Question