I am doing automatic backups from a script on Linux server (SCP) that emulate CLI to the MCR & MD. Script run from CRON
Original Message:
Sent: May 29, 2024 02:49 PM
From: istong
Subject: How USB mount to 7210 controller?
One note that might be a given for some, put the usb drive in and reboot the controller so it mounts the usb. I couldn't find a way to mount the usb with the controller up and inserting the usb. It auto mounted it with the usb installed and then rebooting the controller.
Original Message:
Sent: Jan 11, 2015 06:26 AM
From: jgoff
Subject: How USB mount to 7210 controller?
usb should be fat32 formatted, put it in the 7200 and then use show storage to check it has mounted.
(sg-7210) #show storageFilesystem Size Used Available Use% Mounted onnone 2.0G 18.6M 2.0G 1% /tmp/dev/usb/flash3 1.5G 110.3M 1.3G 8% /flash/dev/usbdisk/slot0/1 7.4G 186.0M 7.3G 2% /mnt/usbdisk/slot0/1(sg-7210) #
note the "partition" number, here is 1 (i.e. /mnt/usbdisk/slot0/<partition #>).
then, you can use CLI as follows:
>> put something on it
(sg-7210) #copy flash: default.cfg usb: partition 1 default_11jan15.cfg....File default.cfg copied to /mnt/usbdisk/slot0/1/default_11jan15.cfg successfully.(sg-7210) #
>> perform directory listing
(sg-7210) #dir usb: partition 1Listing /mnt/usbdisk/slot0/1-rwxr-xr-x 1 root root 97505424 Jan 8 09:22 6.4.2.3_47524.imgdrwxr-xr-x 2 root root 4096 Jan 12 2015 Arubaimage-rwxr-xr-x 1 root root 11 Jan 12 2015 blah.TXT-rwxr-xr-x 1 root root 37439 Jan 11 19:23 default_11jan15.cfg(sg-7210) #
>> perform upgrade image
(sg-7210) #show image v----------------------------------Partition : 0:0 (/dev/usb/flash1) **Default boot**Software Version : ArubaOS 6.4.3.0 (Digitally Signed - Production Build)Build number : 45897Label : 45897Built on : Wed Sep 10 02:57:26 PDT 2014----------------------------------Partition : 0:1 (/dev/usb/flash2)Software Version : ArubaOS 6.3.1.5 (Digitally Signed - Production Build)Build number : 43118Label : 43118Built on : Tue Apr 8 20:55:04 PDT 2014(sg-7210) #(sg-7210) #copy usb: partition 1 6.4.2.3_47524.img system: partition 1Upgrading partition 1............................................................................................................File 6.4.2.3_47524.img copied to partition 1 successfully.The system will boot from partition 1 during the next reboot.(sg-7210) #(sg-7210) #show image v----------------------------------Partition : 0:0 (/dev/usb/flash1)Software Version : ArubaOS 6.4.3.0-frogsleap (Digitally Signed - Production Build)Build number : 45897Label : 45897Built on : Wed Sep 10 02:57:26 PDT 2014----------------------------------Partition : 0:1 (/dev/usb/flash2) **Default boot**Software Version : ArubaOS 6.4.2.3 (Digitally Signed - Production Build)Build number : 47524Label : 47524Built on : Sat Dec 6 10:15:29 PST 2014(sg-7210) #
Note: If you want to use the front panel to do the upgrade, you need to ensure the image is in a subdirectory called Arubaimage as noted in the userguide in the section "Using the LCD Screen", but if you just want to access and use the USB after the controller has booted, then this doesn't have to be the case.
regards
-jeff
#7210