Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

For SmartServer 3.4, see Managing the SmartServer SD Card (Release 3.4)

For SmartServer 3.3 and prior, see Managing the SmartServer SD Card (Release 3.3 and Prior)

The Devices widget, Segment Controllers tab, allows you to erase data on the SD card, as well as to reformat the SD Card, using the CMS. You can also erase data on the SD card using the SmartServer Linux console. This section describes these operations and consists of the following:

Determining SD Card Usage

For SmartServer 3.3 and prior, use the Storage widget as described in Managing the SmartServer SD Card (Release 3.3 and Prior) to determine the SD Card usage.

For SmartServer 3.4 and higher, use the SmartServer app bar Storage display to determine the SD Card usage. Storage reflects percentage used internal storage (stored in /var/apollo)  / percentage used SD Card storage (stored in /media/sdcard). 

Erasing Data on the SD Card

You can erase data on the SD card using the CMS or the Linux console. Refer to the sections below for more information.

The SD card contains the CMS database that is required for SmartServer operations. Be sure that you intend to erase the data on the SD card, including the CMS database, before continuing with these steps.

Using the CMS

You can use the SmartServer CMS to erase the contents of the SD card. To delete SmartServer database and system backup files from the SD card, perform the following steps.

  1. Open the Devices widget, SEGMENT CONTROLLERS tab, and click the /wiki/spaces/TEMP/pages/44631776 ).



  2. Click the Action button () and select the Erase SD Card action.




    The following dialog box appears:



  3. Click OK to erase the contents of the SD Card, including the CMS database.

Using the Linux Console

You can use the Linux console to delete the SmartServer database and system backup files from the SD card. Using the command line, you can select specific database and system backup files to be removed, or you can remove all of the backup files.

To delete SmartServer database and system backup files that are stored on the SD card using the Linux console (SSH or USB), perform the following steps:

  1. Connect and log into to the SmartServer. See Connecting to Your SmartServer for more information.

  2. Enter the following command to change to the /media/sdcard/backups directory:

    cd /media/sdcard/backups


  3. Enter the following command to view the directory file contents and its size:

    ls -s


    The database and system backup files are stored with the date and time of their creation encoded into the name using the format yyyy-mm-dd-hhmmss as shown in the following examples:

    Database backups are .zip files and full system backups are .tgz files.


    total 868180
    -rw-r--r-- 1 root root  10258111 May  6 23:19 SmartServer-DB-Backup-2021-05-07-031940.zip
    -rw-r--r-- 1 root root 878744783 May  7 00:12 SmartServer-System-Backup-2021-05-07-035021.tgz
  4. Use the Linux rm command to remove a file(s) as shown in the following examples with the date and time specific to files:

    rm SmartServer-DB-Backup-yyyy-mm-dd-hhmmss.zip
    rm SmartServer-System-Backup-yyyy-mm-dd-hhmmss.zip

    Use the following command to remove all of the contents of the /media/sdcard/backups directory:

    rm *

Reformatting the SD Card Using the CMS

You can use the SmartServer CMS to reformat the SD card.

The SD card contains the CMS database that is required for SmartServer operations. Reformatting the SD card erases all the contents on the card, including the CMS database. Be sure that you intend to reformat the SD Card and erase all the data on the card, including the CMS database, before continuing with these steps. 

The steps that follow describe how to reformat the SD Card using the SmartServer CMS.

  1. Open the Devices widget, SEGMENT CONTROLLERS tab and click the /wiki/spaces/TEMP/pages/44631776 ). 



  2. Click the Action button () and select the Format SD Card action.




    The following dialog box appears:



  3. Click OK to reformat the SD card and erase all the data on the card.


  • No labels