HP-UNIX File System&Storage 的一些基本知识(下)
贲培
2023-12-01
查看磁盘阵列
armdsp -a vaname 适合VA7xx0系列, 据称其他也可以用 (可用armdsp -i 查VA NAME)
amdsp -a vaname 适合FC60
arraydsp -a vaname 适合Autoraid
但EVA的就只能到COMMAND VIEW里看了。
armdsp -a va1
Vendor ID:______________________________HP
Product ID:_____________________________A6218A
Array World Wide Name:__________________50060b000
Array Serial Number:____________________00SG3914J999
Alias:__________________________________va1
Software Revision:______________________1.09.02 - 0191 - 060113
Command execution timestamp:____________Mar 9, 2008 5:33:52 PM
------------------------------------------------------------
ARRAY INFORMATION
Array Status:_________________________Ready
Firmware Revision:____________________38370A120P1186544
Product Revision:_____________________A120
Local Controller Product Revision:____A120
Remote Controller Product Revision:___A120
Last Event Log Entry for Page 1:______64909
Last Event Log Entry for Page 2:______64909
Last Event Log Entry for Page 5:______64491
ENCLOSURES
Enclosure at M
Enclosure ID__________________________0
Enclosure Status______________________Good
Enclosure Type________________________HP StorageWorks Virtual Array 7410
Node WWN______________________________50060b000014f2d0
FRU HW COMPONENT IDENTIFICATION ID STATUS
===========================================================================
M Enclosure 00SG314J0555 Good
M/P1 Power Supply 94030JC555 Good
M/P2 Power Supply 94030JC0555 Good
M/MP1 MidPlane S27FN10055 Good
M/C1 Controller 00PR0222440 Good
M/C1.H1 Host Port <none> Good
M/C1.H2 Host Port <none> Good
....
CONTROLLERS
Controller At M/C1:
Status:_______________________________Good
Serial Number:________________________00PR026666
Vendor ID:____________________________HP
Product ID:___________________________A6218A
Product Revision:_____________________A120
Firmware Revision:____________________38370A120P166666
Manufacturing Product Code:___________IJMTU00015
Controller Type:______________________HP StorageWorks Virtual Array 7410
Battery Charger Firmware Revision:____5.0
Front Port At M/C1.H1:
Status:_____________________________Good
Port Instance:______________________0
Hard Address:_______________________126
Link State:_________________________Link Up
.....
PORTS
Settings for port M/C1.H1:
Port ID:______________________________110
Behavior:_____________________________HPUX
Topology:_____________________________Point To Point, Fabric Attached
Queue Full Threshold:_________________400
Data Rate:____________________________2 GBit/sec
.........
DISKS
Disk at M/D1:
Status:_______________________________Good
Disk State:___________________________Included
Vendor ID:____________________________HP 36.4G
Product ID:___________________________ST33675666
Product Revision:_____________________HP03
Data Capacity:________________________33.378 GB (70000000 blocks)
Block Length:_________________________520 bytes
Address:______________________________111
Node WWN:_____________________________20000004cf42666
Initialize State:_____________________Ready
Redundancy Group:_____________________1
Volume Set Serial Number:_____________00006B6C000663
Serial Number:________________________3HX0AP33
Firmware Revision:____________________HP03
......
LUNS
LUN 0:
Redundancy Group:_____________________1
Active:_______________________________True
Data Capacity:________________________20 MB
WWN:__________________________________60060b000014f2d00000000000066666666
Number Of Business Copies:____________0
LUN 1:
Redundancy Group:_____________________1
Active:_______________________________True
Data Capacity:________________________534 GB
WWN:__________________________________60060b000014f2d0000100000066666666
Number Of Business Copies:____________0
Redundancy Group:_____________________1
Total Disks:________________________16
Total Physical Size:________________534.057 GB
Allocated to Regular LUNs:__________356.019 GB
Allocated as Business Copies:_______0 bytes
Used as Active Hot Spare:___________66.75 GB
Used for Redundancy:________________110.674 GB
Unallocated (Available for LUNs):___628 MB
.....
VFP
Settings for VFP Serial Port M/C1.VFP:
VFP Baud Rate:________________________9600
VFP Paging Value:_____________________24
Settings for VFP Serial Port M/C2.VFP:
VFP Baud Rate:________________________9600
VFP Paging Value:_____________________24
SUB-SYSTEM SETTINGS
RAID Level:___________________________HPAutoRAID
Auto Format Drive:____________________On
Hang Detection:_______________________On
Capacity Depletion Threshold:_________100%
Queue Full Threshold Maximum:_________4096
Enable Optimize Policy:_______________True
...
实在太多,列了一部分。
HP AutoRaid
这边不得不谈到, HP的AutoRaid 方式,这种方式早就被HP应用了,不过还在被使用当中。
AutoRaid方式结合了,Raid 1 和 Raid 5 , 当空间比较多时,采用Raid 1,比较少时采用Raid 5;
此外,还有所谓的Active hot spare, 就是保留一定的空间,做为万一的备份DISK,可以是一块盘,两块盘,或多块盘,也就是有一块盘挂了,另一块Active hot spare马上就能用了;不过,实际上它是分布在所有的Disk上,是一个虚拟的概念。
再看上面的:
Redundancy Group:_____________________1
Total Disks:________________________16
Total Physical Size:________________534.057 GB (一共有16*33G)
Allocated to Regular LUNs:__________356.019 GB (可用356G)
Allocated as Business Copies:_______0 bytes
Used as Active Hot Spare:___________66.75 GB (备用66G)
Used for Redundancy:________________110.674 GB (冗余110G)
Unallocated (Available for LUNs):___628 MB (未分配628M)
ioscan -fnCdisk
显示系统相关disk设备
Class I H/W Path Driver S/W State H/W Type Description
===========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C (
DVD-ROM)
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735NC (OS disk)
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735NC (OS disk)
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 99 0/2/1/0.1.11.0.0.0.0 sdisk CLAIMED DEVICE HP A6218A /dev/dsk/c39t0d0 /dev/rdsk/c39t0d0 (storage 7410 LUN0)
disk 100 0/2/1/0.1.11.0.0.0.1 sdisk CLAIMED DEVICE HP A6218A /dev/dsk/c39t0d1 /dev/rdsk/c39t0d1 (storage 7410 LUN1)
disk 101 0/2/1/0.1.11.0.0.0.2 sdisk CLAIMED DEVICE HP A6218A /dev/dsk/c39t0d2 /dev/rdsk/c39t0d2 (storage 7410 LUN2)
diskinfo /dev/rdsk/c39t0d0
SCSI describe of /dev/rdsk/c39t0d0:
vendor: HP
product id: A6218A
type: direct access
size: 10240 Kbytes
bytes per sector: 512
顺便说一下,diskinfo要求裸设备.
diskinfo /dev/dsk/c39t0d0
diskinfo: Character device required