[arm-allstar] Image update 12/10/17

Doug Crompton wa3dsp at gmail.com
Tue Dec 12 00:14:43 EST 2017


Steve,

 Well it isn't Debian it is Archlinux but yes it will auto mount under
media. I general reformat the stick as Linux ext4 and name (label) it. Here
is an example:

[root at 27225-HUB MS1]# pwd
/media/MS1
[root at 27225-HUB MS1]# ls
27225  backup  lost+found

My USB stick is labelled MS1 and it mounts under /media  - I am a Linux
person and rarely use Windows so I do everything Linux. I think it will
work fine as it comes formatted - probably fat32 - but ext4 is a better
filesystem. You can use Gparted on a Linux desktop to format and label very
easily.

In this case I have the archivedir defined like this in node 27225 in
rpt.conf -

archivedir=/media/MS1
archiveaudio=0          ; Disable saving .wav files

This is defined in the node definitions for node 27225 so the first time it
runs it creates the 27225 directory under MS1. You do not need to create
any directories. I do not store any audio thus archiveaudio=0. The
directory looks like this after awhile (partial!)

 1416 -rw-r--r-- 1 root root   1442969 Nov 23 23:58 20171123.txt
   812 -rw-r--r-- 1 root root    824472 Nov 24 23:59 20171124.txt
  1584 -rw-r--r-- 1 root root   1614431 Nov 25 23:53 20171125.txt
   756 -rw-r--r-- 1 root root    768309 Nov 26 23:51 20171126.txt
  1176 -rw-r--r-- 1 root root   1199914 Nov 27 23:59 20171127.txt
  1568 -rw-r--r-- 1 root root   1597471 Nov 28 23:56 20171128.txt
  1040 -rw-r--r-- 1 root root   1056974 Nov 29 23:25 20171129.txt
  1104 -rw-r--r-- 1 root root   1124149 Nov 30 23:48 20171130.txt
  1288 -rw-r--r-- 1 root root   1314366 Dec  1 23:57 20171201.txt
  1144 -rw-r--r-- 1 root root   1163382 Dec  2 23:59 20171202.txt
  1344 -rw-r--r-- 1 root root   1370941 Dec  3 23:59 20171203.txt
  1252 -rw-r--r-- 1 root root   1274148 Dec  4 23:59 20171204.txt
  1288 -rw-r--r-- 1 root root   1314332 Dec  5 23:45 20171205.txt
  1504 -rw-r--r-- 1 root root   1535443 Dec  6 23:59 20171206.txt
  1328 -rw-r--r-- 1 root root   1352760 Dec  7 23:59 20171207.txt
  1968 -rw-r--r-- 1 root root   2011087 Dec  8 23:59 20171208.txt
   952 -rw-r--r-- 1 root root    969308 Dec  9 23:36 20171209.txt
  1240 -rw-r--r-- 1 root root   1261866 Dec 10 23:59 20171210.txt
  1432 -rw-r--r-- 1 root root   1458427 Dec 11 23:59 20171211.txt

As you can see it stores all logs on a daily basis. This is only the last
few weeks. I have a 64G USB stick and it has logs since last April which
average over a megabyte per day.. As you can see the log data does not take
a lot of space. Turn on audio and it will be far more and a ton more files
as each transmission is one audio file.

Filesystem     1K-blocks    Used Available Use% Mounted on
/dev/sda1       59374732  835620  55499932   2% /media/MS1

or in human readable view -

Filesystem      Size     Used     Avail   Use%   Mounted on
/dev/sda1        57G     817M    53G     2%      /media/MS1


*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*



On Mon, Dec 11, 2017 at 11:44 PM, "Steve Agee via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> Doug,
>
> Thanks for the reminder on this. How about a quick crash course "how to"
> on this. I insert a USB stick. Will Debian then auto mount it, or is human
> intervention required, and once mounted, how do I point the recorded audio
> to the USB stick please?
>
> N5ZUA
>
> On 12/11/2017 10:40 PM, "Doug Crompton via arm-allstar" wrote:
>
>> And remember and I can't emphasize this enough - DO NOT even think of
>> archiving to the SD card!!! If you use archive use a USB stick, hard or SS
>> drive, or sshfs, samba, to another computer.
>>
>>
>> *73 Doug*
>>
>> *WA3DSP*
>>
>> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>>
>>
>>


More information about the arm-allstar mailing list