Skip to main content

Add Storage

Compatible Storage Drives​

Almost all types of storage mediums are compatible with the FxBlox. The Blox has internal slots for:

For the Blox to recognize and use the drive as storage, it must be formatted to ext4. This is automatically done for all drives connected to the Blox during the setup. If you want to add more storage after the fact, then you will have to manually partition and format it.

Install Internal Storage​

To install an NVMe or MicroSD drive, you'll have to open the Blox to gain access to the Single Board Computer (SBC) inside.

  1. Remove the four black screws of the 3-port USB-C housing.
  2. Remove the four silver screws on the bottom of the Blox.
  3. Slowly slide out the SBC.
  4. Remove light orange cover on the nvme screw mounting point.

Install M.2 NVMe drive​

With nvme drives, there are a lot of options to choose from. Which ever you choose, M.2 NVMe drives are plenty fast enough to maintain a quality speed for reads, writes, and data transfers.

To install your first NVMe drive:

  1. Follow steps above to open the case.
  2. Insert NVMe drive into M.2 slot at an angle. Make sure no pins are showing.
  3. Hold drive down, while you screw it into place. (Screw not included with FxBlox)
  4. Follow steps in reverse order to put the case back together.

Install MicroSD Card​

MicroSD cards have comparatively slow read & write speeds. We don't have enough data to recommend them as a method of storage for Fula net, but it should still be possible to run a high-speed, high-capacity card. The port is located under the wifi card. To access it:

  1. Follow steps above to open the case.
  2. Wifi card does not need to be removed to insert microSD card. Insert microSD card from the side of the board.
  3. Follow steps in reverse order to put the case back together.

Install External Storage​

You can use any type of drive as long as it can be connected via USB-C cable or adapter. Plug it in to any of the three USB-C ports available on the side of the FxBlox. These include, but not limited to:

  • SATA drives (2.5-inch internal SSDs or 3.5-inch internal HDDs)
  • External SSD's or HDDs
  • External NVMe drives
  • Docking stations
  • Hardware RAID arrays
  • etc...

Manually Partition and Format​

If you want to add additional storage at some point after initial setup. You will need to manually partition and format the drive before it can be used by the FxBlox.

You will need to partition 100% of the drive and format to ext4. To do this on Mac and Linux, you will want to be comfortable with the command line. Windows will require a third party tool.

You do not need a separate Linux computer to do this. Although the drive can not be seen in the FxBlox app yet, we can manually format it through the Blox's desktop interface.

At this point, your Blox must already have an internet connection, if not please complete the setting up your FxBlox first. If completing set is not an option, you can connect an ethernet cable via usb-c. This will allow you to remotely login from another computer with ssh. Checkout this article, made by a community member, for more information on how to do that.

Alternatively, you can connect keyboard, video, & mouse. Bottom port is DisplayPort and HDMI compatible on both the CM4 and RK1.

Video Guide​

Written Guide​

  1. Connect your drive to the FxBlox
  2. Connect to your FxBlox via ssh or keyboard, video, & mouse
    • If you have FxBlox Lite (CM4):
      • ssh pi@fulatower, password raspberry
    • If you have FxBlox Lite Plus (RK1):
      • ssh pi@fxblox-rk1, password fxblox
    • When connecting directly, open up Terminal app with Ctrl + Alt + T
  3. Update current packages with sudo apt update && sudo apt upgrade. Enter your password. :::If it asks to choose between files If it asks to choose (y/n) between two file versions, enter n. :::
  4. Download parted app with sudo apt install parted
  5. Identify new disk(s) with lsblk. External drives will show up as sdX. Internal drives would show up as the type of device.
info

In the following commands, replace sdx with the device name(s) found in the output of the above command. Repeat steps 10-12 for any new drives you have, one at a time.

  1. Assign your drive the GPT partition standard with sudo parted /dev/sdx mklabel gpt
  2. Partition your drive with sudo parted -a opt /dev/sdx mkpart primary ext4 0% 100%
  3. Format the newly created partition with sudo mkfs.ext4 /dev/sdx1
  4. Wait for it to complete. Then restart FxBlox app.
  5. You should now see that your total maximum storage has increased by the size of the drive you installed. You may also need to hit the refresh button.

If you have any issues, checkout the Troubleshoot section for more information.

MacOS (Terminal)​

Ext4 is a linux standard that MacOS does not support without some third-party help. You will not be able to use the Disk Utility app on Mac, to partition to Ext4. We do not need to mount our drive to Mac, we just need to partition and format it. To do so:

Video Guide​

