Hard drive filling up rapidly. [Solved]

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

Hard drive filling up rapidly. [Solved]

Post by Gerard_Noob »

Hi everyone.

Let me start by saying I am working at a very novice level with regards to any linux distro.
I'm currently running Mint 21mate on an older machine. I'm experiencing two problems which may or may not be linked. 1st and most important: For some reason my storage seems to be filling up dramtically for no reason that I can tell. I have downloaded some standard software on the PC (Libre, VLC, Koodo and Joplin) and am not using any kind of automated backups or antivirus programmes ( I completely disabled timeshift as it ate my hard-drive in the first week and I am not doing anything to require backups currently). All I have used the PC for is completing beginner linux courses online that use a little virtual machine to practice on.
My file system currnely looks like this:
Image

As I say I'm a complete novice so I'm not even certain of a beginners guess. Are there settings/ or functions I should deactivate to avoid this or are there small errors occurring I need to address. I only need the PC for the most basic use at the moment as I'm just teaching myself how to use a linux system with it.
Second problem is when I leave the computer idle for more than an hour it is impossibly slow when I return. It takes a minute or too bring up the unlock screen after I move the mouse, keystrokes register slowly for the password, minutes to unlock and I have to restart it to get anything done. closing whatever I have been working on take ages and bringing up the shutdown menu takes ages. A restart fixes all this but is needed again after every few hours of use or standing idle. I can hear the computer working when I let it stand idle and the system monitor shows consistent moderate use of the CPU even when nothing is open and I'm not using the
Image


I'm not sure if this constant working in the background is generating some logs or other outputs that are eating storage and memory. I switched from cinnamon to mate to see if it is lighter on resources but the problem still occurs.
The two issues may not be linked at all in which case I'm happy to open a new topic tackle them individually if needed.

I'm sure you may all need more detailed info than what I am able to give first time round but I'll follow any instructions given.
Many thanks
Last edited by LockBot on Wed Sep 27, 2023 10:00 pm, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Midnight True
Level 7
Level 7
Posts: 1547
Joined: Wed Jul 20, 2022 3:23 am
Location: Southern and Southwestern area of Mato
Contact:

Re: Hard drive filling up rapidly.

Post by Midnight True »

Hi and Welcome to the forum 🍻🍻🍻

we need more info about your machine, please follow the instruction here viewtopic.php?p=1806121#p1806121

Moreover, please check this out https://easylinuxtipsproject.blogspot.c ... -mint.html
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Hard drive filling up rapidly.

Post by Cosmo. »

At first we need to know, where you used the 900 GB.

There is a program in the system to analyze this. The name is language dependent, but if you open the menu and enter baobab in the search bar, you will get it. We need an analyze o the complete system ( / ). Be aware, that this will take some time. Also note, that you will see an error message, that not all folders could get inspected, this is normal and you can ignore it.
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

Re: Hard drive filling up rapidly.

Post by Gerard_Noob »

Hello! Thank you very much.

Code: Select all

System:
  Kernel: 5.15.0-67-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: MATE 1.26.0 wm: marco
    dm: LightDM Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: ASUSTeK product: Z450UAK v: 1.0 serial: <superuser required>
  Mobo: ASUSTeK model: Z450UAK v: 1.0 serial: <superuser required> UEFI: American Megatrends
    v: Z450UAK.300 date: 04/17/2019
Battery:
  ID-1: BAT0 charge: 21.4 Wh (95.5%) condition: 22.4/38.0 Wh (59.1%) volts: 7.6 min: 7.6
    model: ASUSTeK ASUS Battery serial: N/A status: Not charging
