Disk Management
Using the MSS
5-8
5.3.1 Flash Disk
The MSS contains a Flash disk (/flash), rewriteable memory that allows you to customize
your MSS. Any data that you want the MSS to save after it is rebooted should be stored on
the Flash disk.
Note:
If there is a power glitch during rewrite, you can lose the entire
contents of the Flash disk. Therefore, it is a good idea to back up any
important files to an ATA flash card or to another server.
The Disk commands can be used to manage files on the Flash disk. For example, the
following command creates a new directory on the Flash disk that could be used for custom
application files:
Figure 5-7: Creating a New Directory on the Flash Disk
To view all of the files and directories currently on the Flash disk, enter the Disk Ls
command with or without flags. The following example will display all the files as well as
the modification date, size, owner, and permissions:
Figure 5-8: Listing Directory Contents
5.3.2 ATA Flash Cards
Once an ATA card is formatted, the card can be used the same as the on-board MSS Flash
disk. Files on the card can be referenced as “/pccard1/<directory>/<filename>” for cards
installed in the top slot or “/pccard2/<directory>/<filename>” for cards installed in the
bottom slot.
The Disk commands described above and in the MSS Reference Manual can also be used
with an ATA Flash card. For example, to back up a Flash disk file (data.txt) onto an ATA
card in the top slot, use the following commands to create a backups folder on the card and
to copy the desired file into that folder:
Figure 5-9: Backing Up Files onto an ATA Card
The maximum number of files and directories (total sum) that can fit on the card is a
function of the size of the card: divide the size of the card by 5k (5120 bytes). This assumes
that the average size of all the files that will fill up the card will be smaller than 5k.
Data can be corrupted if power is lost in the middle of a write (for example, if the cord is
pulled). If the Disk Sync command is issued and power is removed after the command is
completed, data will be stored correctly on the card. Likewise, there should be no problems
with data integrity if the Initialize Delay 0 command is used to reboot the unit.
Local>> DISK MKDIR /flash/customapps/
Local>> DISK LS -l /flash
Local>> DISK MKDIR /pccard1/backups/
Local>> DISK CP /flash/customapps/data.txt /pccard1/backups
Summary of Contents for MSS4-D
Page 1: ...MSS Installation Guide For MSS4 Device Servers ...
Page 20: ......
Page 30: ......
Page 54: ......
Page 70: ......
Page 72: ......
Page 95: ...v WEP 4 17 4 21 Index Number 4 21 Key 4 21 WINS 4 5 Wireless See 802 11 ...