- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: tape drive on tru64 5.1
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2004 11:33 PM
тАО05-12-2004 11:33 PM
tape drive on tru64 5.1
I have two tape changers, each with a single tape drive, both seen by scu
>scu show edt
CAM Equipment Device Table (EDT) Information:
Bus/Target/Lun Device Type ANSI Vendor ID Product ID Revision N/W
-------------- ----------- ------ --------- ---------------- -------- ---
0 0 0 Direct SCSI-2 COMPAQ BB00912301 B016 W
0 6 0 Sequential SCSI-3 ARCHIVE Python 06241-XXX 8160 W
0 6 1 Changer SCSI-3 ARCHIVE Python 06241-XXX 8160 W
1 0 0 CD-ROM SCSI-2 COMPAQ CD-224E 9.5B N
7 0 0 Direct SCSI-3 SEAGATE ST373405LW 0001 W
7 2 0 Direct SCSI-3 SEAGATE ST373405LW 0001 W
7 3 0 Direct SCSI-3 SEAGATE ST1181677LW 0001 W
7 5 0 Direct SCSI-3 SEAGATE ST1181677LW 0001 W
8 6 0 Sequential SCSI-3 SEAGATE DAT 06241-XXX 8110 N
8 6 1 Changer SCSI-3 SEAGATE DAT 06241-XXX 8110 N
9 3 0 Direct SCSI-3 SEAGATE ST373405LW 0001 W
9 5 0 Direct SCSI-3 SEAGATE ST373405LW 0001 W
however hwmgr -show scsi only see the changers
# hwmgr -show scsi
SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
43: 0 iron disk none 2 1 dsk0 [0/0/0]
44: 1 iron cdrom none 0 1 cdrom0 [1/0/0]
46: 2 iron disk none 2 5 dsk1 [9/5/0]
47: 3 iron disk none 2 5 dsk2 [9/3/0]
59: 5 iron disk none 2 3 dsk3 [7/5/0]
60: 6 iron disk none 2 3 dsk4 [7/3/0]
61: 7 iron disk none 0 2 (null)
88: 4 iron changer none 0 8 mc0 [8/6/0]
93: 8 iron cdrom none 0 1 (null)
99: 9 iron changer none 0 2 mc1 [0/6/0]
100: 10 iron disk none 2 1 dsk6 [7/0/0]
101: 11 iron disk none 2 1 dsk7 [7/2/0]
do I need to add something to /etc/ddr.dbase ? If so what.
These drives were working on a system running v4.0 1091
# scu show edt
CAM Equipment Device Table (EDT) Information:
Device: RZ28D Bus: 0, Target: 0, Lun: 0, Type: Direct Access
Device: RRD46 Bus: 0, Target: 4, Lun: 0, Type: Read-Only Direct Access
Device: Python 06241-XXX Bus: 0, Target: 6, Lun: 0, Type: Sequential Access
Device: Python 06241-XXX Bus: 0, Target: 6, Lun: 1, Type: Medium Changer
Device: ST373405LW Bus: 1, Target: 0, Lun: 0, Type: Direct Access
Device: ST373405LW Bus: 1, Target: 2, Lun: 0, Type: Direct Access
where the tape was seen as /dev/nrmt0h
why is it not creating /dev/tape/tape0 etc ?
Thanks, Julie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2004 11:48 PM
тАО05-12-2004 11:48 PM
Re: tape drive on tru64 5.1
HAve you done the following, if not try it, it should create the device files for the tape -
# /sbin/dn_setup -install_tape
You may see messages such as +tape0 that list the device names that are created during this operation. The plus sign indicates that the device is being added.
# hwmgr -view device
To check if the device files were created.
HTH,
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2004 11:57 PM
тАО05-12-2004 11:57 PM
Re: tape drive on tru64 5.1
# /sbin/dn_setup -install_tape
(nothing seen on screen)
# hwmgr -view device
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------
3: /dev/scp_scsi
4: /dev/kevm
36: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
43: /dev/disk/dsk0c COMPAQ BB00912301 bus-0-targ-0-lun-0
44: /dev/disk/cdrom0c COMPAQ CD-224E bus-1-targ-0-lun-0
46: /dev/disk/dsk1c SEAGATE ST373405LW bus-9-targ-5-lun-0
47: /dev/disk/dsk2c SEAGATE ST373405LW bus-9-targ-3-lun-0
59: /dev/disk/dsk3c SEAGATE ST1181677LW bus-7-targ-5-lun-0
60: /dev/disk/dsk4c SEAGATE ST1181677LW bus-7-targ-3-lun-0
88: /dev/changer/mc0 DAT 06241-XXX bus-8-targ-6-lun-0
94: /dev/dmapi/dmapi
97: /dev/random
98: /dev/urandom
99: /dev/changer/mc1 Python 06241-XXX bus-0-targ-6-lun-0
100: /dev/disk/dsk6c SEAGATE ST373405LW bus-7-targ-0-lun-0
101: /dev/disk/dsk7c SEAGATE ST373405LW bus-7-targ-2-lun-0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 12:17 AM
тАО05-13-2004 12:17 AM
Re: tape drive on tru64 5.1
it looks like the operating system cannot distinguish the tape drive (at LUN 0) from the changer (at LUN1). If you look at HWID:99 for example, you see that it claims to have two(2) paths to the changer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 12:28 AM
тАО05-13-2004 12:28 AM
Re: tape drive on tru64 5.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 12:36 AM
тАО05-13-2004 12:36 AM
Re: tape drive on tru64 5.1
Can you try the following
# hwmgr -scan scsi
Hopefully this will discover the tapes and create devices for them.
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 12:40 AM
тАО05-13-2004 12:40 AM
Re: tape drive on tru64 5.1
Somehow the operating system cannot distingish the paths to the LUNs and believes it is always the same device behind the target ID.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 12:50 AM
тАО05-13-2004 12:50 AM
Re: tape drive on tru64 5.1
hwmgr -scan scsi makes no difference
It seems to be putting the tape device (lun 0) as the changer (mc0 and mc1) and then ignoring the changer on lun 1.
But how on earth do I get it to talk to me ?
incidentally before booting I get
>>> show device
jka601.6.0.7.1 Archive Python 06241-XXX 8160
jkb601.6.0.8.1 Seagate Dat 06241-XXX 8110
mka600.6.0.7.1 Archive Python 06241-XXX 8160
mkb600.6.0.8.1 Seagate Dat 06241-XXX 8110
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 01:01 AM
тАО05-13-2004 01:01 AM
Re: tape drive on tru64 5.1
could you please post:
ls -l /devices/changer
file /devices/changer/*
mt -f /devices/changer/mc0 status
mt -f /devices/changer/mc1 status
thanks,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2004 01:11 AM
тАО05-13-2004 01:11 AM
Re: tape drive on tru64 5.1
# ls -l /devices/changer
total 0
crw-rw-rw- 1 root system 19,202 May 13 13:34 mc0
crw-rw-rw- 1 root system 19,203 May 13 13:34 mc1
# file /devices/changer/*
/devices/changer/mc0: character special (19/202) SCSI #0 "Python 0" special_device #0 (SCSI ID #6) (SCSI LUN #0)
/devices/changer/mc1: character special (19/203) SCSI #8 "DAT 0" special_device #0 (SCSI ID #6) (SCSI LUN #0)
# mt -f /devices/changer/mc0 status
DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_SPECIAL
bus DEV_SCSI
interface SCSI
device Python 0
adpt_num 0
nexus_num 7
bus_num 0
ctlr_num 0
slave_num 0
dev_name mc
unit_num 4
soft_count 0
hard_count 0
stat 0x0
category_stat 0x0
DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x0
unit_status 0x0
Offline 2_FM_Close NO_Rewind
record_size 0
density (current) 0 BPI
density (on write) 0 BPI
Filemark Cnt
Record Cnt
Class 0 -
mtiocget ioctl failed!
# mt -f /devices/changer/mc1 status
DEVIOGET ELEMENT CONTENTS
---------------- --------
category DEV_SPECIAL
bus DEV_SCSI
interface SCSI
device DAT 0
adpt_num 0
nexus_num 8
bus_num 2
ctlr_num 8
slave_num 0
dev_name mc
unit_num 7
soft_count 0
hard_count 0
stat 0x0
category_stat 0x0
DEVGETINFO ELEMENT CONTENTS
------------------ --------
media_status 0x0
unit_status 0x0
Offline 2_FM_Close NO_Rewind
record_size 0
density (current) 0 BPI
density (on write) 0 BPI
Filemark Cnt
Record Cnt
Class 0 -
mtiocget ioctl failed!