- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Add New Tape Drive
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
тАО10-09-2006 03:02 AM
тАО10-09-2006 03:02 AM
Add New Tape Drive
Below is some info from the sever that uses that tape drive:
# /sbin/hwmgr -view devices
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------
5: /dev/scp_scsi
6: /dev/kevm
100: /dev/disk/dsk0c COMPAQ LOGICAL VOLUME bus-0-targ-0-lun-0
104: /dev/disk/cdrom0c TEAC CD-W216E bus-4-targ-0-lun-0
105: /dev/random
106: /dev/urandom
107: /dev/cport/scp0 Smart Array 5300 bus-0-targ-32-lun-0
162: /dev/disk/dsk1c COMPAQ LOGICAL VOLUME bus-0-targ-1-lun-0
195: /dev/ntape/tape0 HP Ultrium 2-SCSI bus-5-targ-3-lun-0
/sbin/hwmgr get attrib -id 195
# /sbin/hwmgr get attrib -id 195
195:
path_port_id_5 = 5
path_target_id_5 = 3
path_lun_id_5 = 0
path_dev_i/o_cnt_5 = 0
path_state_5 = 1
path_new_state_5 = 0
path_xfer_5 = 0
path_wds_5 = 0
path_avserv_5 = 0
path_pxfer_5 = 0
path_avwait_5 = 0
registration_time = Fri Nov 18 11:41:10 2005
user_name = (null) (settable)
location = (null) (settable)
software_module = (null)
state = available
state_previous = unknown
state_change_time = none
event_count = 6
last_event_time = Wed Oct 4 07:34:40 2006
access_state = online
access_state_change_time = none
capabilities = 0
indicted = 0
indicted_probability = (null)
indicted_urgency = (null)
disabled = 0
name = SCSI-WWID:02000008:5006-0b00-0028-998e
category = tape
architecture = SCSI
phys_location = bus-5-targ-3-lun-0
dev_base_name = tape0
model = Ultrium 2-SCSI
firmware_rev = F48D
read_ops = 10
write_ops = 28251403
read_bytes = 71680
write_bytes = 289294074880
current_density = 64
block_size = 0
records = 0
filemarks = 1
rewind_timo = 3600
space_timo = 3600
load_timo = 3600
space_eod_timo = 3600
resid = 0
sense_info = 0
sense_key = 11
soft_err = 0
hard_err = 30
active_paths = 1
standby_paths = 0
failed_paths = 0
donot_use_paths = 0
selected_bus = 5
selected_target = 3
selected_lun = 0
path_fail_limit = 1
subsys_dev_handle = 2
manufacturer = HP
consistent_name = 1
ccmn_specific_addr = 18446739676668664960
cluster_dev_directions = 0 (settable)
drvr_max_xfer = 16777215
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2006 04:23 AM
тАО10-09-2006 04:23 AM
Re: Add New Tape Drive
hwmgr scan scsi
It's very likely that now you will see tape0 and tape1. The tape0 device file should be removed and tape1 renamed to tape0.
hwmgr delete -id 195
dsfmgr -m tape1 tape0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 01:34 AM
тАО10-10-2006 01:34 AM
Re: Add New Tape Drive
# uname -a
OSF1 ofatest1 V5.1 2650 alpha
The output from the process follows:
# /sbin/hwmgr scan scsi
hwmgr: Scan request successfully initiated
# /sbin/hwmgr -view devices
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------
5: /dev/scp_scsi
6: /dev/kevm
100: /dev/disk/dsk0c COMPAQ LOGICAL VOLUME bus-0-targ-0-lun-0
104: /dev/disk/cdrom0c TEAC CD-W216E bus-4-targ-0-lun-0
105: /dev/random
106: /dev/urandom
107: /dev/cport/scp0 Smart Array 5300 bus-0-targ-32-lun-0
162: /dev/disk/dsk1c COMPAQ LOGICAL VOLUME bus-0-targ-1-lun-0
195: /dev/ntape/tape0 HP Ultrium 2-SCSI bus-5-targ-3-lun-0
196: /dev/ntape/tape1 HP Ultrium 2-SCSI bus-5-targ-3-lun-0
# /sbin/hwmgr delete -id 195
hwmgr: Delete operation was successful
# /sbin/dsfmgr -m tape1 tape0
tape1=>tape0 tape1_d0=>tape0_d0 tape1_d1=>tape0_d1 tape1_d2=>tape0_d2 tape1_d3=>tape0_d3
tape1_d4=>tape0_d4 tape1_d5=>tape0_d5 tape1_d6=>tape0_d6 tape1_d7=>tape0_d7 tape1c=>tape0c
tape1=>tape0 tape1_d0=>tape0_d0 tape1_d1=>tape0_d1 tape1_d2=>tape0_d2 tape1_d3=>tape0_d3 ta
pe1_d4=>tape0_d4 tape1_d5=>tape0_d5 tape1_d6=>tape0_d6 tape1_d7=>tape0_d7 tape1c=>tape0c
# /sbin/hwmgr -view devices
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------
5: /dev/scp_scsi
6: /dev/kevm
100: /dev/disk/dsk0c COMPAQ LOGICAL VOLUME bus-0-targ-0-lun-0
104: /dev/disk/cdrom0c TEAC CD-W216E bus-4-targ-0-lun-0
105: /dev/random
106: /dev/urandom
107: /dev/cport/scp0 Smart Array 5300 bus-0-targ-32-lun-0
162: /dev/disk/dsk1c COMPAQ LOGICAL VOLUME bus-0-targ-1-lun-0
196: /dev/ntape/tape0 HP Ultrium 2-SCSI bus-5-targ-3-lun-0
# ls
.TTauthority .new...login 1.2 home shlib
.Xauthority .new...profile GENERIC krb5 subsys
.cdsa .osonly_tmp backup_db lib sys
.cshrc .profile bin mdec tape
.dt .proto...cshrc binary.errlog mnt tcb
.dtprofile .proto...login cdrom nohup.out testfile.txt
.local.. .proto...profile cluster nsr tmp
.login .sh_history cp opt u01
.lttreg .ssh2 dev osf_boot usr
.mrg...login .sysman devices proc var
.new...cshrc .sysman_ofatest1 etc sbin vmunix
# /usr/bin/tar cvf /dev/tape/tape0 testfile.txt
a testfile.txt 1 Blocks
tar: write : I/O error
tar: A write error has occurred.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 03:17 AM
тАО10-10-2006 03:17 AM
Re: Add New Tape Drive
# /usr/bin/tar cvf /dev/tape/tape0c testfile.txt
Using the trailing "c" at the end of the device name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 03:50 AM
тАО10-10-2006 03:50 AM
Re: Add New Tape Drive
# /usr/bin/tar cvf /dev/tape/tape0c testfile.txt
a testfile.txt 1 Blocks
tar: write : I/O error
tar: A write error has occurred.
#