VMware Cloud Community
brettcw23
Contributor
Contributor

Adding a hard disk greater than 256 GB

We are creating a server for DR that stores all of our TS profiles.

The Prod box has a J:\ that is SAN atatched and is 700 GB.

So I wanted to create a 700 GB VMDK file on my DR box. But when I go to create the hard disk, it says that it exceeds the limit and won't go beyond 250 GB.

Does anyone have a work around for something like this?

Tags (4)
0 Kudos
12 Replies
Troy_Clavell
Immortal
Immortal

This is based on the block size of your LUNS. 1MB is the default and will only allow a 256GB max size. The only way that I know to do this is to reformat the LUN and present it will a bigger block size.

2MB = 512GB

4MB= 1024GB

8MB= 2048GB

We usually present our LUNS in our server cluster at 4MB block size.

Hope this helps

0 Kudos
wpatton
Expert
Expert

Please keep in mind that if you modify the block size of a LUN, it will destroy all data stored on that LUN. Before you make any changes, backup your data!

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".

*Disclaimer: VMware Employee* If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
0 Kudos
zelwyn
Contributor
Contributor

Make 3 250GB vmdk files and span them?

Zachary Elwyn

Engineer

Chase Card Services, Midrange-NT

301 North Walnut St., 16th Floor

Wilmington, DE, 19801

zachary.d.elwyn@chase.com

0 Kudos
brettcw23
Contributor
Contributor

That's what my proposal was but we just wanted to make sure that I wasn't missing anything within the VMware capabilities.

0 Kudos
aenagy
Hot Shot
Hot Shot

VMFS volumes can not be spanned on the same LUN. Spanning should be avoided if possible.

0 Kudos
BUGCHK
Commander
Commander

I've tried it some time ago with ESX 3.0.x connected to a HP EVA storage array and it did work -


3 times, as the VI Client created an additional primary partition for the next VMFS extent.

0 Kudos
aenagy
Hot Shot
Hot Shot

Hmm, I seem to recall from my Install and Config course at VMware that this was not possible. Normally, I would not span volumes; we normally recreate the volume to avoid spanning.

Was the VIC connected directly to the host or was this done from VirtualCenter?

0 Kudos
squirrelking
Enthusiast
Enthusiast

It's generally against best practice from a VMware PS point of view to:

- Create very large VMDK files that would need the larger than 256GB limit with a 1MB block size format.

- Use "spanning" (by using extents)

Typically I always recommend using Virtual RDM's if you need anything larger than a 256GB virtual disk. You're performance will be alot better, especially in high I/O environments.

My .02,

squirrelking

---- VCP3 VCP4 VTSP VSP VMware Solution Provider Premier Partner VMware Authorized Consultant [http://blog.lewan.com]
0 Kudos
lfchin
Enthusiast
Enthusiast

RDM will be the right choice on this case as it will not require too much extra work to be done

Rolando

Craig http://malaysiavm.com
0 Kudos
brettcw23
Contributor
Contributor

Pardon my ignorance, but what is RDM?

I actually created 3 .vmdk files 220 GB each. Then through the Windows OS, I used disk management to create one logical drive. The drive is going to be used for Terminal Server profiles. Does anyone see an issue with the way I set this up?

0 Kudos
lfchin
Enthusiast
Enthusiast

RDM = Raw Device Mapping

in order to use this, you need to create the raid group from the SAN box you have and direct assign to the ESX host you need. Usually after this, we will add the storage from the virtual center and format it with VMFS. In this case, you don't need to format as VMFS as the Raid group will able to be attach to the VM you need through RDM from VM. when you try to add new harddisk from the VM, it will have the option to be choose as Raw Device mapping and you press next to it and choose for the available raid group which is unuse. the RDM will allow the VM direct write and read to the physical raid group from the SAN level

Rolando

http://itknowledgeexchange.blogspot.com/

Craig http://malaysiavm.com
0 Kudos
squirrelking
Enthusiast
Enthusiast

Rolondo is correct on his post on what an RDM is and how to add it..

More info can be found here: www.vmware.com/pdf/vi3_35/esx_3/r35u2/vi3_35_25_u2_admin_guide.pdf - Page 153. Note, you'll want to make sure to use the "Virtual" RDM type so that you're VM's can still be VMotion'ed and also used with VCB (if you use those features).

Also regarding Dynamic Disks (logical disks within Windows), take a look at this article for best practices:

It lists some limitations of Dynamic disks and also areas that they are not supported. Typically in my dealings with dynamic disks and microsoft support, they will usually notice dynamic disks right away and will make you use a basic disk before they will further support you. It is well known within the Exchange communities and SQL communities to not use dynamic disks due to support issues.

Hope it helps,

squirrelking

---- VCP3 VCP4 VTSP VSP VMware Solution Provider Premier Partner VMware Authorized Consultant [http://blog.lewan.com]
0 Kudos