This article provides information on how to mount an USB disk to SRX and format it in the MS-DOS file system.
How to mount an USB disk to SRX and format the MS-DOS file system and backup configurations.
root@SRX3400-A% ls /dev ad0 cuau0 fileassoc ptyp2 ttyu0.lock ad0s1 cuau0.init geom.ctl random ttyu1 ad0s1a cuau0.lock i2c recb ttyu1.init ad0s1c cuau1 iic rosebud ttyu1.lock ad0s1e cuau1.init klog sfi_fifo0 ttyu2 ad2 cuau1.lock kmem sfi_fifo1 ttyu2.init ad2s1 cuau2 log stderr ttyu2.lock ad2s1a cuau2.init md0 stdin ttyu3 ad2s1b cuau2.lock md1 stdout ttyu3.init ad2s1c cuau3 mdctl tsec1 ttyu3.lock ad2s1e cuau3.init mem tsec2 urandom ad2s1f cuau3.lock nfs4 tsec3 usb ata devctl nfslock ttyp0 usb0 bcm56214.0 devstat null ttyp1 usb1 cfi0 fd pci ttyp2 veriexec console fido ptyp0 ttyu0 xpt0 ctty fileassoc ptyp1 ttyu0.init zero
root@SRX3400-A% ls /dev ad0 cuau0.init fileassoc random ttyu1.init ad0s1 cuau0.lock geom.ctl recb ttyu1.lock ad0s1a cuau1 i2c rosebud ttyu2 ad0s1c cuau1.init iic sfi_fifo0 ttyu2.init ad0s1e cuau1.lock klog sfi_fifo1 ttyu2.lock ad2 cuau2 kmem stderr ttyu3 ad2s1 cuau2.init log stdin ttyu3.init ad2s1a cuau2.lock md0 stdout ttyu3.lock ad2s1b cuau3 md1 tsec1 urandom ad2s1c cuau3.init mdctl tsec2 usb ad2s1e cuau3.lock mem tsec3 usb0 ad2s1f da0 nfs4 ttyp0 usb1 < da0 ata da0s1 nfslock ttyp1 veriexec < da0s1 bcm56214.0 devctl null ttyp2 xpt0 cfi0 devstat pci ttyu0 zero console fd ptyp0 ttyu0.init ctty fido ptyp1 ttyu0.lock cuau0 fileassoc ptyp2 ttyu1
root@SRX3400-A% newfs -T msdos /dev/da0s1 /dev/da0s1: 957.0MB (1959864 sectors) block size 16384, fragment size 2048 using 6 cylinder groups of 183.62MB, 11752 blks, 23552 inodes. super-block backups (for fsck -b #) at: 32, 376096, 752160, 1128224, 1504288, 1880352
root@SRX3400-A% mount -t msdos /dev/da0s1 /mnt
root@SRX3400-A% df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 865M 451M 345M 57% / devfs 1.0K 1.0K 0B 100% /dev /dev/md0 514M 514M 0B 100% /junos /cf 865M 451M 345M 57% /junos/cf devfs 1.0K 1.0K 0B 100% /junos/dev/ procfs 4.0K 4.0K 0B 100% /proc /dev/ad0s1e 96M 126K 88M 0% /config /dev/ad2s1f 12G 9.2G 1.7G 84% /var /dev/md1 998M 1.1M 917M 0% /mfs /var/jail 12G 9.2G 1.7G 84% /jail/var /var/log 12G 9.2G 1.7G 84% /jail/var/log devfs 1.0K 1.0K 0B 100% /jail/dev /dev/da0s1 946M 4.0K 870M 0% /mnt < usb mount to /mnt root@SRX3400-A% umount /mnt root@SRX3400-A% df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 865M 451M 345M 57% / devfs 1.0K 1.0K 0B 100% /dev /dev/md0 514M 514M 0B 100% /junos /cf 865M 451M 345M 57% /junos/cf devfs 1.0K 1.0K 0B 100% /junos/dev/ procfs 4.0K 4.0K 0B 100% /proc /dev/ad0s1e 96M 126K 88M 0% /config /dev/ad2s1f 12G 9.2G 1.7G 84% /var /dev/md1 998M 1.1M 917M 0% /mfs /var/jail 12G 9.2G 1.7G 84% /jail/var /var/log 12G 9.2G 1.7G 84% /jail/var/log devfs 1.0K 1.0K 0B 100% /jail/dev