A personal repository of random information in compensation for a fatigued biological computer
Breaded IT » Hardware / OS / Misc » XenSServer OpenFiler
Installed XenServer Hypervisor 5.6 to 120GB IDE drive on new PC
Installed XenCenter to Windows pc:
Installed Openfiler 2.3 64 .xva
XenServer is: 192.168.1.5
CXenTRIX~10
Openfiler i: 192.168.1.6
(Openfiler/password)
Openfiler: Volumes -> Create new Physical volumes.. but Openfiler can't see the 4 x Sata 2TB drives.. so..
Per http://www.archy.net/2009/05/21/adding-local-storage-to-xenserver-55/:
BE AWARE !! To follow instructions in this blog post you have to know linux shell and XenServer command line usage. You can wipe data if you don’t understand what you’re trying to do. Try in a TEST environment before making any change in production.
Today I had to add two 500Gb SATAu hard drive to my XenServer. Plug this two hot plug drive in this Dell 2950 III was the easy part, configure the new RAID1 in the Perc 6i controller wasn’t so easy… This bios is very annoying and after 2 hours we found the good menu and where to create the new volume…
Once this step done, and after 16Gb of memory more, XenServer started without any problem, the drive wasn’t available through the XenCenter so I though I had to mount it or something like that.
So here comes the few steps to add a local storage to your XenServer 5.5 :
Type : fdisk -l
you’ll see the list of all volumes and hard drives, then :
Type : pvcreate /dev/sdb
sdb is my new volume
and then to configure it as a local storage :
Type : 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 !
Remark : If your XenServer is a pool, you need to put it off, follow above steps and put back the XenServer in your pool.
Did the above pvcreates ok then..
xe sr-create type=lvm content-type=user device-config:device=/dev/sda name-label="dev-sda"
returned
sda: 51ffa2ea-c156-b1ec-0789-306fb1911af7
sdb: 51306941-054c-8513-e793-3ed0a1f1ce16
sdc: f4c87b05-84ce-69c5-c543-0915ce9aa630
sdd: 7a990a52-7949-55c1-126c-49be6ecbce31
And all 4 show up in Xencenter Storage..
.. but cant see in OpenFiler and cant use XenCenter to 'assign' to OpenFiler CM even thought SDA-SDD are nowlisted as LVM's