CPU:
  Info: dual core model: Intel Core i5-7200U bits: 64 type: MT MCP arch: Amber/Kaby Lake
    note: check rev: 9 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 3100 min/max: 400/3100 cores: 1: 3100 2: 3100 3: 3100 4: 3100
    bogomips: 21599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel ports: active: eDP-1
    empty: DP-1,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:5916
  Device-2: Realtek USB2.0 VGA UVC WebCam type: USB driver: uvcvideo bus-ID: 1-6:2
    chip-ID: 0bda:57de
  Display: x11 server: X.Org v: 1.21.1.3 compositor: marco v: 1.26.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96
  Monitor-1: eDP-1 model: Chi Mei Innolux res: 1366x768 dpi: 112 diag: 354mm (13.9")
  OpenGL: renderer: Mesa Intel HD Graphics 620 (KBL GT2) v: 4.6 Mesa 22.2.5 direct render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:9d71
  Sound Server-1: ALSA v: k5.15.0-67-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: ASUSTeK driver: r8169 v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.2 chip-ID: 10ec:8136
  IF: enp2s0f2 state: down mac: <filter>
  Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: ASUSTeK driver: rtl8723be
    v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0 chip-ID: 10ec:b723
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 1-8:3
    chip-ID: 0bda:b725
  Report: hciconfig ID: hci0 rfk-id: 0 state: down bt-service: enabled,running rfk-block:
    hardware: no software: yes address: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 806.94 GiB (86.6%)
  ID-1: /dev/sda vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 915.32 GiB used: 806.93 GiB (88.2%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 42.8 MiB (2.1%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002
  Device-1: 1-6:2 info: Realtek USB2.0 VGA UVC WebCam type: Video driver: uvcvideo rev: 2.0
    speed: 480 Mb/s chip-ID: 0bda:57de
  Device-2: 1-8:3 info: Realtek Bluetooth Radio type: Bluetooth driver: btusb rev: 2.1
    speed: 12 Mb/s chip-ID: 0bda:b725
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s chip-ID: 1d6b:0003
Sensors:
  System Temperatures: cpu: 62.0 C pch: 49.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 3600
Repos:
  Packages: 2293 apt: 2286 flatpak: 7
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirror.ufscar.br/mint-archive vanessa main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http: //repository.spotify.com stable non-free
Info:
  Processes: 226 Uptime: 49m Memory: 7.65 GiB used: 1.98 GiB (25.9%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11/12 Client: Unknown python3.10 client inxi: 3.3.13
This is way easier than me trying to post print screens. Thanks
Im going to look at your other suggestion now.
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

Re: Hard drive filling up rapidly.

Post by Gerard_Noob »

I performed the disk analysis.
Looks like Var is by far largest and the Largest folder in there is the log folder.
Full
Image
and
Var:
Image
(I hope I'm attaching images correctly. I'm attaching them via ma google drive account)
Last edited by karlchen on Mon Mar 27, 2023 3:34 pm, edited 3 times in total.
Reason: turned [img] [/img] tags into [rimg] [/rimg] tags, because now the image links can be simply left clicked
FenderGuy

Re: Hard drive filling up rapidly.

Post by FenderGuy »

Start with a "clean slate".

First, save your My Documents folder to an external source drive.

Second, burn the Linux Mint ISO image to an external USB thumb drive.

Third, shut down your system.

Now, start your system, then immediately boot to the BIOS menu by pressing (and holding) the appropriate Function key, e.g., F2.

Select the Boot sub-menu, then follow instructions to re-order the boot list, moving the external USB thumb drive to the first position.

Select Save option, then shut down.

Insert thumb drive containing ISO image, then restart.

Choose the option to "Erase everything and install Linux Mint".

Good luck! :wink:
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

/var/log exploding and eating my storage

Post by Gerard_Noob »

Hi everybody.
This is an additional topic to one I started earlier. It can be seen here: viewtopic.php?p=2311813#p2311813
I was having trouble with my storage dissappearing. Some digging of my own pointed me to var/log expanding rapidly due to errors.

Code: Select all

  Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter
    driver: rtl8723be
  IF: wlp3s0 state: up mac: 70:4d:7b:d1:49:1c
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb
  Report: hciconfig ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: 70:4D:7B:D1:49:1D
Drives:
  Local Storage: total: 931.51 GiB used: 826.55 GiB (88.7%)
  ID-1: /dev/sda vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB
Partition:
  ID-1: / size: 915.32 GiB used: 826.55 GiB (90.3%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 51.0 C pch: 39.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 2900
Info:
  Processes: 219 Uptime: 14m Memory: 7.65 GiB used: 1.7 GiB (22.2%)
  Shell: Bash inxi: 3.3.13
gerard@gerard-Z450UAK:~$ 
I ran ls -l /var/log

Code: Select all

gerard@gerard-Z450UAK:~$ ls  -l /var/log
total 842606580
-rw-r--r--  1 root              root                       0 Mar  9 00:00 alternatives.log
-rw-r--r--  1 root              root                     594 Mar  8 15:23 alternatives.log.1
-rw-r--r--  1 root              root                     574 Jan 23 14:56 alternatives.log.2.gz
-rw-r--r--  1 root              root                     149 Jan  5 16:15 alternatives.log.3.gz
-rw-r--r--  1 root              root                      94 Nov 16 11:10 alternatives.log.4.gz
-rw-r--r--  1 root              root                    4201 Sep 15  2022 alternatives.log.5.gz
drwxr-xr-x  2 root              root                    4096 Mar 13 17:09 apt
-rw-r-----  1 syslog            adm                    64598 Mar 27 15:30 auth.log
-rw-r-----  1 syslog            adm                    67814 Mar 26 05:19 auth.log.1
-rw-r-----  1 syslog            adm                    12371 Mar 20 14:49 auth.log.2.gz
-rw-r-----  1 syslog            adm                     7878 Mar 11 23:56 auth.log.3.gz
-rw-r-----  1 syslog            adm                     4630 Mar  8 13:17 auth.log.4.gz
-rw-------  1 root              root                   24481 Mar 27 15:11 boot.log
-rw-------  1 root              root                    6876 Mar 21 12:45 boot.log.1
-rw-------  1 root              root                   29895 Mar 20 09:57 boot.log.2
-rw-------  1 root              root                    6348 Mar 16 06:51 boot.log.3
-rw-------  1 root              root                    8235 Mar 15 06:34 boot.log.4
-rw-------  1 root              root                   12943 Mar 14 07:52 boot.log.5
-rw-------  1 root              root                    6875 Mar  9 00:00 boot.log.6
-rw-------  1 root              root                   12310 Mar  8 12:57 boot.log.7
-rw-r--r--  1 root              root                  129616 Jul 26  2022 bootstrap.log
-rw-rw----  1 root              utmp                       0 Mar  8 12:57 btmp
-rw-rw----  1 root              utmp                       0 Mar  7 12:45 btmp.1
drwxr-xr-x  2 root              root                    4096 Mar 27 00:00 cups
-rw-r-----  1 root              adm                  1916808 Mar 27 15:11 dmesg
-rw-r-----  1 root              adm                  4005287 Mar 27 10:07 dmesg.0
-rw-r-----  1 root              adm                    79557 Mar 27 07:06 dmesg.1.gz
-rw-r-----  1 root              adm                   295143 Mar 27 06:34 dmesg.2.gz
-rw-r-----  1 root              adm                   210907 Mar 21 12:46 dmesg.3.gz
-rw-r-----  1 root              adm                   145263 Mar 16 18:28 dmesg.4.gz
-rw-r--r--  1 root              root                   16808 Mar 13 17:14 dpkg.log
-rw-r--r--  1 root              root                  141590 Mar  8 15:29 dpkg.log.1
-rw-r--r--  1 root              root                    8617 Jan 25 10:21 dpkg.log.2.gz
-rw-r--r--  1 root              root                    3741 Jan  3 08:57 dpkg.log.3.gz
-rw-r--r--  1 root              root                    5862 Nov 30 16:37 dpkg.log.4.gz
-rw-r--r--  1 root              root                   10126 Nov 16 13:22 dpkg.log.5.gz
-rw-r--r--  1 root              root                     420 Oct  3 07:06 dpkg.log.6.gz
-rw-r--r--  1 root              root                  144558 Sep 29 20:35 dpkg.log.7.gz
-rw-r--r--  1 root              root                   32032 Nov 16 11:46 faillog
-rw-r--r--  1 root              root                   11360 Mar  8 15:25 fontconfig.log
-rw-r--r--  1 root              root                    1493 Mar 27 15:11 gpu-manager.log
-rw-r--r--  1 root              root                     123 Sep  7  2022 gufw.log
drwxr-xr-x  3 root              root                    4096 Jul 26  2022 hp
drwxr-xr-x  2 root              root                    4096 Sep  7  2022 installer
drwxr-sr-x+ 3 root              systemd-journal         4096 Sep  7  2022 journal
-rw-r-----  1 syslog            adm             135665722948 Mar 27 15:37 kern.log
-rw-r-----  1 syslog            adm             268358438843 Mar 26 05:30 kern.log.1
-rw-r-----  1 syslog            adm               1292894208 Nov 16 13:00 kern.log.1.gz-2022111910.backup
-rw-r-----  1 syslog            adm                663486464 Nov 24 13:17 kern.log.1.gz-2022112413.backup
-rw-r-----  1 syslog            adm               1574961152 Dec  5 07:36 kern.log.1.gz-2022120612.backup
-rw-r-----  1 syslog            adm               1100218368 Jan  1 19:16 kern.log.1.gz-2023010516.backup
-rw-r-----  1 syslog            adm               6687214347 Mar 20 14:53 kern.log.2.gz
-rw-r-----  1 syslog            adm              10107136525 Mar 12 00:00 kern.log.3.gz
-rw-r-----  1 syslog            adm                 21764970 Mar  8 13:20 kern.log.4.gz
-rw-rw-r--  1 root              utmp                  292292 Nov 16 11:46 lastlog
drwxr-xr-x  2 root              root                    4096 Mar 22 00:00 lightdm
-rw-r--r--  1 root              root                    5639 Mar 27 15:11 mintsystem.log
-rw-r--r--  1 root              root                    1883 Mar  8 15:25 mintsystem.timestamps
drwxr-xr-x  2 root              root                    4096 Mar 22  2022 openvpn
drwx------  2 root              root                    4096 Jul 26  2022 private
drwxr-x---  2 root              adm                     4096 Mar  9  2022 samba
drwx------  2 speech-dispatcher root                    4096 Jan  8  2022 speech-dispatcher
-rw-r-----  1 syslog            adm             136138529326 Mar 27 15:37 syslog
-rw-r-----  1 syslog            adm             269160732537 Mar 26 05:30 syslog.1
-rw-r-----  1 syslog            adm                676331520 Oct 31 19:20 syslog.1.gz-2022110108.backup
-rw-r-----  1 syslog            adm                355729408 Nov  1 08:39 syslog.1.gz-2022110212.backup
-rw-r-----  1 syslog            adm                914882560 Dec  1 06:44 syslog.1.gz-2022120506.backup
-rw-r-----  1 syslog            adm               5625872384 Jan 19 15:00 syslog.1.gz-2023012314.backup
-rw-r-----  1 syslog            adm               4756078592 Jan 23 15:31 syslog.1.gz-2023012408.backup
-rw-r-----  1 syslog            adm                  9699328 Jan 24 08:07 syslog.1.gz-2023012500.backup
-rw-r-----  1 syslog            adm               2427977728 Feb  6 09:12 syslog.1.gz-2023020714.backup
-rw-r-----  1 syslog            adm                396099584 Mar  7 12:52 syslog.1.gz-2023030812.backup
-rw-r-----  1 syslog            adm               6714490860 Mar 20 14:53 syslog.2.gz
-rw-r-----  1 syslog            adm              10147787724 Mar 12 00:00 syslog.3.gz
-rw-r-----  1 syslog            adm                 21870628 Mar  8 13:20 syslog.4.gz
drwxr-xr-x  2 root              root                   12288 Jan 11 12:16 timeshift
-rw-r--r--  1 root              root                     109 Mar 27 15:11 ubuntu-system-adjustments-adjust-grub-title.log
-rw-r--r--  1 root              root                      26 Mar 27 15:11 ubuntu-system-adjustments-start.log
-rw-r--r--  1 root              root                      26 Mar 27 12:33 ubuntu-system-adjustments-stop.log
-rw-r-----  1 syslog            adm                   176296 Mar 27 15:36 ufw.log
-rw-r-----  1 syslog            adm                  1744585 Mar 26 05:30 ufw.log.1
-rw-r-----  1 syslog            adm                   123749 Mar 20 14:53 ufw.log.2.gz
-rw-r-----  1 syslog            adm                   167162 Mar 12 00:00 ufw.log.3.gz
-rw-r-----  1 syslog            adm                     6352 Mar  8 13:20 ufw.log.4.gz
-rw-rw-r--  1 root              utmp                  224640 Mar 27 15:11 wtmp
-rw-r--r--  1 root              root                   32395 Mar 27 15:25 Xorg.0.log
-rw-r--r--  1 root              root                   34164 Mar 27 12:33 Xorg.0.log.old
gerard@gerard-Z450UAK:~$ 
After running tail -200 /var/log/syslog I get this output

Code: Select all

: Corrected error received: 0000:00:1c.5
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.450273] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.450278] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.450284] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.453944] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.453963] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.453968] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.453975] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.454033] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.454050] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.454054] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 15:53:08 gerard-Z450UAK kernel: [ 2548.454065] pcieport 0000:00:1c.5:    [ 0] RxErr                 
gerard@gerard-Z450UAK:~$ 
I think theres a sign of recurring error in all this. I've managed to gather info. I'm now a bit stuck for a fix.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: /var/log exploding and eating my storage

