Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info

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 SEGMENT CONTROLLERS tab, allows you to erase data on the SD card, as well as to reformat the SD Cardcard, 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:

...

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 card usage.

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

Erasing Data on the SD Card

...

Warning

The SD card contains the CMS database that is required for SmartServer operations. The sections that follow provide steps for erasing data on the SD card using the CMS or the Linux console.

...

Warning

The SD card contains the CMS database that is required for SmartServer operations. Be  Before continuing with the steps in the sections that follow, 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 SmartServer CMS.

  2. Open the Devices widget, SEGMENT CONTROLLERS tab, and click the /wiki/spaces/TEMP/pages/44631776 . Click the Expand button  ).

    Image RemovedImage Added

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

    Image Removed
    Image Added

    The following dialog box appears:



  4. Make sure that you intend to erase the data on the SD card, including the CMS database, before continuing with the next step.

  5. Click OK to erase the contents of the SD Cardcard, including the CMS database.

...

  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:

    Code Block
    cd /media/sdcard/backups


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

    Code Block
    ls -s


    The database backups (.zip files) and system backup files are backups (.tgz 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:

    note


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

    Code Block
    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. Make sure that you intend to erase the data on the SD card, including the CMS database, before continuing with the next step.

  5. Use the Linux rm command to remove a file(s) as shown in the following examples with the date and time specific to files:

    Code Block
    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:

    Code Block
    rm *


Reformatting the SD Card Using the CMS

Warning

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

...

Warning

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  Before continuing with the steps in the sections that follow, be sure that you intend to reformat the SD Card card and erase all the data on the card, including the CMS database, before continuing with these steps. 

...

To reformat the SD Card card using the SmartServer CMS, perform the following steps:

  1. Open the SmartServer CMS.

  2. Open the Devices widget, SEGMENT CONTROLLERS tab and click the /wiki/spaces/TEMP/pages/44631776 . Click the Expand button  ). 

    Image RemovedImage Added

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


    Image RemovedImage Added

    The following dialog box appears:



  4. Make sure that you intend to erase the data on the SD card, including the CMS database, before continuing with the next step.

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