Angels Technology

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, July 11, 2012

Extents and VMFS volumes

Posted on 10:46 PM by Unknown

    Ran across this article and it is a good read filling in a lot of info a vmware engineer should know.
    http://blogs.vmware.com/vsphere/2012/02/vmfs-extents-are-they-bad-or-simply-misunderstood.html
    Thanks to  Cormac Hogan for an informative article!
    I'm taking the snippits of the article as a short preview for the highlights of information that I think are important.


    Describe what  an extent is
  1. A VMFS volume resides on one or more extents.
  2. Each extent is backed by a partition on a physical device, such as a LUN.
  3. Normally there will be only one extent for each LUN
  4. more extents can added if you want to expand the volume.


  5. Example using extents
  6. The maximum size of a single VMFS-3 extent was 2TB.
  7. Adding additional extents to a VMFS-3 volume was the only way to extend it above 2TB.
  8. Adding 32 extents/LUNs to the same VMFS-3 volume gave you a maximum size of 64TB
  9. VMFS-5 volume can be as large as 64TB on a single extent.
  10. So by adding extents to the VMFS-3 volume, the VMFS volume could grow larger than 2TB


    Extents are not like [RAID] stripes.
  11. The hosts try to put distance between themselves on the datastore to reduce any contention for resources, but they still try to keep the objects that they manage close together.
  12. That is why they might appear to be striped. But it's not striping the objects among different extents for raid abilities just avoiding contention
  13. in a multi-extent situation, concurrent hosts accessing a VMFS volume will naturally spread themselves out across all extents

  14.  Because of [] contiguous allocation of space (which can be in the order of 100MBs or even GB), VMFS does not suffer from the traditional fragmentation issues seen on other filesystems.

  15. Losing one extent will offline the whole volume
  16. Not completely true
  17. if the head extent (1st member) has a failure, then it can bring the whole datastore offline. Head extent offline condition is pretty much always going to cause failures because many of the address resolution resources are on the head extent.
  18. if a non-head extent member goes down, you won't be able to access the VMs whose virtual disks have at least 1 block on that extent. 

  19. Misconception- Its easy to mistakenly overwrite extents in vCenter
  20. t this was resolved in version 2.x,
  21. occurred when you built an extent on one host, and then flipped onto a view from another ESXi host which didn't know that the LUN was now in use.
  22. any changes made to a datastore, where a LUN is added as an extent, updates all the inventory objects so that this LUN is removed from the available disks pool.
  23. f you decide to start working outside of vCenter and decide to work directly on the ESXi hosts, you could still run into this issue.

  24. You get better performance from extents
  25. some merit to this.
  26. You could indeed make use of the per device queue depth to get an aggregate queue depth for all extents.
  27. only relevant if a larger queue depth will improve performance, which may not always be the case.
  28. benefit from the aggregate queue depth, each of the extents/LUNs that makes up the volume may have to be placed on different paths


  29. VMware's Best Practice/Recommendation for Extents
  30. recommendation would be to avoid the use of extents unless you absolutely have to use them.
  31. the only cases I can see where you might need extents are:
    • You are still on VMFS-3 and need a datastore larger than 2TB.
    • You have storage devices which cannot be grown at the back-end, but you need a datastore larger than 2TB.


    Final Thoughts:
  32. nothing inherently wrong with extents, but the complexity involved in managing them has given them a bad name.


  33. Avoid if possible

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in esxi, extent, VMFS, vmware, vsphere | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Copy and paste clipboard items to and from your vsphere virtual machines and your pc
    Wanted to copy and paste text between your pc and a vm? Now you can. Power off your VM. Go to the vm properties->Options->Advanced-...
  • Interesting look at Win cpu usage vs Vmware CPU usage
    I came across this scenario: The windows task manager shows the cpu of the vm pegged at 100%. The vmware performance monitor says that ...
  • Storage comparison
    One of Cormac Hogan s posts provides a good basis for compares of different storage types for vmware Vsphere and how they stack up. He dis...
  • E1000 vs e1000e in vmware : notes
    Performance difference " The performance should be about the same, the reason for the change is that Intel is not longer supporting the...
  • vCenter and Hosts Disconnected -- Reason: Cannot verify the SSL thumbprint
    Just saw this over on the forums, but if your hosts are getting this error: Cannot syncronize the host <hostname.fqdn>, Reason: Cannot...
  • Vmware DRS anti affinity rules wont let you enter maintenance mode for a esxi host
    You have a DRS rule that specifies that 2 vms need to be kept apart: In this case: 250-FT and 250sql3 For larger clusters with multiple...
  • Vmware esxi : Intel Pro/1000 ET quad port adapter and ISCSI
    I've seen issues pop up with intel quad ports here and there on the forums so I thought it would be good to note down what worked here...
  • Snapshot creation /reversion/ deletion/ listing with vim-cmd
    Here we are going to use the command line on a esxi host to create, revert, and delete snapshots. First ssh into your host. Important thi...
  • shutdown your esxi host using powercli
    if you want to shutdown a host using powercli: Set-VMhost -VMhost HOSTNAME -State Maintenance get-vmhost HOSTNAME | Foreach {Get-View $_.ID}...
  • Setting your esxi host to restart automatically after crash or purple screen aka psod
    The default and recommended setting is to leave the purple screen of death up to help you notice that het host has died and also leave t...

Categories

  • 5.1
  • backup
  • cloud
  • cluster
  • command line
  • console
  • converter
  • cpu
  • datacenter
  • datastore
  • datastore. rdm
  • DCUI
  • dell
  • disaster recovery
  • display
  • DR
  • e1000
  • e1000e
  • ec2
  • esx
  • esxi
  • esxtop
  • extent
  • Good for enterprise
  • HA
  • hcl
  • host
  • HP
  • ibm
  • iometer
  • iscsi
  • iso
  • linked mode
  • logs
  • MAC
  • memory
  • NFS
  • NIC
  • NTP
  • ova
  • ovf
  • p2v
  • pcie
  • performance
  • phone
  • powercli
  • powershell
  • PSOD
  • raid
  • RDM
  • resource pool
  • rvtools
  • scsi
  • sddc
  • snapshots
  • SQL
  • SRM
  • ssh
  • storage
  • svmotion
  • syslog collector
  • v2v
  • vapp
  • vcenter
  • vcloud
  • vcp
  • veeam
  • VI console
  • vm
  • vmdk
  • VMFS
  • vmkfstools
  • vmotion
  • VMUG
  • vmware
  • vmware tools
  • vmware.esxi
  • vmxnet3
  • vsphere
  • vum
  • web client
  • windows

Blog Archive

  • ►  2013 (28)
    • ►  October (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (14)
    • ►  May (1)
    • ►  April (1)
    • ►  March (5)
    • ►  February (1)
    • ►  January (1)
  • ▼  2012 (138)
    • ►  December (2)
    • ►  November (13)
    • ►  October (26)
    • ►  September (19)
    • ►  August (35)
    • ▼  July (34)
      • Esxi : Recovering from a bad update : Last known g...
      • convert thick disk to thin using a command line vi...
      • Setup NTP for your ESXi host
      • Boot virtual machine from ISO : tips on if you are...
      • Best practices for using VMware Converter : Checklist
      • Iometer test of USB flash drive connected to a Vmw...
      • Can you storage vmotion (svmotion) your virutalize...
      • vCenter and Hosts Disconnected -- Reason: Cannot v...
      • Network configuration not updated in configuration...
      • There are issues communicating with the following ...
      • "The Fully Qualified Domain Name cannot be resolve...
      • Notes: Linked-mode vsphere vcenter pre-requisites ...
      • What to the DCUI console logs show
      • Browsing Vmware logs in the DCUI (view esxi logs ...
      • SRM Site Recovery Manager best practices
      • Keeping nic configurations when p2v
      • What is stretched storage cluster / metro storage...
      • How to create a vapp in esxi or vsphere
      • Thought: Raid 0 and Raid 1 : quick easy way to rem...
      • Setting a MAC for a vm manually
      • Extents and VMFS volumes
      • How to add a Raw disk to your esx host (RDM)
      • How to describe vsphere vs vcenter to a layman
      • How to setup a cluster in vmware vsphere
      • Matching virtual disks to the Disks on the guest
      • How to attach a vmdk to VM
      • How to attach a ISO to a vmware guest via vsphere ...
      • personal thoughts: veeam vs vranger
      • Copy-vmguestfile :: Copying data from powercli to ...
      • Vmware converter : does disabling ssl make your vm...
      • Growing and Expanding a VMFS
      • How to connect to the vpshere web client
      • Snapshot creation /reversion/ deletion/ listing w...
      • Enable ssh from powercli
    • ►  June (9)
Powered by Blogger.

About Me

Unknown
View my complete profile