Formating to use the USB thumb drive
Introduction:
This article show how to enable and use the USB drive in the ZPE Nodegrid. The Nodegrid recognizes EXT4 file system. Other file system may not be recognizable in the Nodegrid.
Having the USB thumb drive in the Nodegrid allows extended storage for logging files and storing any needed files, allows VMs and Docker container runs on the USB.
Steps:
When a new USB is connected to the Nodegrid, the Nodegrid OS may not recognized the file system and will not mount the thumb drive. use "lsblk" to check the thumb drive
- root@Nodegrid:~# lsblk
- NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
- loop0 7:0 0 2G 0 loop /media/loopfs
- sda 8:0 0 29.8G 0 disk
- |-sda1 8:1 0 2M 0 part
- |-sda2 8:2 0 94M 0 part
- |-sda3 8:3 0 96.3M 0 part /media/hdCnf
- |-sda4 8:4 0 4.7G 0 part /
- |-sda5 8:5 0 95M 0 part /media/hdUser
- |-sda6 8:6 0 61M 0 part
- |-sda7 8:7 0 477M 0 part /boot
- `-sda8 8:8 0 24.4G 0 part /media/hdVar
- sdb 8:16 1 57.8G 0 disk
- `-sdb1 8:17 1 57.8G 0 part
Format the USB drive to EXT4 to be use in the Nodegrid.
root@Nodegrid:~# mkfs -t ext4 /dev/sdb1
Once the format have been completed, the USB needs to be reseated for the Nodegrid OS to mount the the USB thumb drive
- root@Nodegrid:~# df -h
- Filesystem Size Used Avail Use% Mounted on
- /dev/sda4 4.7G 1.7G 2.9G 36% /
- devtmpfs 1.9G 0 1.9G 0% /dev
- /dev/sda3 88M 27M 55M 33% /media/hdCnf
- /dev/sda8 24G 2.2G 21G 10% /media/hdVar
- /dev/sda5 87M 15K 80M 1% /media/hdUser
- /dev/loop0 2.0G 5.5M 1.9G 1% /media/loopfs
- cgroup 1.9G 0 1.9G 0% /sys/fs/cgroup
- /dev/sda7 477M 77M 401M 17% /boot
- default:ext-sto-zdk1njg4zdutntaymy00ytixlwjjndqtzmq2zgrkyjvmztji/f4726fdb-49b5-47e2-b551-f19d98ff802a 1.0P 0 1.0P 0% /var/local/file_manager/remote_file_system/extended_storage/son-bsr_220691018
- default:ext-sto-zdk1njg4zdutntaymy00ytixlwjjndqtzmq2zgrkyjvmztji/97a40e37-1489-444c-80da-4ea99c91d6eb 1.0P 0 1.0P 0% /var/local/file_manager/remote_file_system/extended_storage/Shared
- /dev/sdb1 57G 24K 54G 1% /run/media/sdb1
the drive is now recognized as /run/media/sdb1 in the Nodegrid OS root shell and also can be found in the Nodegrid Manager System::Toolkit "File Manager" folder "/home/admin_group/sdb1"
Related Articles
How to setup Data Logging for one or more Devices to save data locally
Data logs capture all information send to a device and coming from a device. You can choose to store the logs locally or remotely. Configuration via WebUI: 1. Login as admin and navigate to Managed Devices 2. Select the target device and go to ...
USB Passthrouh Feature - Nodegrid
USB Passthrouh This feature requires the latest USB controller, currently available on new NSR USB modules "year 2021 and later. It is also available on newer models of BSR and GSR. New models for BSR and GSR that support 5G with 5 Antenna holes will ...
Deleting extra USB port for quad Uart
Introduction: When using the USB connections for serial access, with a quad UART only a few ports are used. It is a good idea to remove extra ports defined so that extra licenses can be freed. For the quad UART 4 licenses are used when it is ...
USB device types support in Nodegrid
The following usb devices types are currently supported by Nodegrid appliances: USB Device Type Vendor USB Serial FTDI, CP2105, CP210X USB KVM ZPE's KVM-U01 - KVM over USB dongle (VGA, USB kb, USB mouse) USB Sensor ZPE's THS-U01 - temperature ...
How to Connect and Configure a USB Serial device on the NodeGrid ?
Overview: The Nodegrid OS supports the serial connections via USB as well. In particular, it supports the connections USB - USB Micro, very used on some vendor switches (e.g. Cisco), as alternatives to the RJ45 console ports. For the testing, we used ...