Professional Documents
Culture Documents
(Junos) How To Mount A USB Drive On The EX - SRX
(Junos) How To Mount A USB Drive On The EX - SRX
SUMMARY:
This article explains how to mount a USB drive on an EX/SRX/MX/QFX series device and
copy les to or from the device via the USB drive.
SOLUTION:
The following procedure allow users to mount a USB device on EX/SRX/MX/QFX devices.
This can be helpful if network connectivity is unavailable and you need to copy les to or
from the device.
root@% ls /dev/da*
/dev/da0 /dev/da0s1c /dev/da0s2a /dev/da0s3 /dev/da0s3e
/dev/da0s1 /dev/da0s1f /dev/da0s2c /dev/da0s3c
/dev/da0s1a /dev/da0s2 /dev/da0s2f /dev/da0s3d
3. Insert the USB drive in the USB port. The following output will be displayed:
root@% ls /dev/da*
/dev/da0 /dev/da0s1c /dev/da0s2a /dev/da0s3 /dev/da0s3e
https://kb.juniper.net/InfoCenter/index?page=content&id=KB12880&actp=METADATA 1/3
2020/12/10 [Junos] How to mount a USB drive on the EX/SRX/MX/QFX series platforms - Juniper Networks
Note: '/dev/da2s1' is the USB drive. If the console session is not available while inserting
the USB, check the var log le names "messages" for logs related to "da"(e.g. show log
messages | match da). It will log the same 4 lines as is shown on console if it is plugged
live.
4. Create a directory for the USB drive to mount to:
Note: 'ls /var/tmp/usb' will show all the les in the USB drive.
6. For QFX use the following command to mount
The images.tgz le from the USB is successfully copied to the /var/tmp directory.
8. Now unmount the USB drive after the le is completely copied:
Note: Ensure that the USB devices are unmounted properly before removing them from
the router. For devices with multiple USBs, make sure that you unmount both devices.
MODIFICATION HISTORY:
2020-02-06: Added a note in Step 3 to check the var log le names
2020-01-27: Removed references to J-Series devices and added mount command for QFX.
2019-11-30: Added related PRs.
2017-12-1: Added note to step 7 regarding devices with multiple USBs.
https://kb.juniper.net/InfoCenter/index?page=content&id=KB12880&actp=METADATA 2/3
2020/12/10 [Junos] How to mount a USB drive on the EX/SRX/MX/QFX series platforms - Juniper Networks
https://kb.juniper.net/InfoCenter/index?page=content&id=KB12880&actp=METADATA 3/3