Post by Cosmo. »

It is the same topic as in the other thread and so it has to get continued there. Otherwise we will jump back and forth and produce more misunderstandings than anything else.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Hard drive filling up rapidly.

Post by Cosmo. »

Gerard_Noob wrote: Mon Mar 27, 2023 10:26 am (I hope I'm attaching images correctly.
No, nothing to see.
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

Re: Hard drive filling up rapidly.

Post by Gerard_Noob »

Hi.
I did some digging into my /var/log files.
ls-l /var/log shows:

Code: Select all

gerard@gerard-Z450UAK:~$ la -l /var/log
total 845907820
-rw-r--r--  1 root              root                       0 Mar  9 00:00 alternatives.log
-rw-r--r--  1 root              root                     594 Mar  8 15:23 alternatives.log.1
-rw-r--r--  1 root              root                     574 Jan 23 14:56 alternatives.log.2.gz
-rw-r--r--  1 root              root                     149 Jan  5 16:15 alternatives.log.3.gz
-rw-r--r--  1 root              root                      94 Nov 16 11:10 alternatives.log.4.gz
-rw-r--r--  1 root              root                    4201 Sep 15  2022 alternatives.log.5.gz
drwxr-xr-x  2 root              root                    4096 Mar 13 17:09 apt
-rw-r-----  1 syslog            adm                    64598 Mar 27 15:30 auth.log
-rw-r-----  1 syslog            adm                    67814 Mar 26 05:19 auth.log.1
-rw-r-----  1 syslog            adm                    12371 Mar 20 14:49 auth.log.2.gz
-rw-r-----  1 syslog            adm                     7878 Mar 11 23:56 auth.log.3.gz
-rw-r-----  1 syslog            adm                     4630 Mar  8 13:17 auth.log.4.gz
-rw-------  1 root              root                   24481 Mar 27 15:11 boot.log
-rw-------  1 root              root                    6876 Mar 21 12:45 boot.log.1
-rw-------  1 root              root                   29895 Mar 20 09:57 boot.log.2
-rw-------  1 root              root                    6348 Mar 16 06:51 boot.log.3
-rw-------  1 root              root                    8235 Mar 15 06:34 boot.log.4
-rw-------  1 root              root                   12943 Mar 14 07:52 boot.log.5
-rw-------  1 root              root                    6875 Mar  9 00:00 boot.log.6
-rw-------  1 root              root                   12310 Mar  8 12:57 boot.log.7
-rw-r--r--  1 root              root                  129616 Jul 26  2022 bootstrap.log
-rw-rw----  1 root              utmp                       0 Mar  8 12:57 btmp
-rw-rw----  1 root              utmp                       0 Mar  7 12:45 btmp.1
drwxr-xr-x  2 root              root                    4096 Mar 27 00:00 cups
-rw-r-----  1 root              adm                  1916808 Mar 27 15:11 dmesg
-rw-r-----  1 root              adm                  4005287 Mar 27 10:07 dmesg.0
-rw-r-----  1 root              adm                    79557 Mar 27 07:06 dmesg.1.gz
-rw-r-----  1 root              adm                   295143 Mar 27 06:34 dmesg.2.gz
-rw-r-----  1 root              adm                   210907 Mar 21 12:46 dmesg.3.gz
-rw-r-----  1 root              adm                   145263 Mar 16 18:28 dmesg.4.gz
-rw-r--r--  1 root              root                   16808 Mar 13 17:14 dpkg.log
-rw-r--r--  1 root              root                  141590 Mar  8 15:29 dpkg.log.1
-rw-r--r--  1 root              root                    8617 Jan 25 10:21 dpkg.log.2.gz
-rw-r--r--  1 root              root                    3741 Jan  3 08:57 dpkg.log.3.gz
-rw-r--r--  1 root              root                    5862 Nov 30 16:37 dpkg.log.4.gz
-rw-r--r--  1 root              root                   10126 Nov 16 13:22 dpkg.log.5.gz
-rw-r--r--  1 root              root                     420 Oct  3 07:06 dpkg.log.6.gz
-rw-r--r--  1 root              root                  144558 Sep 29 20:35 dpkg.log.7.gz
-rw-r--r--  1 root              root                   32032 Nov 16 11:46 faillog
-rw-r--r--  1 root              root                   11360 Mar  8 15:25 fontconfig.log
-rw-r--r--  1 root              root                    1493 Mar 27 15:11 gpu-manager.log
-rw-r--r--  1 root              root                     123 Sep  7  2022 gufw.log
drwxr-xr-x  3 root              root                    4096 Jul 26  2022 hp
drwxr-xr-x  2 root              root                    4096 Sep  7  2022 installer
drwxr-sr-x+ 3 root              systemd-journal         4096 Sep  7  2022 journal
-rw-r-----  1 syslog            adm             137352952773 Mar 27 16:08 kern.log
-rw-r-----  1 syslog            adm             268358438843 Mar 26 05:30 kern.log.1
-rw-r-----  1 syslog            adm               1292894208 Nov 16 13:00 kern.log.1.gz-2022111910.backup
-rw-r-----  1 syslog            adm                663486464 Nov 24 13:17 kern.log.1.gz-2022112413.backup
-rw-r-----  1 syslog            adm               1574961152 Dec  5 07:36 kern.log.1.gz-2022120612.backup
-rw-r-----  1 syslog            adm               1100218368 Jan  1 19:16 kern.log.1.gz-2023010516.backup
-rw-r-----  1 syslog            adm               6687214347 Mar 20 14:53 kern.log.2.gz
-rw-r-----  1 syslog            adm              10107136525 Mar 12 00:00 kern.log.3.gz
-rw-r-----  1 syslog            adm                 21764970 Mar  8 13:20 kern.log.4.gz
-rw-rw-r--  1 root              utmp                  292292 Nov 16 11:46 lastlog
drwxr-xr-x  2 root              root                    4096 Mar 22 00:00 lightdm
-rw-r--r--  1 root              root                    5639 Mar 27 15:11 mintsystem.log
-rw-r--r--  1 root              root                    1883 Mar  8 15:25 mintsystem.timestamps
drwxr-xr-x  2 root              root                    4096 Mar 22  2022 openvpn
drwx------  2 root              root                    4096 Jul 26  2022 private
drwxr-x---  2 root              adm                     4096 Mar  9  2022 samba
drwx------  2 speech-dispatcher root                    4096 Jan  8  2022 speech-dispatcher
-rw-r-----  1 syslog            adm             137831761834 Mar 27 16:08 syslog
-rw-r-----  1 syslog            adm             269160732537 Mar 26 05:30 syslog.1
-rw-r-----  1 syslog            adm                676331520 Oct 31 19:20 syslog.1.gz-2022110108.backup
-rw-r-----  1 syslog            adm                355729408 Nov  1 08:39 syslog.1.gz-2022110212.backup
-rw-r-----  1 syslog            adm                914882560 Dec  1 06:44 syslog.1.gz-2022120506.backup
-rw-r-----  1 syslog            adm               5625872384 Jan 19 15:00 syslog.1.gz-2023012314.backup
-rw-r-----  1 syslog            adm               4756078592 Jan 23 15:31 syslog.1.gz-2023012408.backup
-rw-r-----  1 syslog            adm                  9699328 Jan 24 08:07 syslog.1.gz-2023012500.backup
-rw-r-----  1 syslog            adm               2427977728 Feb  6 09:12 syslog.1.gz-2023020714.backup
-rw-r-----  1 syslog            adm                396099584 Mar  7 12:52 syslog.1.gz-2023030812.backup
-rw-r-----  1 syslog            adm               6714490860 Mar 20 14:53 syslog.2.gz
-rw-r-----  1 syslog            adm              10147787724 Mar 12 00:00 syslog.3.gz
-rw-r-----  1 syslog            adm                 21870628 Mar  8 13:20 syslog.4.gz
drwxr-xr-x  2 root              root                   12288 Jan 11 12:16 timeshift
-rw-r--r--  1 root              root                     109 Mar 27 15:11 ubuntu-system-adjustments-adjust-grub-title.log
-rw-r--r--  1 root              root                      26 Mar 27 15:11 ubuntu-system-adjustments-start.log
-rw-r--r--  1 root              root                      26 Mar 27 12:33 ubuntu-system-adjustments-stop.log
-rw-r-----  1 syslog            adm                   179124 Mar 27 16:07 ufw.log
-rw-r-----  1 syslog            adm                  1744585 Mar 26 05:30 ufw.log.1
-rw-r-----  1 syslog            adm                   123749 Mar 20 14:53 ufw.log.2.gz
-rw-r-----  1 syslog            adm                   167162 Mar 12 00:00 ufw.log.3.gz
-rw-r-----  1 syslog            adm                     6352 Mar  8 13:20 ufw.log.4.gz
-rw-rw-r--  1 root              utmp                  224640 Mar 27 15:11 wtmp
-rw-r--r--  1 root              root                   32395 Mar 27 15:25 Xorg.0.log
-rw-r--r--  1 root              root                   34164 Mar 27 12:33 Xorg.0.log.old
gerard@gerard-Z450UAK:~$ 
syslog seems to be the large files.
i tried tail -200 /var/log/syslog

Code: Select all

Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025708] pcieport 0000:00:1c.5: AER: can't find device of ID00e5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025812] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025831] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025836] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025842] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025856] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025872] pcieport 0000:00:1c.5: AER: can't find device of ID00e5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025888] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025900] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025904] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.025909] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.041510] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.041520] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.041522] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.041526] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.057909] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.057925] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.057927] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.057930] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.110180] pcieport 0000:00:1c.5: AER: Multiple Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.110198] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.110201] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.110203] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.110212] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.110219] pcieport 0000:00:1c.5: AER: can't find device of ID00e5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.111903] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.111918] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.111921] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.111925] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.129141] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.129160] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.129163] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.129166] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.129177] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.129187] pcieport 0000:00:1c.5: AER: can't find device of ID00e5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.154948] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.154977] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.154985] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 27 16:13:29 gerard-Z450UAK kernel: [ 3769.154995] pcieport 0000:00:1c.5:    [ 0] RxErr                 
gerard@gerard-Z450UAK:~$ 
I think I'm on to something now but can somebody point me further.
Also, can I cap the size of the log files?
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

