Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: var directory full, new Ubuntu 22.04 installation, no further apps permitted

  1. #1
    Join Date
    Feb 2021
    Beans
    21

    Angry var directory full, new Ubuntu 22.04 installation, no further apps permitted

    InstalledUbuntu 22.04 onto a system with a 512 GB flash hard drive + a 6 TB HDD.Then upgraded to xUbuntu.


    Unableto install Google Chrome but was able to install the xUbuntu-desktop(XFCE). single boot, everything should be clean partitions.


    Iget the following Disk Usage picture {see at end}. It appears that the vardirectory has filled up and I am unable to install any apps.

    Icreated the following partitions when I installed Ubuntu:
    partitions on 500GB (.5TB) hard drive
    efi - UEFIboot loader, 1 GB primary partition
    / - Linux system ext4 100 GB
    /home - data 273.1 GB
    swap 128 GB


    Ididn't write down the mount point I created for the 6,000 GB harddrive but it should be findable somewhere.


    As mentioned it appears that I have NO room to install any apps despite this being a new clean system with 6.5 TB available.
    Attached Images Attached Images
    Last edited by deadflowr; August 3rd, 2023 at 05:13 AM. Reason: removed large image created by forum attachment bug

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: var directory full, new Ubuntu 22.04 installation, no further apps permitted

    Less images.
    More data.

    Please run and post, as text, these commands:
    Code:
    lsblk -e 7 -o name,type,fstype,size,FSAVAIL,FSUSE%,label,mountpoint
    df -hT -x squashfs -x tmpfs -x devtmpfs
    No images, please. We can't copy/paste slices of images like we can with text.
    Last edited by ajgreeny; August 3rd, 2023 at 08:42 AM. Reason: Typo

  3. #3
    Join Date
    May 2010
    Beans
    3,239

    Re: var directory full, new Ubuntu 22.04 installation, no further apps permitted

    Also, what is the output of:
    Code:
    du -sh /var/*

  4. #4
    Join Date
    Feb 2021
    Beans
    21

    Post Re: var directory full, new Ubuntu 22.04 installation, no further apps permitted

    Hi & thanks for helping. I was able to find that Chrome is apparently installed [it has my bookmarks].
    Output is as follows:

    sudo lsblk -e 7 -o name,type,fstype,size,FSAVAIL,FSUSE%,label,mountpo int

    Code:
    NAME        TYPE FSTYPE   SIZE FSAVAIL FSUSE% LABEL MOUNTPOINT
    sda         disk          5.5T                      
    └─sda1      part ext4     5.5T    5.1T     0%       /home
    sr0         rom          1024M                      
    nvme0n1     disk        476.9G                      
    ├─nvme0n1p1 part vfat     960M  903.9M     6%       /boot/efi
    ├─nvme0n1p2 part ext4   100.6G   89.6G     4%       /
    ├─nvme0n1p3 part swap   121.1G                      [SWAP]
    └─nvme0n1p4 part ext4   254.3G  228.5G     3%       /usr

    john@Caligula:~$ df -hT -x squashfs -x tmpfs -x devtmpfs

    Code:
    Filesystem     Type  Size  Used Avail Use% Mounted on
    /dev/nvme0n1p2 ext4   99G  3.8G   90G   5% /
    /dev/nvme0n1p4 ext4  250G  8.1G  229G   4% /usr
    /dev/nvme0n1p1 vfat  959M   55M  904M   6% /boot/efi
    /dev/sda1      ext4  5.5T  9.5G  5.2T   1% /home
    john@Caligula:~$ sudo du -sh /var/*

    Code:
    3.0M    /var/backups
    597M    /var/cache
    5.5M    /var/crash
    2.5G    /var/lib
    4.0K    /var/local
    0    /var/lock
    129M    /var/log
    4.0K    /var/mail
    4.0K    /var/metrics
    4.0K    /var/opt
    0    /var/run
    3.8M    /var/snap
    52K    /var/spool
    84K    /var/tmp
    john@Caligula:~$
    Last edited by julius-nepos; August 3rd, 2023 at 11:58 PM. Reason: formatting

  5. #5
    Join Date
    Feb 2021
    Beans
    21

    Re: var directory full, new Ubuntu 22.04 installation, no further apps permitted

    Hi,
    Thanks so much for replying. All the outputs are listed together.

  6. #6
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: var directory full, new Ubuntu 22.04 installation, no further apps permitted

    Please edit the post above to wrap the terminal output in forum code-tags. The output depends on the columns being retained. Too hard to read otherwise. Don't edit anything, just wrap it with the correct tags ... like you would for BOLD or Italics. The advanced editor has a button (#) for this.

    My signature below has a link for BBcode stuff, including how to use 'code-tags', if you need more detailed instructions.

    Since /var isn't in a separate file system, we need to look at how full / is. Can't tell without the columns lining up, but it looks like / has about 90G free.

    "Directories" don't fill up, unless you've enabled disk quotas. That's not something accidentally enabled. File systems can fill up, but I don't see that. Actually, I think your / is much too large. 40G is all anyone should need for /, especially if they put /home/ onto a different file system, which you've done.
    Last edited by TheFu; August 3rd, 2023 at 10:06 PM.

  7. #7
    Join Date
    May 2010
    Beans
    3,239

    Re: var directory full, new Ubuntu 22.04 installation, no further apps permitted

    Looks fine.... What makes you think you have low space?

  8. #8
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: var directory full, new Ubuntu 22.04 installation, no further apps permitted

    Since you've made a separate /usr, you've basically dropped the requirement for / to 20G. Back in the days when storage was expensive and we used NFS whenever possible across machines, having /usr separate from / made sense. Not so much these days.

    BTW, if you want to extend the life of your SSD, best to leave at least 20% unused. I've posted my OS layout here a number of times. Bares repeating,
    Code:
    NAME                             TYPE FSTYPE        SIZE FSAVAIL FSUSE% LABEL       MOUNTPOINT
    nvme0n1                          disk             931.5G                            
    ├─nvme0n1p1                      part ext2            1M                            
    ├─nvme0n1p2                      part vfat           50M   43.9M    12%             /boot/efi
    ├─nvme0n1p3                      part ext4          700M    343M    42%             /boot
    └─nvme0n1p4                      part LVM2_member 930.8G                            
      ├─vg01-swap01                  lvm  swap          4.1G                            [SWAP]
      ├─vg01-root01                  lvm  ext4           35G   25.8G    19%             /
      ├─vg01-var01                   lvm  ext4           20G   16.1G    12%             /var
      ├─vg01-tmp01                   lvm  ext4            4G    3.6G     1% tmp01       /tmp
      ├─vg01-home01                  lvm  ext4           10G    3.9G    55% home01      /home
      ├─vg01-libvirt--01             lvm  ext4          137G    2.8G    98% libvirt--01 /var/lib/libvirt
      └─vg01-lxd--containers--01     lvm                 30G
    See how much easier it is to read with 'code-tags'?
    I happen to have a 1TB SSD, but as you can see, I'm actually using less than 200G, so this setup would work for your 500GB SSD too. My /var/ really should be smaller, I made it larger in expectation for bloated snap packages. The last two items are for virtual machines and lxd containers. If you don't use those, then you don't need them.

  9. #9
    Join Date
    Feb 2021
    Beans
    21

    Re: var directory full, new Ubuntu 22.04 installation, no further apps permitted

    Thanks,
    I suspected that I had run out of room as I saw my graphical disk-useage report showing the /var at all red. Also I thought I was having problems installing Chrome and I was unable to see any control panel for gnome.
    I tried re-installing the gnome control panel but couldn't seem to find it. I've used xUbuntu on another computer with 18.04 , abt 2 years ago so went back to it now.

    There were a bunch of YouTube guides on Linux partitioning but NONE that I could find addressed the issue of a smaller flash boot drive with a large HDD for data.

    Thanks for your partitioning layout. I bought a used HP-2145 {Windows-11, floortop server, 64G Ram} which only had a 500 G flash drive and bought a 6 T HDD for it.
    I did Not specifically create the /usr directory, it seems to have created on it's own. I will need a LOT of space under /home
    Last edited by julius-nepos; August 4th, 2023 at 12:32 AM. Reason: info

  10. #10
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: var directory full, new Ubuntu 22.04 installation, no further apps permitted

    I've never seen /usr split to a separate file system under any Linux installer. Doing that is definitely a manual thing.

    It would be smart to have HOME just used for settings and active document, but not for large files/media. Keep that elsewhere. It is about doing backups.
    BTW, if the larger HDD is internal, it would be smart to place the SWAP onto it, not on the SSD. This way, you'll "feel" the system getting slow when swap is being used. That's a good thing. If you feel it, then you can take action, usually by closing a bloated browser.

    If you have any specific layout questions, ask. Some background for the purpose of each file system would be helpful, for the non-OS stuff.

    You didn't mention backup storage. Hope you have that covered.
    Last edited by TheFu; August 4th, 2023 at 01:05 AM.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •