Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - CLI_Novice

#1
Tutorials and FAQs / Re: Disk Usage and Management
June 04, 2023, 02:29:31 PM
Thank You So Much cookiemonster!
#2
Tutorials and FAQs / Re: Disk Usage and Management
June 03, 2023, 09:48:52 PM
Just Installed a new 1tb SSD, only 2 days in and:

SYSTEM: LOG FILES: GENERAL>

2023-06-03T18:19:19   Notice   syslog-ng   Suspending write operation because of an I/O error; fd='31', time_reopen='60'   
2023-06-03T18:19:19   Error   syslog-ng   I/O error occurred while writing; fd='31', error='No space left on device (28)'   
2023-06-03T18:19:19   Notice   syslog-ng   Error suspend timeout has elapsed, attempting to write again; fd='31'   
2023-06-03T18:19:14   Notice   syslog-ng   Suspending write operation because of an I/O error; fd='24', time_reopen='60'   
2023-06-03T18:19:14   Error   syslog-ng   I/O error occurred while writing; fd='24', error='No space left on device (28)'

Is this writing to RAM only. I wish there was a plugin or better menu options as per where on the drive to store log files.
#3
Tutorials and FAQs / Re: Disk Usage and Management
March 09, 2023, 02:40:51 PM
Thanks for your response.

I guess I have to rebuild yet another router with a humungous Hard drive. I dont have skills required to implement your suggestion.

It would be nice if there was a "Disk Management" Plugin for us "GUI" folks so I could just add a USB thumb drive and designate it for logging
#4
Tutorials and FAQs / Disk Usage and Management
February 25, 2023, 03:34:31 AM
My Hard Drive ran out of space, so I think everything stopped logging. Here is DF-m output:

Filesystem               1M-blocks   Used Avail Capacity  Mounted on
/dev/gpt/rootfs             110079 100558   715    99%    /
devfs                            0      0     0   100%    /dev
/dev/gpt/efifs                 255      1   254     1%    /boot/efi
tmpfs                         3995   3995     0   100%    /var/log
tmpfs                         3995      2  3993     0%    /tmp
devfs                            0      0     0   100%    /var/dhcpd/dev
devfs                            0      0     0   100%    /var/unbound/dev
/usr/local/lib/python3.9    110079 100558   715    99%    /var/unbound/usr/local/lib/python3.9

Is there any way to tell everything to log for one or two months and delte everything older?

Thanks
#5
Quote from: pmhausen on September 12, 2022, 08:35:32 PM
USB NICs are frequently flakey and not really recommended. Just saying.

Thank You for the quick response, My TP-Link VLAn aware switch is probably more flakey, it's a temporary measure until I obtain a multi interface unit.
#6
Hello,

I am running 21.7.8-amd64 using VLANs on a single NIC Lenovo ThinkCentre M73. So I utilized VLANS and a VLAN aware switch. I want to delete the VLANS, add USB NICs and make the native NIC the WAN port.

Is there a "simple" way or best practice to save all the settings (LAN DHCP, FW rules, Static mapping etc...) before deleting the interfaces, then apply them to newly created ones?

I tried something similar a few years ago and had to re-create everything.

Thanks a Bunch!

Cary