Add additional local disk on XEN Server

My version of XEN Server: 5.6.0. Install the new disk. I my case, added the new disks and used HP ACU to creat the array and the logical disk.

Logon to the XEN server as root via SSH (or you can access the local command shell from the server console).
# fdisk -l

This will display the installed disk. Find the new disk. It should be the last on the list. I my case it was /dev/cciss/c0d2. The first disk was /dev/cciss/c0d0 and the second was /dev/cciss/c0d1 and the new /dev/cciss/c0d2.

# xe sr-create name-label=<Name of Storage> shared=false device-config:device=<Path of the Storage device> type=lvm
– Name of Storage is the name of the Storage Repository.
– Path of the Storage device is the path you found out when you displayed the installed disks.

In my case:
# xe sr-create name-label=NewLocalStorage shared=false device-config:device=/dev/cciss/c0d2 type=lvm

Leave a Comment