USB disk management
USB disks are used under certain circumstances by the StoredSafe appliance, both at installation to export key material and when upgrading firmware.
┌─────────────────────────────────────────────────────────────────────────────┐
│ USB on node1 (Version 2.x.x build xxxx) │
└─────────────────────────────────────────────────────────────────────────────┘
┌─┬───────────────────────────────────────────────────────────────────────────┐
│1│Show content of USB disk │
│2│Show content of /isodevice/var/transfer │
│3│Copy content of /isodevice/var/transfer to a USB disk │
│4│Remove content on /isodevice/var/transfer │
│5│Unmount any mounted USB disk │
└─┴───────────────────────────────────────────────────────────────────────────┘
Remove content on /isodevice/var/transfer (Q to Quit)
Main> System Settings> USB>
Show content of USB disk
Files on USB disk "/mnt/usb"
StoredSafe-2.x.x-buildXYZZY.iso
StoredSafe-2.x.x-buildXYZZY.iso.sign
Press any key to continue
Show content of /var/root
Files in "/var/root"
90DB55393055099F.key
Backup-SSH-Key-1.pub
escrow.corp.com.sec.key
Press any key to continue
Copy content of /var/root to a USB disk
Under certain circumstances, such as a failure on an attached USB disk at a critical moment, StoredSafe might copy the affected files to it’s failsafe mountpoint, which normally is “/var/root”. If such an event occurs, insert a new USB disk and select this option to copy the files to the USB disk.
Copy all files from "/var/root" to the USB disk mounted at /mnt/usb (<Y>/n)? y
Copying "FD534875438.asc" to "/mnt/usb", copy complete.
Copying "backup-sto.pub" to "/mnt/usb", copy complete.
Copying "backup-mmo.pub" to "/mnt/usb", copy complete.
Copied 3 files from "/var/root" to the USB disk mounted at /mnt/usb.
Unmount any mounted USB disk
Use this option to forcefully unmount any mounted USB disk. If a disk is mounted, the below dialogue will appear.
Unmount USB? (<Y>/n) y
Successfully unmounted "/dev/sdb2".
Press any key to continue