You are not logged in.

#1 2022-12-08 10:07:54

BasT
Member
Registered: 2010-08-28
Posts: 112

[Solved]home partition is considered full with over 162 GiB free space

Dolphin shows 162 GiB (of 200 GiB) free space. However various programs are failing to write to the partition due to a supposed lack of free space.

The format ist ext4.

# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p3  199G   27G  163G  14% /home

Last edited by BasT (2022-12-08 12:55:00)

Offline

#2 2022-12-08 10:42:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: [Solved]home partition is considered full with over 162 GiB free space

fsck yourself?


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2022-12-08 11:26:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: [Solved]home partition is considered full with over 162 GiB free space

Check whether you're running out of inodes

df -i

Offline

#4 2022-12-08 12:04:17

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: [Solved]home partition is considered full with over 162 GiB free space

# df -i
/dev/nvme0n1p3  204800 197656    7144   97% /home

I'm guessing that's a yes? What do I do about it?

Offline

#5 2022-12-08 12:12:35

frostschutz
Member
Registered: 2013-11-15
Posts: 1,417

Re: [Solved]home partition is considered full with over 162 GiB free space

Which filesystem are you using? In case of ext4, what does tune2fs -l say?

204800 inodes is super little, for a 200GiB filesystem the default value should be much larger.

Inode count:              13107200
Block count:              52428800
Block size:               4096

Offline

#6 2022-12-08 12:19:03

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: [Solved]home partition is considered full with over 162 GiB free space

# tune2fs -l /dev/nvme0n1p3
tune2fs 1.46.5 (30-Dec-2021)
Filesystem volume name:   Home
Last mounted on:          /home
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              204800
Block count:              52428800
Reserved block count:     2621440
Overhead clusters:        293894
Free blocks:              45273443
Free inodes:              7376
First block:              0
Block size:               4096
Fragment size:            4096
Group descriptor size:    64
Reserved GDT blocks:      1024
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         128
Inode blocks per group:   8
Flex block group size:    16
Mount count:              394
Maximum mount count:      -1
Last checked:             Fri Jan 14 01:50:14 2022
Check interval:           0 (<none>)
Lifetime writes:          2314 GB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:               256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
First orphan inode:       93462
Default directory hash:   half_md4
Journal backup:           inode blocks
Checksum type:            crc32c

Offline

#7 2022-12-08 12:41:56

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: [Solved]home partition is considered full with over 162 GiB free space

How was the FS created? Do you remember the command you used? Did you ever resize it?

Offline

#8 2022-12-08 12:49:55

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: [Solved]home partition is considered full with over 162 GiB free space

I'm afraid I don't remember the command, since it was back in January. It was a fresh install so no resize. I'm pretty sure I set the block size to 4096  but didn't know or do anything regarding inodes.

Offline

#9 2022-12-08 12:53:37

frostschutz
Member
Registered: 2013-11-15
Posts: 1,417

Re: [Solved]home partition is considered full with over 162 GiB free space

It seems like you used -T largefile but for a homedir with tons of tiny config files, it's the wrong choice.

Not much else you can do here except copy the files elsewhere, make a new filesystem with more inodes, copy the files back.

Offline

#10 2022-12-08 12:54:16

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: [Solved]home partition is considered full with over 162 GiB free space

I'm guessing I need to backup the partition and re-format?

Offline

#11 2022-12-08 12:54:46

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: [Solved]home partition is considered full with over 162 GiB free space

frostschutz wrote:

It seems like you used -T largefile but for a homedir with tons of tiny config files, it's the wrong choice.

Not much else you can do here except copy the files elsewhere, make a new filesystem with more inodes, copy the files back.


Okay, thanks everyone!

Offline

Board footer

Powered by FluxBB