38 GB root full !?
- Inicie sesión ou rexístrese para enviar comentarios
After installing trisquel, I resized the root partition to 38 GB which is a lot more than the standard partition.
But now it is full:
$ df -h
Filsystem Størr Brugt Tilb Brug% Monteret på
tmpfs 1,6G 5,1M 1,6G 1% /run
/dev/mapper/vgtrisquel-root 38G 36G 0 100% /
tmpfs 7,8G 0 7,8G 0% /dev/shm
tmpfs 5,0M 12K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /run/qemu
/dev/mapper/vgtrisquel-home 837G 302G 493G 38% /home
/dev/sda3 1,7G 181M 1,4G 12% /boot
/dev/sda2 512M 5,5M 507M 2% /boot/efi
tmpfs 1,6G 468K 1,6G 1% /run/user/1001
tmpfs 1,6G 244K 1,6G 1% /run/user/1000
Hows i that possible, and what should I do to resolve this issue?
Sorry, here is an English version of the output:
$ LC_ALL=C df -h
Filesystem Size Used Avail Use% Mounted on
tmpfs 1.6G 5.1M 1.6G 1% /run
/dev/mapper/vgtrisquel-root 38G 36G 65M 100% /
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 5.0M 12K 5.0M 1% /run/lock
tmpfs 7.8G 0 7.8G 0% /run/qemu
/dev/mapper/vgtrisquel-home 837G 302G 493G 38% /home
/dev/sda3 1.7G 181M 1.4G 12% /boot
/dev/sda2 512M 5.5M 507M 2% /boot/efi
tmpfs 1.6G 468K 1.6G 1% /run/user/1001
tmpfs 1.6G 248K 1.6G 1% /run/user/1000
I usually use ncdu to see where is all the bloat.
sudo apt install ncdu
I fail to see how ncdu helps me figure out the problem in/with a lack of space in root?
I only see information from the home directory.
A graphical alternative is the GNOME Disk Usage Analyzer, available in Trisquel's repository under the name "baobab". You can even install it on a live system (hence in RAM).
Thank you! I didn't know "ncdu" and I really liked it.
I just figured out, WHAT caused my 38 GB root to be full. Bur I don't know WHY that occurs:
I recently installed virt-manager and setup a few VW. As an experiment, I deleted one of them, and it freed up the amount of space in root.
But WHY are VMs saved in root?
By the way, I was surprised to see that the VMs I have created under one user showed up in virt-manager under another user. This could make sense, since the VMs are stored under root, but I suppose it should not be so...
The .qcow2 files need to be owned by root, but on machines with a separate root file systems, I put them under a virtual_machines directory under my home directory. You can do that at creation by manually selecting the place for the files, but you can also (when they are not running of course), move the .qcow2 file (using sudo) to some place in your home directory, and in virt-manager, adjust the file path accordingly (click on open, then on the i icon, select the disk, select the XML tab, update the path and click on "apply" on bottom right).
I now regret that I didn't use Avron's cool idea to put home under root:
https://trisquel.info/en/forum/root-partition-too-small-cant-install-software#comment-180544
Only, I am a little nervous that this might lead to some issues I would have no idea of how to solve...
The easiest is to install using the netinstaller and select "all in one partition", which is the first option listed and mentioned as "recommended for beginners", then I guess this should be 100% reliable.
I will try this, but the last time I tried with the net-installer, it didn't work...
By the way, can I USE LVM when installing via net-installer?
can I USE LVM when installing via net-installer?
Yes. You can see at https://trisquel.info/en/wiki/install-trisquel-server in step 17. I just did a netinstall of ecne in a virtual machine, it works fine.
the last time I tried with the net-installer, it didn't work
I had problems with the net-installer when trying to partition manually, but never with automatic partitioning. When using automatic partitioning, one thing that may still confuse people is that, at some steps, the action selected by default is to not apply the changes just selected (which is not mentionend in the page linked above), but you need to ask to apply them, so select that before pressing enter.
Good to hear. I will try.
Do you know if there is some kind of trisquel meta package I can install afterwards?
some kind of trisquel meta package I can install afterwards
If you mean the desktop environment, in step 24 shown at https://trisquel.info/en/wiki/install-trisquel-server, you can select "Trisquel console environment" and one of the desktop environments (you can select several but then, all the menus of each environment will include the tools of the other ones, which could be a be confusing):
- Trisquel desktop environment (MATE)
- Triskel desktop environment (KDE)
- Trisquel GNOME environment
- Trisquel mini environment
If you select MATE, the outcome should be the same like if you used the default installer (I noticed a very small additional error message at boot, but I think it does not harm). I tried KDE once, it looked ok but I did not try it so much.
I was not only think about the DE but also programs like libreoffice, system monitors etc.
Do you know if there is a place where I can se/read the specific differences between net-install, mini and full?
Hello, seems like there might be a confusion here.
All Trisquel Desktop environments are "full" and different.
Trisquel Mini is a complete desktop environment for LXDE, it's called "mini", because it is "minimalist" and light weight. But is by no means is a step before getting Trisquel (MATE), they are different environments.
Just like Triskel is completely different than Trisquel or Trisquel Sugar.
The net-install will let you install a headless system, or any of the previos "flavors" plus Trisquel's GNOME meta package if you want GNOME as picked by Trisquel several years ago.
Regards.
Thank for clearing that out.
I was of the (mis-) understanding that a part of the 'light weight' was omitting some apps and substituting others with lighter ones.
I do not use Trisquel Mini, but I believe it is indeed a full desktop environment with different programs requiring that have been chosen for requiring less resources. Not a subset of the MATE edition of Trisquel, as Ark74 has just explained.
I fully recognise that - now.

