Adding new disk to Citrix Xen
by Gregor PipanIt can happen, that you need to add new hard drive – HDD to your Citrix Xen machine. After installing the hardware, you start searching for appropriate action to be taken in XenCenter and you see, that there is no way to add newly attached HDD as a Local storage device.
You need to do the following:
Let assume, that your disk is recognized by system as /dev/sdb.
1) Find scsi ID as shown:
# ls -l /dev/disk/by-id/
lrwxrwxrwx 1 root root 9 Oct 22 12:00 scsi-XXXXXXXXX -> ../../sdb
2) Create the SR:
xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/scsi-XXXXXXX name-label=”Local Storage D1″
Go to Xencenter – you should see your HDD, and you should be able to create an LVM based SR on that HDD.
Leave a Reply