Skip to main content

Posts

Showing posts from December, 2009

Adding Local Storage to Xen Server

1. fdisk -l sdb is my new volume 2. pvcreate /dev/sdb 3. xe sr-create type=lvm content-type=user device-config:device=/dev/disk/by-id/scsi-SATA_ST3320620AS_5QF7QZZL name-label=”LOCAL SR” scsi-SATA_ST3320620AS_5QF7QZZL is the name of my volume, you’ll have to change this value with your own, and name-label is the name you want to give to your local storage. and this is it !

Citrix XEN ON system with 3ware array bigger than 2TB

vi /etc/yum.repos.d/CentOS-Base.repo comment enabled=0 install parted with yum install parted 1. Unplug existing PBD xe pbd-list uuid ( RO) : 08f83ac4-f79e-1ff5-8ed4-a9f7ee585af7 host-uuid ( RO): b44e871f-72ec-44cc-bb63-3f318bdf3ca3 sr-uuid ( RO): 27b57e69-7751-fbd1-be11-caf4bf9b2c66 device-config (MRO): device: /dev/disk/by-id/scsi-1AMCC_5QD15WEM38A6BB001F8E-part3 currently-attached ( RO): true xe pbd-unplug uuid=08f83ac4-f79e-1ff5-8ed4-a9f7ee585af7 2. Remove the existing Loacal Storage. xe sr-list uuid ( RO) : 27b57e69-7751-fbd1-be11-caf4bf9b2c66 name-label ( RW): Local storage name-description ( RW): host ( RO): 172.30.30.148 type ( RO): lvm content-type ( RO): user xe sr-forget uuid=27b57e69-7751-fbd1-be11-caf4bf9b2c66 3. Determine the ID of the disk by running: ls -la /dev/disk/by-id/ | grep sdb What you need to look for is the ID of the disk, for example:...