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)

...

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 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. Click the Expand button ).



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




    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 card, 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 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:


    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 *


...

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

  1. Open the SmartServer CMS.

  2. Open the Devices widget, SEGMENT CONTROLLERS. Click the Expand button ).



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




    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 its data.

...