Query/Concern
Is there a way to transfer a file from a USB Drive to the VOS or from the VOS-White Box to a USB Drive?
Note: This KB is only for transferring files to or from and not for onboarding/activating a VOS using USB.
To onboard/activate an appliance using USB, please follow this Docs-Link: Activate VOS Devices — USB Storage Drive. There is no need to mount or unmount USB for Device Activation using the USB method.
Solution
Step 1 — Prepare the USB Drive
Get a FAT32 formatted USB drive and copy any files or images you would like to transfer to the VOS-White Box.
Step 2 — Plug in the USB
Plug in the USB to the available port of the CSG or the White-Box.
Step 3 — Identify the USB Device
Run the following command to identify the USB device name:
admin@Branch $ sudo fdisk -lIn the sample below, the USB is identified as sdb12. It can be any sd<x>, so please change the subsequent values accordingly.
Sample Snippet:

Step 4 — Mount the USB
Mount the USB using the below commands:
[admin@Branch: ~] $ mkdir /var/tmp/mnt/
[admin@Branch: ~] $ sudo mount /dev/sd<x> /var/tmp/mnt/In the sample, it is sdb1.
Prior to the mount of the USB:

After the mount:

Step 5 — Access the USB Files
To access the files or copy to/from the USB:

Step 6 — Copy Files To/From the USB
You can copy files to and from the USB. Example of copying the versa-service.log from VOS to the USB:

Step 7 — Safely Unmount the USB
Before removing/unplugging the USB from the White-Box/CSG, unmount it safely:
[admin@Branch: ~] $ sudo umount /var/tmp/mntThen use df -kH to confirm that sd<x> is no longer listed, which means the USB has been safely unmounted.
Note: You can ignore the
tmpfsentries which may be created.
Sample Snippet (where the USB identifies as sdb12):

In case of any further concerns or queries, feel free to write us at support@versa-networks.com.