Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1036
  • Last Modified:

Increase datastore on VMWare ESX 4.1 primary disk

I need to increase the extent on the primary datastore on our VMWare ESX 4.1 server/
When I go into the datastore to Increase the extent it doesn't show the extra space available.

On the Primary Disk/LUN we moved from RAID 1 to RAID 1+0 hence why the logical disk has increased.
Should I do something like rearrange the partitions manually in gPartEd or is there a way through the CLI?

The snapshot attached is of the partition layout on the primary disk.
extents.png
0
kiwistag
Asked:
kiwistag
  • 5
  • 4
  • 3
3 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Have you increased the size of the Array and Logical Disk in the array?

if the size of the array/logical disk has already been increased, you may be suffering from the issue that exists when ESX has already been installed on the disks, and due to the current partition layout, it's not possible to increase the VMFS datastore. (without re-installing)
0
 
Handy HolderSaggar makers bottom knockerCommented:
Doesn't it have to be contiguous space to increase the size without adding an additional extent?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
kiwistagAuthor Commented:
hanccocka: Yes - as per screenshot. It went from 72GB (2x 72GB in RAID 1) to 292GB (4x 146GB in RAID 1+0).
Thanks for the link but it's pretty a pretty extensive procedure to do it by the looks of things.

andyalder: As far as I was aware, however I thought you could add another VMFS partition and increase over the disk if required. (As per Extents portion of screenshot).

I 'could' move the Linux partitions around to create enough contiguous space around the VMFS partition and break the mirror first to avoid screwing it up but it does mean more downtime... gPartED should be able to do it but in a way I'm flying blind.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
the link is how to perform the task, oherwise

1. Log a support request with VMware, and they will perform the task as per link.
2. Backup VMs, reinstall ESX, Restore VMs.
0
 
Handy HolderSaggar makers bottom knockerCommented:
Can't see how the link/CLI is any different from the GUI, you can create a new VMFS partition on the new space and add that as another extent but you haven't created it yet.

Are you looking for an offline partition tool that can shove the Linux swap partition that VMware put there plus the other extended partitions up a bit to make some contiguous space to extend into? That's not so much a VMware question but one for the partitioning tools experts.
0
 
kiwistagAuthor Commented:
andyalder: Yeah, it might fall into another category - it's a bit harder now with ESX since ESXi is now the norm. I still miss the extended support tools that you can't install on ESXi :/
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
this is often one of the issues with installing ESX, onto the same set of disks which uses your datastore. (if you need to expand the datastore).

I believe the issues is the number of primary partitions (max 4) per disk.
0
 
Handy HolderSaggar makers bottom knockerCommented:
Quick fix would be to create another VMFS partition and add it as another extent although I don't like concatenated disk sets. Another option would be to put ESXi on a new SD card/USB stick, blow away the other partitions since they wouldn't be needed any more so extension would be into contiguous space, in effect you would be transferring the datastore to a new installation so there'd be a bit of setting up to do but it's not that long a job.
0
 
kiwistagAuthor Commented:
I hope to trial a partition resize on ESX in 3 days time. Hopefully I can break the mirror which will give me space to tinker without causing irreversible damage. I'll post the results when done.
0
 
kiwistagAuthor Commented:
So it turns out that because esxconsole was on the vmfs volume it was going to cause all hell to move it initially (and it did). Thankfully I had the Array split and recovered.
After reading here about esxconsole I managed to move it and then I could delete and recreate the vmfs volume to cover all free extents on the disk
0
 
kiwistagAuthor Commented:
Multiple options to the final solution. What we didn't realise was that there was another hindrance in the way.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now