Page 1 of 1

my /home can't be written without root

Posted: Sun Jan 27, 2019 2:40
by t96v
Image
Although the used capacity is 20G less than the total capacity and it's mounted as /home, the available capacity is 0 and can only be written with root.

There is no ro partition in fstab.

The same happend when I boot with Linux LiveCD.

Use an ordinary 2.5-inch mechanical hard disk.

Thank you.

Re: my /home can't be written without root

Posted: Sun Jan 27, 2019 9:55
by svantoviit
Yes, there is nothing wrong about it.

Code: Select all

$ ls -l / | grep home
drwxr-xr-x   6 root root  4096 Aug 31 09:13 home
The user owned/writable directories are nested under /home

Code: Select all

$ ls -l /home
drwx------    2 root   root   16384 Aug 29  2011 lost+found
drwx--x---+ 210 user user 20480 Jan 27 09:56 user
If you don't like it, you can always change it with chmod although you probably do not really want to have /home writable by everyone.

Re: my /home can't be written without root

Posted: Mon Jan 28, 2019 7:26
by sabayonino
your /home partition is 100% full !
No space available to write/update new files !

cleanup your home.

Re: my /home can't be written without root

Posted: Mon Jan 28, 2019 15:46
by Fitzcarraldo
Looks like you have reached the filesystem's reserved blocks limit. Normally the filesystem preserves some blocks. Important for the root filesystem. Less important for non-root filesystems, but if you get too close to 100% then disk fragmentation becomes a problem and performance can be affected:

Code: Select all

man tune2fs
-m reserved-blocks-percentage
              Set the percentage of the filesystem which may only be allocated by privileged processes. Reserving some
              number of filesystem blocks for use by privileged processes is done to avoid filesystem fragmentation, and to
              allow system daemons, such as syslogd(8), to continue to function correctly after non-privileged processes
              are prevented from writing to the filesystem. Normally, the default percentage of reserved blocks is 5%.
See http://possiblelossofprecision.net/?p=1018