Solved

Citrix XenServer expand local storage

Posted on 2010-09-24
2
3,439 Views
Last Modified: 2013-11-14
Hello,

I want to expand local storage of a citrix xenserver but I don't know how to expand it in the xenserver itself.

I added the disk to the server, expanded the array with 4 extra disks and expanded the logical drive from 2 to 3 TB. Now xenserver still recognizes 2TB and I need to expand it there ... I found one procedure but I would like some more info/experience from other users. detail: SCSI disks

thx

procedure found:

1.  Expand physical disk (add more RAID members, ect).  Use the procedure specific to your RAID card.

2.  Use fdisk to expand the partition your Local Storage resides on:

[root@vps1a ~]# pvscan
PV /dev/sda3 VG VG_XenStorage-4c69467e-0352-5bd4-3dee-e17cc18aee08 lvm2 [923.64 GB / 380.14 GB free]
Total: 1 [923.64 GB] / in use: 1 [923.64 GB] / in no VG: 0 [0 ]

Note the bold type to the left, /dev/sda3 is the partition we want to expand by deleting and re-adding to the maximum size in fdisk.  After you do this, you need to reboot so the OS will recognize the larger partition.  The bold type to the right is the UUID we need later.

3.  After rebooting, now we can expand the physical LVM volume:

pvresize /dev/sda3

4.  Now we tell XenServer that we increased the size, so you can actually use your extra space:

xe sr-scan uuid=4c69467e-0352-5bd4-3dee-e17cc18aee08

Note:  The UUID was discovered in step 2.

5.  All done!
0
Comment
Question by:Cr0n0s
2 Comments
 
LVL 5

Accepted Solution

by:
allan_jardine earned 125 total points
ID: 33806040
Hi Paul
There is a similar query and solution here http://forums.citrix.com/message.jspa?messageID=1457609. This references this document http://support.citrix.com/article/ctx120865 which basically instructs you on how to unplug and plug the volume in Xenserver. While I have not done this on local storage but i do this frequently on my iSCSI storage.
Allan
0
 

Author Closing Comment

by:Cr0n0s
ID: 33929535
very good info provided
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Best Server Board For The Money 19 72
Hybrid drives for storage only. 1 64
Benefits of thin provisioned storage array in vmware 5 184 53
backup strategy concern 5 77
Hyper-convergence systems have taken the IT world by storm and have quickly started to change our point of view of how the data center should and could be architected. In this article, I’ll explain the benefits of employing a hyper-converged system …
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now