shrink equllogic volume - datastore inaccessible on host

Leigh Kalbli
Leigh Kalbli used Ask the Experts™
on
I have a Dell Equallogic PS 6500 array.  I needed to resize a few volumes (no critical data). I snapshot the volume and resized it to a lower size after taking it offline.  The Equallogic Gui shows the correct shrunk size.  However, ESXi (dell R630 two hosts) both show the datastore as inaccessible. I have rescanned and restarted the server and the DS does not come back.  Im at a loss and not sure what to do next or if i missed something that needed done on the hosts themselves first.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
do the LUNS appear as connected ?
Top Expert 2014
Commented:
What did you use to shrink the VMFS filesystem? AFAIK VMWare do not have a tool to do that so I think you chopped the end off your filesystem and blew the data. You can try restoring the snapshot to get the data back.

With Windows it is relatively simple. shrink the filesystem using disk manager then shrink the volume on the SAN. Note the filesystem shrink can take a long time as it is similar to defrag. There is nothing to stop you shrinking the LUN by more than you shrank the filesystem though and critical information is stored at the very end of the volume.

This Dell doc tells you how to shrink a volume under VMware,  https://www.dell.com/support/article/us/en/19/sln156142/can-the-size-of-a-vmware-vmfs-volume-be-reduced?lang=en

Author

Commented:
Andrew,
The LUN is connected. In the screen shot its the one that is 75GB and the path is active (ISO).

Andy,
It was resized using the CLI directly on the equalogic via ssh.Untitled.png
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
I would concur with andyalder you've broke and corrupted it!

There is a LUN, and the VMFS partition on/in the LUN (datastore), you've just shrunk the LUN, but you didn't shrink the VMFS partition first, so you broke it!

Restore time, and I would destroy the LUN and re-create of the desired size.

Author

Commented:
Thank you for the reply. Im glad it was a non critical LUN.
Top Expert 2014

Commented:
Is there a shrink option in VMware Andrew? All the docs I find that say it can't be done are for 5.5 and previous.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
VMFS can be shrunk, but it's not supported, and it's a process which needs to be done, before chopping off the LUN

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial