• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Wear leveling using virtualiation a concern?

Scheduled Pinned Locked Moved Virtualization
4 Posts 3 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    opticalc
    last edited by Jul 5, 2016, 10:12 PM Jul 5, 2016, 10:05 PM

    im getting a trim-capable 256GB SSD that I would prefer to load esxi onto my bare metal with (16GB RAM quad core), then use pfsense virtualized as a permanent solution.  also run a few other hypervisors for some low-powered demo/experimental projects (virtualized cisco ASR,linux VM, etc)

    id guess that the SSD's wear leveling works at a layer above pfsense' hypervisor?  such that for the VM's hard drive theres really no point in trying to allocate much more HD space for pfsense than I need?

    is trim enabled at the bare metal esxi layer?

    or is there any other guidance/strategy for using SSD for storage on esxi?

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jul 5, 2016, 10:29 PM

      Probably a better question for a VMware forum. The guest has no concept of wear leveling or that it's running on SSD at all, nothing you can do at the guest level in that case.

      1 Reply Last reply Reply Quote 0
      • K
        kikawala
        last edited by Jul 8, 2016, 2:42 AM

        The VM will not be aware it's using an SSD but if your physical drive supports the SCSI UNMAP command (not sure if a SATA SSD supports this, but most SAS SSD and AFA SANs do) then you can ssh into the ESXi host and issue a command to run the SCSI UNMAP command on the datastore.  It works best if your VMs have thick eager zero instead of thick lazy zero or thin vmdisks.

        
        esxcli storage core device vaai status get
        

        if it says "Delete Status: supported" then you can run SCSI UNMAP on that device.

        esxcli storage vmfs unmap -l datastorename

        eg.```
        esxcli storage vmfs unmap -l datastore1

        1 Reply Last reply Reply Quote 0
        • O
          opticalc
          last edited by Jul 11, 2016, 1:17 AM

          ok thanks, this is what I got

          [root@localhost:~] esxcli storage core device vaai status get
          t10.ATA_____SanDisk_SDSSDXPS240G____________________162336401593________
             VAAI Plugin Name:
             ATS Status: unsupported
             Clone Status: unsupported
             Zero Status: unsupported
             Delete Status: unsupported
          
          

          it appears the SCSI UNMAP wont happen here.  thanks though

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received