IBM的硬盘或者IBM阵列划分出来的LUN在AIX下都是可以看出大小的:
#lsattr -El hdisk10
PR_key_value none Persistant Reserve Key Value True
cache_method fast_write Write Caching method False
ieee_volname 600A0B80001767680000093B45A77042 IEEE Unique volume name False
lun_id 0x0008000000000000 Logical Unit Number False
max_transfer 0x100000 Maximum TRANSFER Size True
prefetch_mult 1 Multiple of blocks to prefetch on read False
pvid 00cbd43f27e114e40000000000000000 Physical volume identifier False
q_type simple Queuing Type False
queue_depth 10 Queue Depth True
raid_level 5 RAID Level False
reassign_to 120 Reassign Timeout value True
reserve_policy single_path Reserve Policy True
rw_timeout 30 Read/Write Timeout value True
scsi_id 0x20300 SCSI ID False
size 102400 Size in Mbytes False
write_cache yes Write Caching enabled False
但基于VIO的hdisk这个命令就不管用了,比如:
#lscfg -vpl hdisk1
hdisk1 U9117.570.109BBFD-V29-C3-T1-L820000000000 Virtual SCSI Disk Drive
#lsattr -El hdisk1
PCM PCM/friend/vscsi Path Control Module False
algorithm fail_over Algorithm True
hcheck_cmd test_unit_rdy Health Check Command True
hcheck_interval 0 Health Check Interval True
hcheck_mode nonactive Health Check Mode True
max_transfer 0x40000 Maximum TRANSFER Size True
pvid 00c9bbfd7255a9400000000000000000 Physical volume identifier False
queue_depth 3 Queue DEPTH True
reserve_policy no_reserve Reserve Policy True
这个时候可以用这个命令查看:
#getconf DISK_SIZE /dev/hdisk1
当然还有些变通的方法,比如用这个磁盘建立一个VG,看VG的大小就可以了。
阅读(1723) | 评论(0) | 转发(0) |