Jump to content
Welcome to our new Citrix community!
  • 0

Error while adding a second hard drive to my XenServer.


Alex V

Question

Hi,

 

I recently build a HomeLab VM Server for learning purposes and I'm having trouble trying to add a second hard drive to my XenServer. 

 

Theres no raid on this server, I will be using each drive for different VMs an such.  I added the 3TB Hard drive without issue which is the sda, when I try to add the second drive which is the sdb  (2TB) I get the error that you see on the screen at the end.

 

Any help on what I might be doing wrong would be greatly appreciated. 

 

If you need more information please let me know.

 

Thank you

xenserver.JPG

Link to comment

8 answers to this question

Recommended Posts

  • 1

You probably need to set up a Linux partition (83) on /dev/sdb so you create something like /dev/sdb1 that takes up all the drive space. You can partition it using the fdisk utility and select "n" to create a new partition and select all the space. Be sure to write the updates (w) and exit out.  When done, it should look something like this:

 

# fdisk /dev/sdb
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p

Disk /dev/sdb: 1049.6 GB, 1049582632960 bytes, 2049966080 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63  2049958259  1024979098+  83  Linux

 

 

 

Then run "mkfs -m1 /dev/sdb1" to create a filesystem. You should be able to point to that /dev/sdb1 device then with your sr-create operation.

 

-=Tobias

  • Like 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...