1. SCSI Host 재검색
Rescan Entire Host SCSI Bus
This command was never consistent.
Replace $HOST with the SCSI host you want to scan which may be host0, host1, host2, etc. Typically $HOST is host0.
echo "- - -" > /sys/class/scsi_host/$HOST/scan
The - - - are wildcards and mean to look at every channel, every target, and every LUN (hence the three dashes) on the specificed SCSI host.
==> cat /proc/scsi/scsi ==> 신규 장치 확인
<출처: http://thornelabs.net/2012/08/22/linux-rescan-scsi-bus.html>
2. 장치명, SCSI ID 확인(SR생성을 위한)
#scsi_id -g -u -s /block/sde (sd(drive letter)-according to lun mapping)
Sample output:
360080e50002363a200000bad50911a64
4) Create Storage Repository in
server:
#xe
sr-create host-uuid=45c72206-de58-43de-9654-13efa7f3aa67 name-label=Cloud_Lun2
content-type=user shared=true
device-config:SCSIid=360080e50002363a200000bad50911a64
type=lvmohba
Sample Output:
b7a5c01f-d001-ae74-cf1b-6d042f44d01d
3) #xe pbd-list
sr-uuid=<sr-uuid> (Ex :
f0fae26a-177c-b444-ff7c-7cfcfeb71bcf)
4) #xe pbd-plug
uuid=<pbd-uuid>
<출처: http://letusexplain.blogspot.kr/2013/07/adding-lun-using-lvm-over-hba-in-xen.html>
'로그 저장소 :) > 가상화.virtualization' 카테고리의 다른 글
XenServer 응급복구 - Pool Master 이상 (0) | 2015.08.14 |
---|---|
How to Add A USB Drive to Citrix XenServer as a Local SR (Storage Repository) (0) | 2014.12.30 |
[Citrix] XenServer HCL List (1) | 2014.04.28 |
[Citrix] Adding a new local storage on Citrix XenServer 6 (0) | 2014.04.25 |
[Citrix] Add a Hard Drive to Citrix XenServer (0) | 2014.04.25 |