This is very promising. You could cross reference
tpconfig info, which has the hcart, hcart2, hcart3, etc labels with a drive id,
then do a scan to find the type of drive, then use a lookup table to find the
stated capacity.
I'm not sure how useful this is, though. Knowing you
have a 200G drive only gives you a minimum amount that can fit on the
drive. With drive compression you go up to 4 or 5 times this storage with
nice squishy data.
It might be useful to look at how much is usually
fitting on already full tapes to get an average compression factor, then
make a guess from that, I guess.
-M
Try using the scan command: scan or scan -tape or scan
-changer Example output
(scan): ------------------------------------------------------------------------ Device
Name : "" Passthru Name: "" Volume Header: "" Port: 2; Bus: 0;
Target: 1; LUN: 0 Inquiry :
"HP EML E-Series 1222" Vendor
ID : "HP " Product ID : "EML
E-Series " Product Rev: "1222" Serial Number:
"GB80606W91" WWN :
"" WWN Id Type : 0 Device Identifier: "" Device
Type : SDT_CHANGER NetBackup Robot Type:
8 Removable : Yes Device Supports:
SCSI-5 Number of Drives : 8 Number of Slots : 230 Number of Media
Access Ports: 15 Drive 1 Serial Number :
"HU10552GGW" Drive 2 Serial Number :
"HU10552GGD" Drive 3 Serial Number :
"HU10552GGC" Drive 4 Serial Number :
"HU10552GP3" Drive 5 Serial Number :
"HU10716GAG" Drive 6 Serial Number :
"HU10716GCK" Drive 7 Serial Number :
"HU10716G9D" Drive 8 Serial Number :
"HU10716G9Y" Flags : 0x0 Reason:
0x0 ------------------------------------------------------------ Device
Name : "Tape2" Passthru Name: "Tape2" Volume Header: "" Port: 2;
Bus: 0; Target: 1; LUN: 1 Inquiry :
"HP Ultrium 3-SCSI L6CS" Vendor ID
: "HP " Product ID : "Ultrium 3-SCSI
" Product Rev: "L6CS" Serial Number:
"HU10552GGW" WWN :
"" WWN Id Type : 0 Device Identifier: "" Device
Type : SDT_TAPE NetBackup Drive Type:
16 Removable : Yes Device Supports:
SCSI-3 Flags : 0x0 Reason:
0x0 ------------------------------------------------------------
|
All, I am trying to figure out how I can get the capacity or type of
tape media from NetBackup. I don't see anywhere where I can get Raw
Capacity of a tape, but see that bpmedialist does show density. The
problem is that I am seeing hcart instead of DLT or LTO, etc.... I have
also tried vmquery -a, but that doesn't show me enough detail.
Is
there anyway to get the actual raw capacity or actual media type from
NetBackup? Thanks in
advance. -Kevin
|
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|