Written Guide​

  1. Start by downloading the fdisk command-line tool on sourceforge
  2. Install app by double-clicking on the downloaded dpkg file
  3. You will not be able to open it, because of Apple security measures. To circumvent them, open Settings -> Privacy & Security -> Security
  4. Click on Allow Anyways
  5. Connect drive to Mac, if not already done. Click Allow to allow access to drive and now click Ignore to keep it discoverable
  6. Open up your Terminal app by searching your Applications or search with Spotlight by pressing CMD + SPACEBAR, then type Terminal
  7. Identify disk location with diskutil list. You'll want to keep note of the path, it should be something like /dev/disk#
  8. Now start command-line utility with sudo gdisk. See Example Output and Troubleshoot for more information.
  9. Enter device path found in step 7.
  10. Hit n, to create a new GPT partition
    • If partition already exists, press d to delete it.
    • if multiple partitions exist, checkout Troubleshoot section.
  11. Accept the default partition number by just pressing return/Enter.
  12. Accept the default starting and ending sectors (creates a partition that spans 100% of the drive) by just pressing return/Enter
  13. Enter 8300 for the Hex-code/GUID. This is short form to select the 'Linux Filesystem'
  14. Enter w to write table to disk and exit tool
  15. Hit y to proceed, wait for it to complete, and safely eject and reinsert drive.

Example Output​

After partitioning is complete. Now we can format using the e2fsprogs command.

  1. Download with brew install e2fsprogs. This might take a while if Brew is not up-to-date.
  2. Now verify disk path again with diskutil list.
  3. Run sudo `brew --prefix e2fsprogs`/sbin/mkfs.ext4 /dev/diskXs1
replace the X in /dev/diskXs1 with the path found in step 18!
  1. Wait for it to complete and safely eject drive.
  2. Connect your drive to the FxBlox.
  3. Close FxBlox app. Now open your Fxblox app now and see your total maximum storage increase in the FxBlox app.

If the drive does not show within the next 5 minutes there maybe a variety of issues occurring. Checkout the Troubleshooting section for more details.

Windows (Free Third-Party App)​

Ext4 is a linux standard that Windows does not support without some third-party help. There are various paid and free options out there, but we recommend Parition Master Free by EaseUS.

Video Guide​

Written Guide​

  1. Install Partition Master Free by EaseUS if not already done

  2. Plug in storage device to your Windows computer, if not already done

  3. Open the app. Select Partition Manager from the left sidebar

    • It may immediately recognize the drive and push you to use the Partition Wizard. The partition wizard is a paid service, so if you exit out of that window you can continue to use the app normally (as described below).
  4. Select the new drive

blank drive

  1. Ensure drive partition type is listed as GPT instead of MBR.
    • If it is not, select drive. Then, in right sidebar, select Initialize to GPT to add it to task list queue.
    • Optionally, execute task.
  1. Select unallocated drive, and on the right sidebar, click Create

  2. Make sure EXT4 is selected under File system

  3. Click OK

  4. Click Execute # Task(s) at the bottom of the right sidebar of the main window

  1. Wait for task(s) to complete, then close app and eject drive

  2. Connect your drive to the FxBlox

  3. Close FxBlox app if its currently opened, otherwise open your Fxblox app now and see your total maximum storage increase in the FxBlox app.

Troubleshoot​

  • Drive not recognized in Windows. If your windows computer doesn't see the connected drive, try restarting your computer first. Then look into potentially installing drivers for the storage device.
  • Storage capacity not updating This could be for a variety of issues:
    • Try closing/opening your app a couple of times, but also press the retry buttons a once or twice in between.
    • Restart the FxBlox by unplug-plugging it back in.
    • The usb3 drive is connected to a usb2 port. On a FxBlox Lite, the top two ports are USB2.0 and the bottom is USB3.0. On a FxBlox Lite Plus, the top port is USB2.0 and the bottom two are USB3.0.
  • Additional storage devices not showing up under Device Tab. This is a known bug, as of app version 1.6.2. Currently, newly added storage gets added to the total instead of as a separate device.
  • Partition Exists already (MacOS). If a partition exists already, then you will want to delete it first, write to drive, and rerun the command:
    1. Get to step 9 in the Manually Partition and Format for Mac instructions
    2. Hit d, to delete partition(s).
    3. Hit w, confirm by hitting y and saving state.
    4. Continue Manually Partition and Format for Mac instructions, from step 7.
info

Our apps are open-source and built in React Native for cross-platform support. So if you would like to contribute to the project, that would be greatly appreciated!