Re: Hard drive filling up rapidly.

Post by Gerard_Noob »

Cosmo. wrote: Mon Mar 27, 2023 3:05 pm
Gerard_Noob wrote: Mon Mar 27, 2023 10:26 am (I hope I'm attaching images correctly.
No, nothing to see.
For whatever reason, you have to right click and open image in new tab. Im not sure what I did wrong but its there
User avatar
karlchen
Level 23
Level 23
Posts: 18231
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Hard drive filling up rapidly.

Post by karlchen »

<mod>
Merged 2 threads about the same problem, "Hard drive filling up rapidly." and "/var/log exploding and eating my storage".

In post #1 turned 2 [ img ] [ /img ] tags into [ rimg ] [ /rimg ] tags, which can be recognized as links and simply left-clicked:

> Image <

> Image <

</mod>
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
rickNS
Level 9
Level 9
Posts: 2975
Joined: Tue Jan 25, 2011 11:59 pm

Re: Hard drive filling up rapidly.

Post by rickNS »

before you run completely out of room, and get locked out of your system I would Immediately run,
sudo rm /var/log/syslog.*.gz*

To gain back some space, and time to figure out what exactly is going wrong.
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Hard drive filling up rapidly.

Post by rene »

Please see viewtopic.php?p=2276587#p2276587 and try with in that order and alternatively the kernel parameters

1. pci=nommconf
2. pcie_aspm=off
3. pci=nomsi
4. pci=noaer

A kernel parameter you specify as viewtopic.php?t=349669
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

Re: Hard drive filling up rapidly.

Post by Gerard_Noob »

rickNS wrote: Mon Mar 27, 2023 4:57 pm before you run completely out of room, and get locked out of your system I would Immediately run,
sudo rm /var/log/syslog.*.gz*

To gain back some space, and time to figure out what exactly is going wrong.
Thank you, I was getting near the limit. Can you explain in Newbie terms what this command means. I'm busy teaching myself command line basics. I recognise kind of whats happening but a pro's words would help.

Thanks again. narrowly avoided disaster
rickNS
Level 9
Level 9
Posts: 2975
Joined: Tue Jan 25, 2011 11:59 pm

Re: Hard drive filling up rapidly.

Post by rickNS »

Gerard_Noob wrote: Tue Mar 28, 2023 6:39 am
Thank you, I was getting near the limit. Can you explain in Newbie terms what this command means. I'm busy teaching myself command line basics. I recognise kind of whats happening but a pro's words would help.

Thanks again. narrowly avoided disaster
And Thank You. a lot of people are 'too busy' to say that
Your most welcome.
I am no "pro", though I have been around awhile.

The explanation of that command is;
First, all the .gz log files are older compressed logs, and removing them will still leave you the two most recent files to look at, so no harm removing them.

sudo -- needed to do anything to do with system files.
rm -- is remove
* -- before .gz was used as a match for the 1,2,3,4
* -- after .gz was used to match all those -NUMBER.backup files you had.

and frankly I've never seen those backup files before, and wonder how you got them ?
You can if you like remove any other .gz log files. The kern.log.*.gz* files are quite large too ?
sudo rm /var/log/kern.log.*.gz*

Have you applied @rene's fix

Anyway my Mint 21 system is about 3 weeks old, and after running that same command myself my /var/log directory was a mere 75MB
here's a command to check that with easy to read output,

Code: Select all

rick@t420:~$ sudo du -h /var/log
80K	/var/log/lightdm
36K	/var/log/cups
16K	/var/log/timeshift
4.0K	/var/log/ntpstats
4.0K	/var/log/private
4.0K	/var/log/installer
4.0K	/var/log/hp/tmp
8.0K	/var/log/hp
104K	/var/log/apt
4.0K	/var/log/journal/36892a0f43ac45eeb59bbcb2ea2eac51
73M	/var/log/journal/6c2e35427858496854596b4933396574
73M	/var/log/journal
4.0K	/var/log/samba
4.0K	/var/log/openvpn
4.0K	/var/log/speech-dispatcher
75M	/var/log
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

Re: Hard drive filling up rapidly.

Post by Gerard_Noob »

Rick..thanks again hehe.

I worked my through the easy linux tips project which you recommended on the topic Rene referred me to. My disk usge has gone from 92% to 3%.
Image

ls -l /var/log still shows the recurring error which is to be expected. I'm going to try changing the kernel parameters but some of the instructions look foriegn to me so IM gonna be spending some time researching that.

Code: Select all

gerard@gerard-Z450UAK:~$ tail -200 /var/log/syslog
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.345622] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.345634] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.345637] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.345640] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.346050] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.346062] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.346065] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.346068] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.350330] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.350341] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.350344] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.350347] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.353851] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.353866] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.353868] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.353871] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.354015] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.354026] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.354028] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.354031] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.358790] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.358803] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.358806] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.358809] pcieport 0000:00:1c.5:    [ 0] RxErr                 
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.360202] pcieport 0000:00:1c.5: AER: Corrected error received: 0000:00:1c.5
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.360214] pcieport 0000:00:1c.5: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.360216] pcieport 0000:00:1c.5:   device [8086:9d15] error status/mask=00000001/00002000
Mar 28 12:25:39 gerard-Z450UAK kernel: [ 1451.360219] pcieport 0000:00:1c.5:    [ 0] RxErr          
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

Re: Hard drive filling up rapidly.

Post by Gerard_Noob »

I am trying o carry out the instructions for adding kernel parametres.

I can't access any option to press E to edit the linux boot entry.Pressing esc or shift on start up takes me to something that looks like the GRUB menu but offers only the option to boot or to go to ASUS own bios/system mangement screen. I've attached an image
Image
Do I need to switch boot programmes to one that allows editing?
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: Hard drive filling up rapidly.

Post by rene »

That image is not of the Grub menu but of your BIOS. If you don't get the Grub menu automatically on boot (on a dual-boot system you do/would) you need to tap Esc in the window between BIOS and OS, i.e., when the BIOS is done initializing the system and loads Grub from disk.

If you have trouble there just use method 2 from the linked instructions immediately. You're quite likely to need to do so anyway -- and if not, it's as said there as easy undone as done anyway.
Gerard_Noob
Level 1
Level 1
Posts: 12
Joined: Mon Mar 27, 2023 7:42 am

Re: Hard drive filling up rapidly.

Post by Gerard_Noob »

Thanks everyone. PCI=commconf seems to have stopped the error. I hope one day I'll understand everything I've just done

Problem solved.
Sending mental beers
Locked

Return to “Software & Applications”