My Profile Photo

Massimo Tamos' Blog


Software and Security Engineer.
Lives in Zürich.
A Cyber Security enthusiast, Security Engineering Msc, MBA, PMP, CISSP-ISSAP, CCSP, CEH.


Xen Server 8.1 Review

Xen Server 8.1 Review

Add new Hard disks to the server

I had the need to add 3 hard-disks that I had availabe on the server. To achieve this I followed the guide at:

Virtualization-adding-a-hard-disk-drive-to-citrix-xenserver

My XENServer is running under the ip address:


thus I logged in as root and requested the list of hard disks and related partitions:

```cat /proc/partitions```

and it reports:

8 32 1465138584 sdc 8 16 1465138584 sdb 8 0 234438656 sda 8 1 18874368 sda1 8 2 18874368 sda2 8 3 190921711 sda3 8 4 524288 sda4 8 5 4194304 sda5 8 6 1048576 sda6 8 48 976762584 sdd 8 49 562176 sdd1 8 50 501846016 sdd2 8 51 474350592 sdd3 11 0 1048575 sr0

My SSD disk is arlready setup and running the XEN Server and it is the sda.

From the above list I can locate 2 HDD of 1.5 Terabytes (sdb and sdc) and a third HDD of 1.0 Terabyte (sdd).

Then we need to find out the uuid of the XenServer instance:

```xe host-list```

and it returns the below:

uuid ( RO) : ce5f429c-0ec4-4fd8-aa0f-be5d8b0bb6a0 name-label ( RW): xcp-ng name-description ( RW): Default install


Then we raise the mounting related commands for the 3 HDDs:

```xe sr-create content-type=user device-config:device=/dev/sdb host-uuid=ce5f429c-0ec4-4fd8-aa0f-be5d8b0bb6a0 name-label=”hd-sas-1-15t” shared=false type=lvm
6cc729a8-7035-0720-051c-c1b320f7cdda

xe sr-create content-type=user device-config:device=/dev/sdc host-uuid=ce5f429c-0ec4-4fd8-aa0f-be5d8b0bb6a0 name-label=”hd-sas-1-15t” shared=false type=lvm 54600ee2-3598-a089-0942-a3794de81615

xe sr-create content-type=user device-config:device=/dev/sdd host-uuid=ce5f429c-0ec4-4fd8-aa0f-be5d8b0bb6a0 name-label=”hd-sas-1-15t” shared=false type=lvm a7363d52-6a2c-543d-8cef-7e4a02f5a9cf

comments powered by Disqus