[4:0:0:0] disk ATA TS960GV8MD1YTJM O122 /dev/sda
[5:0:0:0] disk ATA TS960GV8MD1YTJM O122 /dev/sdb
[6:0:0:0] disk UFD 3.0 Silicon-Power8G 1100 /dev/sdc
5. Mount the USB flash-drive.
root@srx4600-node:~# mkdir /var/tmp/usb
root@srx4600-node:~# mount /dev/sdc1 /var/tmp/usb
6. Go back to Junos prompt by using the exit command.
root@srx4600-node:~# exit
root@srx4600:/var/tmp #
7. Use the command ls -lrt to list the files located at /var/tmp.
root@srx4600:/var/tmp # ls -lrt
-rw-r--r-- 1 root wheel 1226057800 Nov 1 14:20 File1.txt
File1.txt is the file located in /var/tmp
8. Copy the required file to the USB flash-drive as shown in the example below.
In the example below File1.txt is copied to the USB flash-drive:
root@srx4600:/var/tmp # scp -JU __juniper_private4__ File1.txt root@192.168.1.1:/var/tmp/usb/
File1.txt 100% 1169MB 30.0MB/s 00:39
root@srx4600:/var/tmp #
9. Go back to hypervisor.
root@srx4600:/var/tmp # vhclient -s
Last login: Wed Nov 1 16:56:32 UTC 2017 from srx4600 on pts/0
You have new mail.
root@srx4600-node:~#
10. Unmount the USB flash-drive and exit hypervisor.
root@srx4600-node:~# umount /var/tmp/usb
root@srx4600-node:~# exit
110