KrisBroux
Enthusiast
Enthusiast

Resize RDM in virtual mode

Jump to solution

I've resized an Lun on the san and these are after a rescan available on the ESX-servers.

The Lun is a RDM in virtual mode.

When I do a rescan disks in the host (windows2003 SP1) I do not see the increased size.

I know I could try to shut down the system and remove and add it again, but it is a production machine and I cannot easily reboot it.

Anyone any ideas?

0 Kudos
1 Solution

Accepted Solutions
Texiwill
Leadership
Leadership

Hello,

No it is not possible to do this without first shutting down the VM. At least I never been able to do it.

Best regards,

Edward

--
Edward L. Haletky
vExpert XIV: 2009-2022,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill

View solution in original post

0 Kudos
5 Replies
KC_Lee
Contributor
Contributor

If it is not the boot drive, you can use diskpart to extend the NTFS partition.

open command prompt

diskpart

list volume, to find out the target volume number

select volume <number>

extend

you can always enter "help" for list of valid command inside diskpart.

Hope this help.

KrisBroux
Enthusiast
Enthusiast

The problem is that Windows doesn't see the extra capacity.

Once I see that I know I can use diskpart or some other tools to expand the disk.

0 Kudos
spex
Expert
Expert

As I know the stub file that points to the lun stores meta data of the lun. So you have to delete the disk from the vm and reasign the phsical lun to the vm using rdm mode .

Regards Spex

KrisBroux
Enthusiast
Enthusiast

Ok, this is wat I said before.

Is this possible without shutting down the VM?

I can add disks on-the-fly but the remove is grayed out.

0 Kudos
Texiwill
Leadership
Leadership

Hello,

No it is not possible to do this without first shutting down the VM. At least I never been able to do it.

Best regards,

Edward

--
Edward L. Haletky
vExpert XIV: 2009-2022,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos