[arm-allstar] Disable Deletion of connectlog
Michael Webb
mike.wg5eek at gmail.com
Fri Apr 3 10:58:57 EDT 2020
Thank you for that information. I'll do some research and see if that's
ultimately the way I go forward. The more I do with this, the more i'm
enjoying it!
On Fri, Apr 3, 2020 at 7:49 AM "Doug Crompton via ARM-allstar" <
arm-allstar at hamvoip.org> wrote:
> Glad you are enjoying and if you need more info on how to add a usb stick I
> can pass it along. Not that it is that hard but I probably should do a
> howto on it. In most cases it is just a matter of plugging it in and
> mounting it. The software to mount automatically is devmon. You can either
> start devmon as a service or run it manually as needed. To install as a
> service -
>
> systemctl enable devmon at root.service
> systemctl start devmon at root.service
>
> OR manually run this command after boot....
>
> pgrep devmon &> /dev/null || /usr/bin/devmon &> /dev/null &
>
> either way inserting a USB stick will result in a /media/stickname
> directory. The stick name will be some (meaningless to you) number/letter
> combination. You can rename it with formatting software to something more
> meaningful. I call mine MS1 , MS2, etc. meaning mass storage 1. You can
> if you desire add some really large sticks. They make a 1TB one now!
>
>
> https://www.amazon.com/1000GB-Flash-Drive-Metal-Design/dp/B0859YSTNW/ref=sr_1_2_sspa
>
> *73 Doug, WA3DSP*
> *http://wa3dsp.org <http://wa3dsp.org>*
>
>
>
> On Fri, Apr 3, 2020 at 10:29 AM "Michael Webb via ARM-allstar" <
> arm-allstar at hamvoip.org> wrote:
>
> > Doug,
> >
> > I understand and thank you for clarifying. I'm only been using this for
> a
> > couple months now but it's been a blast. Thank you to you and all of the
> > contributors for maintaining all of this. Our club is loving the access.
> >
> > 73
> > Mike
> > WG5EEK
> >
> > On Fri, Apr 3, 2020 at 7:23 AM "Doug Crompton via ARM-allstar" <
> > arm-allstar at hamvoip.org> wrote:
> >
> > > Mike,
> > >
> > > Individuals can do whatever they want. It is our policy to NOT write
> > > repetitively to the SD card and we would not change that. If a user
> wants
> > > to they are certainly able to do so at there own risk. The
> recommendation
> > > is to use a USB stick where you can write whatever you want and not
> > > jeopardize the SD card. It cheap and easy to do and it is also a path
> to
> > > backup important parts of the SD card using the supplied file-backup.sh
> > > script.
> > >
> > > *73 Doug, WA3DSP*
> > > *http://wa3dsp.org <http://wa3dsp.org>*
> > >
> > > On Fri, Apr 3, 2020 at 10:17 AM "Michael Webb via ARM-allstar" <
> > > arm-allstar at hamvoip.org> wrote:
> > >
> > > > Doug,
> > > >
> > > > Thank you for the quick response, and sorry for my delayed one. Is
> > > there a
> > > > specific reason as to not keep a log locally on the SD card? There
> are
> > > > several other logs that don't get deleted at reboot and with the
> small
> > > > amount of traffic on my node, I'm not concerned with file size or too
> > > many
> > > > read/writes to the SD card as I make monthly full image backups of
> the
> > SD
> > > > card and compress them so I can quickly restore to a new card and be
> > back
> > > > up and running.
> > > >
> > > > Working with a friend who has more programming knowledge than I do,
> we
> > > came
> > > > up with a very simple log that is written to the home directory, and
> > I've
> > > > created a button in Supermon that opens it but it is not as detailed
> > and
> > > > clean looking of a log as smlogger is. I would prefer to not have to
> > > > connect a USB drive to the Raspberry Pi, is there any other solution
> to
> > > the
> > > > connectlog being deleted upon reboot?
> > > >
> > > > Mike
> > > > WG5EEK
> > > >
> > > > On Thu, Apr 2, 2020 at 12:27 PM "Doug Crompton via ARM-allstar" <
> > > > arm-allstar at hamvoip.org> wrote:
> > > >
> > > > > Mike,
> > > > >
> > > > > This file should not go to the SD card. It currently goes to RAM
> > > storage
> > > > > and not the SD card thus it is vulnerable at boot. You need to get
> > and
> > > > > install a USB stick, any size, to one of the USB slots and then
> store
> > > the
> > > > > data there. The current location could be a symbolic link to the SD
> > > card.
> > > > > You could also store the data to another computer but the USB stick
> > is
> > > > the
> > > > > best solution. I run them on my hub systems and store log data and
> > > other
> > > > > repetitive things there. You could also use a SSD drive with a USB
> > > > adapter
> > > > > if desired.
> > > > >
> > > > >
> > > > > *73 Doug*
> > > > >
> > > > > *WA3DSP*
> > > > >
> > > > > *http://www.crompton.com/hamradio <
> http://www.crompton.com/hamradio
> > >*
> > > > >
> > > > > On Thu, Apr 2, 2020 at 3:19 PM "Michael Webb via ARM-allstar" <
> > > > > arm-allstar at hamvoip.org> wrote:
> > > > >
> > > > > > I'm wanting to prevent the connectlog located in
> /var/log/asterisk/
> > > > from
> > > > > > being deleted after every asterisk restart or pi reboot. I'm not
> > > > > concerned
> > > > > > with file size as I will archive it as needed. Thank you for any
> > > > > > assistance.
> > > > > >
> > > > > > Mike
> > > > > > WG5EEK
> > > > > > _______________________________________________
> > > > > >
> > > > > > 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/4 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/4 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/4 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/4 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/4 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/4 web page - http://hamvoip.org
>
More information about the ARM-allstar
mailing list