Operating System - Tru64 Unix
1748274 Members
4188 Online
108761 Solutions
New Discussion юеВ

Re: Add new SCSI tape for backing up all files systems

 
Fodil ATTAR
Frequent Advisor

Add new SCSI tape for backing up all files systems

Hi
I Plugged in a TZ87 drive in alpha1000 v4.0
The tape is seen from >>> level as DKA400
and also seen from Os level as follow
Bus 0 target 4 lun 0
I did
cd /dev
./MAKEDEV tz4
But still can't use the mount or mt command

Any advise will very welcome.

Regards,

Fodil.
We must become the change we want to see cf. GHANDI
12 REPLIES 12
Michael Schulte zur Sur
Honored Contributor

Re: Add new SCSI tape for backing up all files systems

Hi,

MAKEDEV counts. First rmt0 then rmt1 and so on.
Please remove all rmt devices in /dev and try again.

greetings,

Michael
Victor Semaska_3
Esteemed Contributor

Re: Add new SCSI tape for backing up all files systems

At the console level (>>>) I believe tape drives are named MKA###. Are you sure you're looking at the correct device?

If you use >>> show device, what does it say to the right of the device name?

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Johan Brusche
Honored Contributor

Re: Add new SCSI tape for backing up all files systems


And if by any change your confused about your OS version.... on V5.xy, you should use

hwmgr scan scsi
and
dn_setup -install_tape

(as said before, at the console >>> it should appear as MKxn00 not DKxn00...)

Johan.

_JB_
Fodil ATTAR
Frequent Advisor

Re: Add new SCSI tape for backing up all files systems

Hi Michael and Vic, thank for your kind quick answer. I did this

/dev # scu show edt

CAM Equipment Device Table (EDT) Information:

Device: RZ28D Bus: 0, Target: 0, Lun: 0, Type: Direct Access
Device: RZ28 Bus: 0, Target: 1, Lun: 0, Type: Direct Access
Device: RZ28 Bus: 0, Target: 2, Lun: 0, Type: Direct Access
Device: RZ29B Bus: 0, Target: 3, Lun: 0, Type: Direct Access
Device: RRD43 Bus: 0, Target: 4, Lun: 0, Type: Read-Only Direct Access
/dev # rm -i *rmt*
rm: Remove nrmt0a? y
rm: Remove nrmt0h? y
rm: Remove nrmt0l? y
rm: Remove nrmt0m? y
rm: Remove rmt0a? y
rm: Remove rmt0h? y
rm: Remove rmt0l? y
rm: Remove rmt0m? y
/dev #
/dev # ./MAKEDEV tz4
MAKEDEV: special file(s) for tz4:
rmt0l
rmt0h
rmt0m
rmt0a
nrmt0l
nrmt0h
nrmt0m
nrmt0a
/dev # mt -f /dev/nrmt0h rew
/dev/nrmt0h: No such device or address
/dev # file /dev/nrmt0h
/dev/nrmt0h: character special (9/4099)
/dev # file /dev/nrmt0a
/dev/nrmt0a: character special (9/4103)
/dev # file /dev/nrmt0l
/dev/nrmt0l: character special (9/4097)
/dev # file nrmt0m
nrmt0m: character special (9/4101)
/dev # file nrmt0h
nrmt0h: character special (9/4099)
/dev #


Answer For Vic, The >>> prompt see the DKA400 as RRD43 DEVICE. and as you see the OS see it also as RRD43

Then I still get the problem.

Regards,

Fodil
We must become the change we want to see cf. GHANDI
Fodil ATTAR
Frequent Advisor

Re: Add new SCSI tape for backing up all files systems

Hi Johan, thanks for answer.

/dev # uname -a
OSF1 tasc10.Netview V4.0 1229 alpha
/dev #
/dev # hwmgr scan scsi
ksh: hwmgr: not found.

Regards,

Fodil.
We must become the change we want to see cf. GHANDI
Victor Semaska_3
Esteemed Contributor

Re: Add new SCSI tape for backing up all files systems

RRD43 is a Compact Disk (CD) drive. It's definitely not the tape drive. Sounds like your system doesn't see the tape drive at all.

Could you shut it down and show us the output from >>> show device?

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Fodil ATTAR
Frequent Advisor

Re: Add new SCSI tape for backing up all files systems

You're probably right, I might badly interpret what I have seen.
In /usr/adm/messages the tape is seen as TLZ09 target 1 lun 0

This device is not seen in scu below.


dev # scu show edt

CAM Equipment Device Table (EDT) Information:

Device: RZ28D Bus: 0, Target: 0, Lun: 0, Type: Direct Access
Device: RZ28 Bus: 0, Target: 1, Lun: 0, Type: Direct Access
Device: RZ28 Bus: 0, Target: 2, Lun: 0, Type: Direct Access
Device: RZ29B Bus: 0, Target: 3, Lun: 0, Type: Direct Access
Device: RRD43 Bus: 0, Target: 4, Lun: 0, Type: Read-Only Direct Access

/dev # grep tz1 /usr/adm/messages
Jul 18 11:42:23 tasc10 vmunix: tz1 at scsi0 target 1 lun 0 (LID=1) (DEC TLZ09 (C)DEC 0172)
Jul 18 12:04:03 tasc10 vmunix: tz1 at scsi0 target 1 lun 0 (LID=1) (DEC TLZ09 (C)DEC 0172)
Jul 18 14:38:37 tasc10 vmunix: tz1 at scsi0 target 1 lun 0 (LID=1) (DEC TLZ09 (C)DEC 0172)
Jul 18 14:45:57 tasc10 vmunix: tz1 at scsi0 target 1 lun 0 (LID=1) (DEC TLZ09 (C)DEC 0172)

We must become the change we want to see cf. GHANDI
Victor Semaska_3
Esteemed Contributor

Re: Add new SCSI tape for backing up all files systems

Those are old entries in /var/adm/messages, they go back to July. You just added this tape drive, right?

Again, you'll have to shut down and do >>> show device.

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Fodil ATTAR
Frequent Advisor

Re: Add new SCSI tape for backing up all files systems

I am tired i guess the previuous messages are from july...
We must become the change we want to see cf. GHANDI