System

<< Click to Display Table of Contents >>

Navigation:  Technical >

System

Swap Space

 

Usually the Linux Swap Space is not used in RSS. Many programs requiring compiling (such as Fldigi) require at least a 512 MB swap space. Providing swap space when not necessary can reduce the life of an SD card. See this link for further details on managing Swap Space:

 

Swap info

 

Backing up and Upgrading the RigPi Memory Card

 

The Micro SD memory card for the Raspberry Pi has a limited lifetime.  Write cycles are usually more critical in determining the life of an memory card because the space to be taken by a write must be cleared first. 'Wear leveling' is used to distribute write cycles so one portion of the memory space is not used constantly. It is suggested that you use a memory card having at least two times the space needed to leave room for wear leveling.  

To provide insurance against corrupting a memory card, it is wise to back it up to a second card, a USB memory stick, or as an image to a fixed drive. The simplest way to back up the SD Card is by using the SD Card Copier program available through the Accessories menu on the RSS Desktop.

 

The SD Card can be backed up to a USB memory stick or to another SD Card.  The latter requires a spare card and SD Card USB adapter. Plug the USB stick or adapter into a spare USB connector on RSS.

 

Select the Raspberry icon to open the Applications Menu.  Select Accessories, then SD Card Copier.  Follow the instructions given in SD Card Copier Help.

 

Minimum microSD Card specifications:

 

Type: Micro SD

Size: 16GB (or larger)

Class: 10

Speed: 80MB/s or faster

 

RigPi makes intensive use of the memory card.  Cards designed for video applications are able to handle large amount of data with continuous recording.  Manufacturers claim up 43,800 hours (5 years) endurance.  The Samsung PRO Endurance 32 GB card is recommended as an upgrade for RigPi.

 

Optimal microSD Card specifications:

 

Type: microSDXC

Size: 32 GB (or larger)

Class: --

Speed: 100/30 MB/s

 

Providing more space on the Memory Card

 

Here are some suggestions for increasing the free space on your memory card.

 

Remove all unnecessary programs.  You probably aren't using all the programs on your RigPi.  For example, removing Wolfram and Open Office can clear over a GB of memory space.

 

To remove a package, open Terminal and use the following command:

 

sudo apt-get purge -y <packagename>

 

Here is a list of removal candidates:

 

sudo apt-get purge -y wolfram-engine

680 MB

sudo apt-get purge -y libraoffice

245 MB

sudo apt-get purge -y oracle-java

160 MB

sudo apt-get purge -y scratch

140 MB

sudo apt-get purge -y scratch

91 MB

 

 

Make sure all of your memory card is being used.  This is especially important if you are moving to a larger memory card.

 

1.Open Terminal from the Raspberry Pi desktop

2.sudo raspi-config

3.Select the Advanced option

4.Expand memory space

 

Transfer RigPi to a larger microSD card.  See the previous section, Backing Up and Upgrading the RigPi Memory Card.  Be sure to expand the memory space as described above.

Logs are rotated and deleted by the logrotate utility.  Logrotate is configured in the file /etc/logrotate.conf.

 

Updating the Raspbian Operating System

 

Updates to the Raspbian operating system occur often.  To keep current, RigPi has an automatic update feature that updates your system in the background once per week.  You can also update manually using these commands in Terminal:

 

Update system package list:  sudo apt-get update

 

Upgrade software: sudo apt-get dist-upgrade