Saturday, February 23

Add extra local storage to XenServer

Simple three steps:

1. Locate newly attached unpartitioned storage
 # fdisk -l  (it was sdb in my case)

2.Locate the disk ID
 # ls -al /dev/disk/by-id

3.Create the local storage repository:
 # xe sr-create content-type=user device-config:device=/dev/disk/by-id/scsi-xxxxxxxxxxxxxxxxxxxx name-label="Local Storage 1" shared=false type=lvm

Modify scsi-xxxxxxxxxxxxxxxx , name-label with real values and you may need to rework "" as well.

No comments:

Post a Comment