ALLSTARS_ORACLE 发表于 2014-10-22 15:11
dd 命令尝试在2个节点上 写该磁盘,lsattr 你对应的磁盘
p740a:/>lsattr -El hdisk18
PCM PCM/friend/fcpother Path Control Module False
PR_key_value none Persistant Reserve Key Value True
algorithm fail_over Algorithm True
clr_q no Device CLEARS its Queue on error True
dist_err_pcnt 0 Distributed Error Percentage True
dist_tw_width 50 Distributed Error Sample Time True
hcheck_cmd inquiry Health Check Command True
hcheck_interval 60 Health Check Interval True
hcheck_mode nonactive Health Check Mode True
location Location Label True
lun_id 0x10000000000000 Logical Unit Number ID False
lun_reset_spt yes LUN Reset Supported True
max_coalesce 0x40000 Maximum Coalesce Size True
max_retry_delay 60 Maximum Quiesce Time True
max_transfer 0x80000 Maximum TRANSFER Size True
node_name 0x5006016088604a18 FC Node Name False
pvid none Physical volume identifier False
q_err yes Use QERR bit True
q_type simple Queuing TYPE True
queue_depth 8 Queue DEPTH True
reassign_to 120 REASSIGN time out value True
reserve_policy single_path Reserve Policy True
rw_timeout 30 READ/WRITE time out value True
scsi_id 0x10100 SCSI ID False
start_timeout 60 START unit time out value True
timeout_policy fail_path Timeout Policy True
unique_id 352136006016046503900EA485A61C722E41106RAID 503DGCfcp Unique device identifier False
ww_name 0x5006016808604a18 FC World Wide Name False
p740a:/>
p740a:/>dd if=/dev/rhdisk18 of=/tmp/rhdisk18-test bs=1024k count=20
20+0 records in.
20+0 records out.
p740a:/>ls -al /tmp|grep rhdisk
-rw-r--r-- 1 root system 20971520 Oct 22 15:15 rhdisk18-test
p740a:/>
lsattr -El hdisk18
PCM PCM/friend/fcpother Path Control Module False
PR_key_value none Persistant Reserve Key Value True
algorithm fail_over Algorithm True
clr_q no Device CLEARS its Queue on error True
dist_err_pcnt 0 Distributed Error Percentage True
dist_tw_width 50 Distributed Error Sample Time True
hcheck_cmd inquiry Health Check Command True
hcheck_interval 60 Health Check Interval True
hcheck_mode nonactive Health Check Mode True
location Location Label True
lun_id 0x10000000000000 Logical Unit Number ID False
lun_reset_spt yes LUN Reset Supported True
max_coalesce 0x40000 Maximum Coalesce Size True
max_retry_delay 60 Maximum Quiesce Time True
max_transfer 0x80000 Maximum TRANSFER Size True
node_name 0x5006016088604a18 FC Node Name False
pvid none Physical volume identifier False
q_err yes Use QERR bit True
q_type simple Queuing TYPE True
queue_depth 8 Queue DEPTH True
reassign_to 120 REASSIGN time out value True
reserve_policy single_path Reserve Policy True
rw_timeout 30 READ/WRITE time out value True
scsi_id 0x10100 SCSI ID False
start_timeout 60 START unit time out value True
timeout_policy fail_path Timeout Policy True
unique_id 352136006016046503900EA485A61C722E41106RAID 503DGCfcp Unique device identifier False
ww_name 0x5006016808604a18 FC World Wide Name False
p740b:/>bootinfo -s hdisk18
p740b:/>
p740b:/>dd if=/dev/rhdisk18 of=/tmp/rhdisk18-test bs=1024k count=20
dd: /dev/rhdisk18: The requested resource is busy.
p740b:/>dd if=/dev/rhdisk18 of=/tmp/rhdisk18-test bs=1024k count=20
dd: /dev/rhdisk18: The requested resource is busy.
p740b:/>