---
description: If all the steps were completed correctly the Raspberry Pi should be set up as a vSAN Witness and your vSAN cluster should be up and running.
title: "How To: Raspberry Pi as a vSAN Witness"
image: https://www.storagereview.com/wp-content/uploads/2020/11/pi-for-tutorial.jpg
---

[![Storage Review]()](https://storagereview.com/)

---

[Facebook](https://www.facebook.com/@storagereview) [X (Twitter)](https://twitter.twitter.com/storagereview) [Instagram](https://www.instagram.com/storagereview/) [LinkedIn](https://www.linkedin.com/company/storagereview-com) [YouTube](https://www.youtube.com/user/storagereview?sub_confirmation=1) [Email](mailto:info@storagereview.com) [Spotify](https://open.spotify.com/show/1y6VnznABhHeOSMOmbDTz0) [Reddit](https://www.reddit.com/r/StorageReview/) [Discord](https://discord.gg/TwMHb4azdC) [RSS Feed](https://www.storagereview.com/rss.xml) [TikTok](https://www.tiktok.com/@storagereview)

[Facebook](https://www.facebook.com/@storagereview) [X (Twitter)](https://twitter.com/storagereview) [Instagram](https://www.instagram.com/storagereview/) [LinkedIn](https://www.linkedin.com/company/storagereview-com) [YouTube](https://www.youtube.com/user/storagereview?sub_confirmation=1) [Email](mailto:info@storagereview.com) [Spotify](https://open.spotify.com/show/1y6VnznABhHeOSMOmbDTz0) [Reddit](https://www.reddit.com/r/StorageReview/) [Discord](https://discord.gg/TwMHb4azdC) [RSS Feed](https://www.storagereview.com/rss.xml) [TikTok](https://www.tiktok.com/@storagereview)

[![StorageReview.com](https://www.storagereview.com/wp-content/uploads/2026/07/Storage-Review-2x.png)](https://www.storagereview.com)

≡ Menu

- [Home](https://www.storagereview.com/)
- [Storage Reviews](https://www.storagereview.com/review)
  - [End User Reviews](https://www.storagereview.com/consumer)
  - [Enterprise Reviews](https://www.storagereview.com/enterprise)
  - [Ubiquiti Reviews](https://www.storagereview.com/best/ubiquiti-reviews)
- [SR Merch](https://store.storagereview.com)
- [Leaderboards](https://www.storagereview.com/best)
  - [Best Storage Arrays](https://www.storagereview.com/best/storage-arrays)
  - [Best Enterprise SSDs](https://www.storagereview.com/best/enterprise-ssds)
  - [Best Servers](https://www.storagereview.com/best/servers)
  - [Best Enterprise GPUs](https://www.storagereview.com/best/enterprise-gpus)
  - [Best Desktops for Local AI](https://www.storagereview.com/best/desktops-local-ai)
  - [Best Laptops for Local AI](https://www.storagereview.com/best/laptops-local-ai)
  - [Best Local LLM Tools](https://www.storagereview.com/best/local-llm-tools)
  - [Agentic AI Hardware](https://www.storagereview.com/best/agentic-ai-hardware)
  - [Best SSDs & Hard Drives](https://www.storagereview.com/best_drives)
  - [Best Portable SSDs](https://www.storagereview.com/best/portable-ssds)
  - [Best Business Laptops](https://www.storagereview.com/best/business-laptops)
  - [Best Mobile Workstations](https://www.storagereview.com/best/mobile-workstations)
  - [Best Desktop Workstations](https://www.storagereview.com/best/desktop-workstations)
  - [Best Mini PCs](https://www.storagereview.com/best/mini-pcs)
  - [Best Laptop Battery Life](https://www.storagereview.com/best/laptop-battery-life)
- [Storage Reference Guide](https://www.storagereview.com/storage-reference-guide)
- [About SR](https://www.storagereview.com/about-storagereview)
  - [StorageReview.com Sweepstakes Rules and Regulations](https://www.storagereview.com/storagereview-com-sweepstakes-rules-and-regulations)

Search

[Home](https://www.storagereview.com/) » [Review](https://www.storagereview.com/review) » How To: Raspberry Pi as a vSAN Witness

# How To: Raspberry Pi as a vSAN Witness

by Guest Author on November 20, 2020

[Enterprise](https://www.storagereview.com/enterprise)  ◇  [HomeLab](https://www.storagereview.com/enterprise/homelab)

VMware developers released the [ESXi ARM fling](https://www.storagereview.com/news/vmware-esxi-arm-fling-announced), a version of ESXi that can run on devices based around ARM processors such as the Raspberry Pi 4b we are using, Nintendo Switch Consoles, and many other SBC’s. Setting up the Raspberry Pi to run ESXi is fairly quick, we covered the installation and setup of a VM in a previous article [here](https://storagereview.com/review/installing-esxi-on-a-raspberry-pi).

![Raspberry Pi as a vSAN Witness](https://www.storagereview.com/wp-content/uploads/2020/11/pi-extra-shot.jpg)

To set up a Raspberry Pi already running the ESXi Arm fling you will need 2 additional storage devices as well as the SD card used for the UEFI and the USB storage device that ESXI is installed on. For this demo, we are using a [Samsung T5 portable SSD](https://www.storagereview.com/review/samsung-portable-ssd-t5-review) and an [ADATA SE800 portable SSD](https://www.storagereview.com/review/adata-se800-portable-ssd-review). For this demo check that ESXi is installed and running on your Pi, both storage drives are free from partitions, and the ESXi shell along with SSH is running on the rPi.

William Lam from the VMware Cloud dev team created the guide on VirtuallyGhetto that I will follow to set up our Raspberry Pi vSAN witness, check out his tutorial [here](https://www.virtuallyghetto.com/2020/10/vsan-witness-using-raspberry-pi-4-esxi-arm-fling.html).

## Set Up Raspberry Pi as a vSAN Witness

Steps to allow vSAN to use the 2 storage devices:

1. Connect to the Pi with SSH and stop the usbarbitrator allowing ESXi to query the 2 new drives:

- ‘/etc/init.d/usbarbitrator stop’
- Use the command chkconfig to confirm that the usb arbitrator is stopped
- ‘chkconfig usbarbitrator off’

2. Now that the drives are visible (you can check using ‘vdq -q’ 3 drives should appear) ESXi must be allowed to claim the USB storage devices and one device must be dedicated as a capacity drive for vSAN. Normally vSAN would only allow internal SATA/SAS/M.2/etc drives to we have to change the ESXi settings to allow USB devices to be recognized as SSDs and allow vSAN to use USB drives. This is done using commands:

- ‘esxcli system settings advanced set -o /Disk/AllowUsbClaimedAsSSD -i 1’
- ‘esxcli system settings advanced set -o /VSAN/AllowUsbDisks -i 1’

3. The command ‘vdq -q’ should be run, be sure to take note of the names of your 2 drives. If either of the 2 drives have “Has partitions” in the Reason you should either access the Pi from the ESXi web interface and clear partitions from the drive or use commands

- ‘partedUtil get “/vmfs/devices/disks/\<DeviceName>”’![]()
- ‘partedUtil delete “/vmfs/devices/disks/\<DeviceName>” \<Partition#>’
- Where \<Device Name> is “mpx.vmhba33:C0:T0:L0”, after you are done ‘partedUtil get “/vmfs/devices/disks/\<DeviceName>”’ should look similar the screenshot below.

![]()

4. To tag a USB storage device as a SSD we will need to create a claim rule adding enable\_ssd to both our USB storage devices. Without these tags ESXi will not be able to use the USB drives as if they were SSDs. Run the following commands replacing \<DeviceName> with the proper names for your devices.

- ‘esxcli storage nmp satp rule add -s VMW\_SATP\_LOCAL –device=\<DeviceName> –option=enable\_ssd’
- ‘esxcli storage core claiming unclaim –type device –device=\<DeviceName>
- ‘esxcli storage nmp satp rule add -s VMW\_SATP\_LOCAL –device=\<DeviceName> –option=enable\_ssd’
- ‘esxcli storage core claiming unclaim –type device –device=\<DeviceName>’
- ‘esxcli storage core claimrule load’
- ‘esxcli storage core claimrule run’

5. The next step is to tag one of our drives for use as a capacity drive by vSAN using the command below replacing \<DeviceName> with the proper name for the device to be used.

- ‘esxcli vsan storage tag add -d \<DeviceName> -t capacityFlash’
- Running ‘vdq -q’ should now look similar to the screenshot, both drives should have State “Eligible for use by VSAN” and IsSSD should be “1”. Only one of the drives should have IsCapacityFlash “1”, this is the drive assigned by us to be the Capacity storage for the witness node.

![]()

6. To allow vSAN traffic on our Pi node, this can be done from the web ui, [instructions here](https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vsan-planning.doc/GUID-6989ECAC-B485-4ACC-BA97-09E440A36A4E.html), or with the ESXiCLI using:

- ‘esxcli vsan network ip add -I vmk0’

7. Assuming you already have a 2 node cluster setup, the next step is to enable vSAN. In vSphere go to Configure>vSAN>Services then click configure following our screenshots.

![]() ![]() ![]() ![]() ![]()

If all the steps were completed correctly the Raspberry Pi should be set up as a vSAN Witness and your vSAN cluster should be up and running. There are many x86 computers that would serve the purpose of a vSAN witness node better and run into fewer compatibility issues than what we’ve done here. Using the Raspberry Pi is a fun project though for enthusiasts wanting to explore the upper limits of what the Raspberry Pi can achieve running the ESXi ARM fling.

William Lam from the VMware Cloud dev team created the guide on VirtuallyGhetto that I followed to set up our Raspberry Pi vSAN witness, check out his tutorial [here](https://www.virtuallyghetto.com/2020/10/vsan-witness-using-raspberry-pi-4-esxi-arm-fling.html).

**Engage with StorageReview**

[Newsletter](https://www.storagereview.com/storage_newsletter) |  [YouTube](https://www.youtube.com/user/StorageReview "Opens in a new window") | Podcast  [iTunes](https://podcasts.apple.com/gb/podcast/storagereview-com-storage-reviews/id1060681115 "Opens in a new window")/ [Spotify](https://open.spotify.com/show/1y6VnznABhHeOSMOmbDTz0 "Opens in a new window") |  [Instagram](https://www.instagram.com/storagereview/ "Opens in a new window") |  [Twitter](https://twitter.com/storagereview "Opens in a new window") |  [TikTok](https://www.tiktok.com/@storagereview? "Opens in a new window") |  [RSS Feed](https://www.storagereview.com/rss.xml)

![]()

### Guest Author

Previous post: [Corsair MP400 NVMe SSD Review](https://www.storagereview.com/review/corsair-mp400-nvme-ssd-review)

Next post: [Home Lab Deep Dive: Jack-of-all-Trades Setup](https://www.storagereview.com/review/home-lab-deep-dive-jack-of-all-trades-setup)

Trusted Vendors

Products and solutions from our affiliate partners:

- [  
  ![Ubiquiti Logo](https://www.storagereview.com/wp-content/uploads/2024/11/2-1.webp)  
   Ubiquiti  
  ](https://store.ui.com/us/en?a_aid=StorageReview "Opens in a new window")
- [  
  ![Newegg Logo](https://www.storagereview.com/wp-content/uploads/2025/11/newegg.webp)  
   Newegg  
  ](https://click.linksynergy.com/fs-bin/click?id=g5terNMDhz0&offerid=1207190.18&subid=0&type=4 "Opens in a new window")
- [  
  ![Amazon Logo](https://www.storagereview.com/wp-content/uploads/2025/11/amazon.webp) Amazon  
  ](https://amzn.to/4fLJUEW "Opens in a new window")

Newsletter

Subscribe to the StorageReview newsletter to stay up to date on the latest news and reviews. We promise no spam!

1  

Leave this field empty if you’re human:

## Advertisement

Content Categories

[Facebook](https://www.facebook.com/@storagereview) [X](https://twitter.com/storagereview) [Instagram](https://www.instagram.com/storagereview/) [LinkedIn](https://www.linkedin.com/company/storagereview-com) [YouTube](https://www.youtube.com/user/storagereview?sub_confirmation=1) [Email](mailto:info@storagereview.com) [Spotify](https://open.spotify.com/show/1y6VnznABhHeOSMOmbDTz0) [Reddit](https://www.reddit.com/r/StorageReview/) [Discord](https://discord.gg/TwMHb4azdC) [RSS](https://www.storagereview.com/rss.xml) [TikTok](https://www.tiktok.com/@storagereview)

Copyright © 1998-2025 Flying Pig Ventures, LLC Cincinnati, Ohio. All rights reserved.

Manage your privacy

To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.

Functional Functional Always active

The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.

Preferences Preferences

The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.

Statistics Statistics

The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.

Marketing Marketing

The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.

Statistics

Marketing

Features

Always active

Special features

Special purposes

Always active

- Manage options
- Manage services
- Manage {vendor\_count} vendors
- [Read more about these purposes](https://cookiedatabase.org/tcf/purposes/)

Accept Deny Manage options Save preferences Manage options

- {title}
- {title}
- {title}

Manage your privacy

To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Functional Functional Always active

The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.

Preferences Preferences

The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.

Statistics Statistics

The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.

Marketing Marketing

The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.

Statistics

Marketing

Features

Always active

Special features

Special purposes

Always active

- Manage options
- Manage services
- Manage {vendor\_count} vendors
- [Read more about these purposes](https://cookiedatabase.org/tcf/purposes/)

Accept Deny Manage options Save preferences Manage options

- {title}
- {title}
- {title}

Manage consent Manage consent

```json
{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.storagereview.com\/review\/how-to-raspberry-pi-as-a-vsan-witness","url":"https:\/\/www.storagereview.com\/review\/how-to-raspberry-pi-as-a-vsan-witness","name":"How To: Raspberry Pi as a vSAN Witness - StorageReview.com","isPartOf":{"@id":"https:\/\/www.storagereview.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.storagereview.com\/review\/how-to-raspberry-pi-as-a-vsan-witness#primaryimage"},"image":{"@id":"https:\/\/www.storagereview.com\/review\/how-to-raspberry-pi-as-a-vsan-witness#primaryimage"},"thumbnailUrl":"https:\/\/www.storagereview.com\/wp-content\/uploads\/2020\/11\/pi-for-tutorial.jpg","datePublished":"2020-11-20T20:11:03+00:00","dateModified":"2020-11-23T16:03:09+00:00","description":"If all the steps were completed correctly the Raspberry Pi should be set up as a vSAN Witness and your vSAN cluster should be up and running.","breadcrumb":{"@id":"https:\/\/www.storagereview.com\/review\/how-to-raspberry-pi-as-a-vsan-witness#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.storagereview.com\/review\/how-to-raspberry-pi-as-a-vsan-witness"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.storagereview.com\/review\/how-to-raspberry-pi-as-a-vsan-witness#primaryimage","url":"https:\/\/www.storagereview.com\/wp-content\/uploads\/2020\/11\/pi-for-tutorial.jpg","contentUrl":"https:\/\/www.storagereview.com\/wp-content\/uploads\/2020\/11\/pi-for-tutorial.jpg","width":1000,"height":667},{"@type":"BreadcrumbList","@id":"https:\/\/www.storagereview.com\/review\/how-to-raspberry-pi-as-a-vsan-witness#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.storagereview.com\/"},{"@type":"ListItem","position":2,"name":"Review","item":"https:\/\/www.storagereview.com\/review"},{"@type":"ListItem","position":3,"name":"How To: Raspberry Pi as a vSAN Witness"}]},{"@type":"WebSite","@id":"https:\/\/www.storagereview.com\/#website","url":"https:\/\/www.storagereview.com\/","name":"StorageReview.com","description":"StorageReview.com is a leading provider of news and reviews throughout the entire IT stack - from the datacenter to the edge, and all points in between.","publisher":{"@id":"https:\/\/www.storagereview.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.storagereview.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.storagereview.com\/#organization","name":"StorageReview.com","url":"https:\/\/www.storagereview.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.storagereview.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.storagereview.com\/wp-content\/uploads\/2020\/02\/Storage-Reviews-2-2.png","contentUrl":"https:\/\/www.storagereview.com\/wp-content\/uploads\/2020\/02\/Storage-Reviews-2-2.png","width":344,"height":61,"caption":"StorageReview.com"},"image":{"@id":"https:\/\/www.storagereview.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/storagereview","http:\/\/youtube.com\/user\/storagereview"]}]}
```
