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

Topics - CLI_Novice

#1
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
#2
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