[arm-allstar] LOG
Luc Drolet VE2LUQ
ldrolet at cgocable.ca
Mon Sep 3 14:02:05 EDT 2018
Hello Doug,
Thank you for this info, all my sites have a 16GB USB key now, since I learned to make the file "file-backup.sh" except the NODE 1400 him he does not have a USB key presently because I have access to this site which is difficult,
With the same USB key, if I understand correctly, I can make my backup in a file and create another file for my LOGS on the same USB key that is connected to the Raspbbey Pi
OK tonight I'm going to test my NODE at home to see how it works
Thank you for your explanations, thank you very much
see attached file #df
Luc
VE2LUQ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: df.pdf
Type: application/pdf
Size: 54773 bytes
Desc: not available
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20180903/8b923e2b/attachment-0001.pdf>
-------------- next part --------------
> Le 3 sept. 2018 ? 12:22, Doug Crompton via ARM-allstar <arm-allstar at hamvoip.org> a ?crit :
>
> Luc,
>
> When using an SD card as in the Pi we limit writes to the card itself
> therefore all logs are to a tmp filesystem or in other words to volatile
> RAM. If you do a 'df' command at the Linux prompt you will see what I mean -
>
> # df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/root 3762048 1594272 1956956 45% /
> devtmpfs 474584 0 474584 0% /dev
> tmpfs 479192 0 479192 0% /dev/shm
> tmpfs 479192 12344 466848 3% /run
> tmpfs 479192 0 479192 0% /sys/fs/cgroup
> tmpfs 479192 32 479160 1% /tmp
> tmpfs 51200 412 50788 1% /var/log
> /dev/mmcblk0p1 102182 19610 82572 20% /boot
> tmpfs 95840 0 95840 0% /run/user/0
>
> All of the filesystems defined tmpfs are in RAM. This includes /var/log and
> all directories below it.
>
> f you truly want to save data on an ongoing basis I would recommend
> installing a USB stick. 32G or more USB sticks are very inexpensive.
>
> You can either specifically mount it in /etc/fstab or make sure that devmon
> is running using the following line - This could be the first line in
> /etc/rc.local -
>
> # check if devmon is running, if not running, start it
> pgrep devmon &> /dev/null || /usr/bin/devmon &> /dev/null
>
> Then direct all things you want to keep to the USB stick.
>
> There are other ways like sending the data to another computer but just
> putting it on a USB stick is the easiest. I do this on my hubs storing logs
> there and it has worked well. Here is what it looks like in my case in
> fstab -
>
> /dev/sda1 59374732 1520772 54814780 3% /media/MS1
>
> I named the stick MS1. It is a 64G stick and after a year of logging has 3%
> used!
>
> And yes this could be the same USB stick that you do backups to using
> file-backup.sh
>
>
> *73 Doug*
>
> *WA3DSP*
>
> *http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
>
>
> On Mon, Sep 3, 2018 at 11:54 AM "Luc Drolet VE2LUQ via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
>> Hello everyone,
>>
>> I have a small problem with my CDR-CSV file in / var / log /
>> this file sometimes disappears ???, I ask myself a question which I
>> believe,
>> when I made an update of our asterisk version,
>> in ssh mode "admin menu" # 1, the file CDR-CSV who disappears but I'm not
>> sure!
>>
>> I installed the supermon 6.0 in our repeater and I also like this web page
>> very good job
>> Is it because I installed this web page that I have a bug on the CDR-CSV
>> file?
>>
>> I use private NODES for your information.
>>
>> to get the CDR-CSV file, I go back to the 9-Start bash shell interface
>> menu,
>> and execute this command
>> "mkdir / var / log / asterisk / cdr-csv"
>> and everything comes back to normal, skips that I lost my LOG
>>
>> Thank you for helping us
>> Have a good day
>> Luc
>> VE2LUQ
>> _______________________________________________
>>
>> ARM-allstar mailing list
>> ARM-allstar at hamvoip.org
>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>>
>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>>
> _______________________________________________
>
> ARM-allstar mailing list
> ARM-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
More information about the arm-allstar
mailing list