VMware vSphere

 View Only
  • 1.  How can format internal SD Card ?

    Posted Jul 17, 2018 05:54 PM

    I have HP blade with internal SD card with installed ESXi.

    Now i reinstalled hypervisor to HDD and no need to have bootable old hypervisor on internal SD card (named as Local USB Direct-Access (mpx.vmhba32:C0:T0:L0) in the system)

    How can i format data from SD card from esx shell\ssh? It possible?



  • 2.  RE: How can format internal SD Card ?

    Posted Jul 17, 2018 07:22 PM

    Place the flash card in the card reader of your laptop or PC.Windows will detect the card and will ask you to format it. It met ga ik because Windows doesn’t like to give you permissions to format the entire flash drive.

    Therefore you can use diskpart.

    Fire up Diskpart and create a new partition.

    First, list the disks in your system:

    DISKPART> list disk

    Select the correct disk:

    DISKPART>  select disk (number)

    Create new partition:

    DISKPART> create partition primary

    Format the disk with as you normally would

    Rick

    Please consider marking this answer "correct" or "helpful" if you think your query have been answered correctly.



  • 3.  RE: How can format internal SD Card ?
    Best Answer

    Posted Jul 17, 2018 09:00 PM

    Hello Alex,

    If the device is not in use you should be able to format it via the Web Client:

    Host > Configure > Storage Devices > Select Device > All Actions > Erase Partitions

    Obviously take extreme caution when deleting partitions (or any data) - ensure what you are removing is the correct device - in this case it will state the partitions being removed e.g.:

    Thankfully if it was the boot and system partitions in use by the host it won't permit this but regardless know what you are deleting.

    There are of course numerous methods to delete partitions via the CLI e.g. dd + partedUtil

    https://kb.vmware.com/s/article/1036609

    As always - only mess with partitions if you know what you are deleting.

    Bob