Thank you all for your answers. Your support is very much appreciated.
I will try to reply to you one by one. (I started writing my reply but I realize that I won't have the time to finish it now because I have an appointment. I will come back and write a second message where I reply to all your other messages as soon as I can. Sorry for the delay, today I need to run everywhere)
Schwarzer Kater
I'm not sure what you meant about the formatting but I think that I removed all the tags in my previous posts and I will try to keep doing it.
Here is the output of sudo du -hd1 -x /:
I looked at the size of /var/lib and it takes 9.4G of space, 6.1G of which are allocated to /var/lib/snapd and 2.8G to /var/lib/docker.
Here is the detailed content of this last directory:
Here are the output of the commands you suggested (I use the QUOTE tag because ther is a lot of bold).
sudo fdisk -l
lsblk -e7
lsblk -f -e7
oshunluvr I have to admit that I'm very ignorant when it comes to types of partitions. The closer I get to the physical machine the less idea I have about what's going on. I would actually love to understand these topics better. I'm trying to become a decent software engineer and I reduced my work percentage to have time to study a bit. Do you (or anyone else) have any recommendation regarding some resource which could provide me with a minimal background to understand these topics? I like reading books so if you have a reference on the topic, that would be great. Or maybe just some good blog because I'm not planning on becoming a specialist of the topic. I would just like to understand what you guys are talking about.
For the back-up, I made one yesterday on an external hard drive. I'm thinking of buying a second one just in case. I will aslo try to see if I can make a drop box account.
Concerning the back-up partition, I honestly don't remember where this comes from. As you realize I'm a bit lost so I tend to follow instructions like a monkey, which explains why I have empty partitions on my disk...
I have a bad memory of moving partitions on my disk (even if I have amazing memories of the support I received on this forum for solving this issue years ago), so I would prefer the safer option (2). Maybe next year, I'll reinstall the system with Kubuntu 24.04 and I'll try to make it as clean as possible.
About BTRFS and EXT4, I really have no clue what these represent and what are the difference. But I would love to learn.
I will try to reply to you one by one. (I started writing my reply but I realize that I won't have the time to finish it now because I have an appointment. I will come back and write a second message where I reply to all your other messages as soon as I can. Sorry for the delay, today I need to run everywhere)
Schwarzer Kater
I'm not sure what you meant about the formatting but I think that I removed all the tags in my previous posts and I will try to keep doing it.
Here is the output of sudo du -hd1 -x /:
Code:
blabla:~$ sudo du -hd1 -x / [sudo] password for me: 13M /root 8.0K /media 68K /snap 4.0K /cdrom 4.0K /mnt 256M /boot 16K /lost+found du: cannot access '/tmp/.mount_jetbrazEc1eK': Permission denied 780K /tmp 11G /usr 4.0K /srv 13M /etc 12G /var 679M /opt 23G /
Here is the detailed content of this last directory:
Code:
blabla:~$ sudo du -hd1 -x /var/lib/snapd 60K /var/lib/snapd/cookie 1.1M /var/lib/snapd/apparmor 2.3G /var/lib/snapd/cache 4.0K /var/lib/snapd/environment 4.0K /var/lib/snapd/auto-import 284K /var/lib/snapd/seccomp 8.0K /var/lib/snapd/ssl 4.0K /var/lib/snapd/void 4.0K /var/lib/snapd/inhibit 3.9G /var/lib/snapd/snaps 4.0K /var/lib/snapd/hostfs 12K /var/lib/snapd/dbus-1 68K /var/lib/snapd/sequence 20K /var/lib/snapd/lib 64K /var/lib/snapd/mount 12K /var/lib/snapd/device 40K /var/lib/snapd/desktop 1.4M /var/lib/snapd/assertions 4.0K /var/lib/snapd/features 4.0K /var/lib/snapd/firstboot 6.1G /var/lib/snapd
sudo fdisk -l
blabla:~$ sudo fdisk -l
Disk /dev/loop0: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 118.23 MiB, 123973632 bytes, 242136 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 118.23 MiB, 123973632 bytes, 242136 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 55.64 MiB, 58339328 bytes, 113944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 55.66 MiB, 58368000 bytes, 114000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 245 MiB, 256905216 bytes, 501768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 63.45 MiB, 66527232 bytes, 129936 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZ7LN512
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DBAF1448-9672-4366-8996-CE771EE12CB2
Device Start End Sectors SizeType
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 567295 32768 16M Microsoft reserved
/dev/sda3 567296 559597567 559030272 266.6G Microsoft basic data
/dev/sda4 998166528 1000214527 2048000 1000M Windows recovery environment
/dev/sda5 559597568 610797567 51200000 24.4G Linux filesystem
/dev/sda6 610797568 948389887 337592320 161G Linux filesystem
/dev/sda7 948389888 956778495 8388608 4G Linux swap
/dev/sda8 956778496 998166527 41388032 19.7G Linux filesystem
Partition table entries are not in disk order.
Disk /dev/loop9: 73.86 MiB, 77443072 bytes, 151256 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop8: 73.85 MiB, 77438976 bytes, 151248 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop10: 244.48 MiB, 256360448 bytes, 500704 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop11: 164.82 MiB, 172830720 bytes, 337560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop12: 164.82 MiB, 172830720 bytes, 337560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop13: 349.69 MiB, 366673920 bytes, 716160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop14: 349.69 MiB, 366678016 bytes, 716168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop15: 63.45 MiB, 66531328 bytes, 129944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop16: 466.54 MiB, 489201664 bytes, 955472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop17: 81.26 MiB, 85209088 bytes, 166424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop18: 91.69 MiB, 96141312 bytes, 187776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop19: 76 KiB, 77824 bytes, 152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop20: 141.37 MiB, 148238336 bytes, 289528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop21: 180.46 MiB, 189227008 bytes, 369584 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop22: 322.95 MiB, 338636800 bytes, 661400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop23: 347.02 MiB, 363876352 bytes, 710696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop24: 347.15 MiB, 364011520 bytes, 710960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop25: 485.52 MiB, 509100032 bytes, 994336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop0: 4 KiB, 4096 bytes, 8 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 118.23 MiB, 123973632 bytes, 242136 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 118.23 MiB, 123973632 bytes, 242136 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 55.64 MiB, 58339328 bytes, 113944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 55.66 MiB, 58368000 bytes, 114000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 245 MiB, 256905216 bytes, 501768 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 63.45 MiB, 66527232 bytes, 129936 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZ7LN512
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DBAF1448-9672-4366-8996-CE771EE12CB2
Device Start End Sectors SizeType
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 567295 32768 16M Microsoft reserved
/dev/sda3 567296 559597567 559030272 266.6G Microsoft basic data
/dev/sda4 998166528 1000214527 2048000 1000M Windows recovery environment
/dev/sda5 559597568 610797567 51200000 24.4G Linux filesystem
/dev/sda6 610797568 948389887 337592320 161G Linux filesystem
/dev/sda7 948389888 956778495 8388608 4G Linux swap
/dev/sda8 956778496 998166527 41388032 19.7G Linux filesystem
Partition table entries are not in disk order.
Disk /dev/loop9: 73.86 MiB, 77443072 bytes, 151256 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop8: 73.85 MiB, 77438976 bytes, 151248 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop10: 244.48 MiB, 256360448 bytes, 500704 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop11: 164.82 MiB, 172830720 bytes, 337560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop12: 164.82 MiB, 172830720 bytes, 337560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop13: 349.69 MiB, 366673920 bytes, 716160 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop14: 349.69 MiB, 366678016 bytes, 716168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop15: 63.45 MiB, 66531328 bytes, 129944 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop16: 466.54 MiB, 489201664 bytes, 955472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop17: 81.26 MiB, 85209088 bytes, 166424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop18: 91.69 MiB, 96141312 bytes, 187776 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop19: 76 KiB, 77824 bytes, 152 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop20: 141.37 MiB, 148238336 bytes, 289528 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop21: 180.46 MiB, 189227008 bytes, 369584 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop22: 322.95 MiB, 338636800 bytes, 661400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop23: 347.02 MiB, 363876352 bytes, 710696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop24: 347.15 MiB, 364011520 bytes, 710960 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop25: 485.52 MiB, 509100032 bytes, 994336 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
(base) blabla:~$ lsblk -e7
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 476.9G 0 disk
├─sda1 8:1 0 260M 0 part /boot/efi
├─sda2 8:2 0 16M 0 part
├─sda3 8:3 0 266.6G 0 part /media/me/Windows
├─sda4 8:4 0 1000M 0 part
├─sda5 8:5 0 24.4G 0 part /var/snap/firefox/common/host-hunspell
│ /
├─sda6 8:6 0 161G 0 part /home
├─sda7 8:7 0 4G 0 part [SWAP]
└─sda8 8:8 0 19.7G 0 part /media/me/backup
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 476.9G 0 disk
├─sda1 8:1 0 260M 0 part /boot/efi
├─sda2 8:2 0 16M 0 part
├─sda3 8:3 0 266.6G 0 part /media/me/Windows
├─sda4 8:4 0 1000M 0 part
├─sda5 8:5 0 24.4G 0 part /var/snap/firefox/common/host-hunspell
│ /
├─sda6 8:6 0 161G 0 part /home
├─sda7 8:7 0 4G 0 part [SWAP]
└─sda8 8:8 0 19.7G 0 part /media/me/backup
blabla:~$ lsblk -f -e7
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1
│ vfat FAT32 SYSTEM
│ D83C-5AC4 221M 14% /boot/efi
├─sda2
│
├─sda3
│ ntfs Windows
│ 96943F91943F733B 9.5G 96% /media/me/Windows
├─sda4
│ ntfs WinRE_DRV
│ 5C2C3FDF2C3FB33E
├─sda5
│ ext4 1.0 8e00456f-4fe4-4faf-b820-75e735c5f8db 303.4M 94% /var/snap/f
irefox/common/host-hunspell
│ /
├─sda6
│ ext4 1.0 c49de744-7baa-4273-980b-0ffcf1bd9808 80.5G 44% /home
├─sda7
│ swap 1 00072d64-416d-4566-8c59-0a3b469c6524 [SWAP]
└─sda8
ext4 1.0 backup
302f611e-26af-483d-aa59-81f160509a14 18.3G 0% /media/me/backup
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
├─sda1
│ vfat FAT32 SYSTEM
│ D83C-5AC4 221M 14% /boot/efi
├─sda2
│
├─sda3
│ ntfs Windows
│ 96943F91943F733B 9.5G 96% /media/me/Windows
├─sda4
│ ntfs WinRE_DRV
│ 5C2C3FDF2C3FB33E
├─sda5
│ ext4 1.0 8e00456f-4fe4-4faf-b820-75e735c5f8db 303.4M 94% /var/snap/f
irefox/common/host-hunspell
│ /
├─sda6
│ ext4 1.0 c49de744-7baa-4273-980b-0ffcf1bd9808 80.5G 44% /home
├─sda7
│ swap 1 00072d64-416d-4566-8c59-0a3b469c6524 [SWAP]
└─sda8
ext4 1.0 backup
302f611e-26af-483d-aa59-81f160509a14 18.3G 0% /media/me/backup
For the back-up, I made one yesterday on an external hard drive. I'm thinking of buying a second one just in case. I will aslo try to see if I can make a drop box account.
Concerning the back-up partition, I honestly don't remember where this comes from. As you realize I'm a bit lost so I tend to follow instructions like a monkey, which explains why I have empty partitions on my disk...
I have a bad memory of moving partitions on my disk (even if I have amazing memories of the support I received on this forum for solving this issue years ago), so I would prefer the safer option (2). Maybe next year, I'll reinstall the system with Kubuntu 24.04 and I'll try to make it as clean as possible.
About BTRFS and EXT4, I really have no clue what these represent and what are the difference. But I would love to learn.
Comment