Friday, January 28, 2011

Add local disk to Xenserver 5.5 running under VMware

1. Find the new disk name.
fdisk -l

2. Create physical volume.
pvcreate /dev/hdb

3. Find out the name of the disk.
ll /dev/disk/by-id/
...
lrwxrwxrwx 1 root root 9 Jan 28 22:18 ata-VMware_Virtual_IDE_Hard_Drive_01000000000000000001 -> ../../hdb


4. Create SR.
xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/ata-VMware_Virtual_IDE_Hard_Drive_01000000000000000001 name-label=”LOCAL DISK

After the running above command, the LOCAL DISK will be in Xenserver's Storage Repositories.

Note: You can name your own name-label.

1 comment:

rker321 said...

I have some 5.5 diskettes that I need to convert to dvd's where can I do this?