Dell EMC PowerSwitch S3048-ON Installation Guide June 2021

PDF

USB storage mount

The USB storage supports the FAT file system. The USB storage does not automatically mount. To use USB storage, you must first mount the device.

  1. Create a mount directory for the USB.
    ONIE:/ # mkdir /mnt/usb
  2. View the fixed disks using the fdisk command.
    ONIE:/mnt # fdisk -l
    For internal storage:
    Disk /dev/sda: 15.8 GB, 15829303296 bytes
    255 heads, 63 sectors/track, 1924 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks  Id System
    /dev/sda1               1        1925    15458303+ ee EFI GPT
    
    For USB storage:
    Disk /dev/sdb: 30.9 GB, 30942946304 bytes
    64 heads, 32 sectors/track, 29509 cylinders
    Units = cylinders of 2048 * 512 = 1048576 bytes
    
       Device Boot      Start         End      Blocks  Id System
    
  3. Mount the device /dev/sdb to the /mnt/usb directory.
    ONIE:/ # mount -t vfat /dev/sdb /mnt/usb
    NOTE The following message displays if the /mnt/usb directory is missing: mount: mounting /dev/sdb on /mnt/usb failed: No such file or directory.
    NOTE The following message displays if the USB device is not seen: mount: mounting /dev/sdb on /mnt/usb failed: No such device or address.
  4. OPTIONAL: Add a device to the file systems table, fstab, and mount the file systems.
    ONIE:/ # vi /etc/fstab
    # FSTAB entry for the ONIE-BOOT partition mounted on /boot
    LABEL=ONIE-BOOT /mnt/onie-boot ext4    defaults,rw,errors=remount-ro 0   1
    /dev/sdb        /mnt/usb       vfat    defaults                      0   1
    
    ONIE:/ # mount -a

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\