Fedora Linux Support Community & Resources Center
  #1  
Old 28th August 2012, 03:17 PM
topos Offline
Registered User
 
Join Date: Aug 2012
Location: españa
Posts: 2
windows_xp_2003chrome
Non-root-user cannot write in home. There is availible space but not free.

Fedora 17, laptop.

System monitor and df command show:

~# df -h /home
Filesystem Size Used Avail Use% Mounted on
/dev/sda4 251G 240G 0 100% /home
(system monitor also says: Free: 11.7 GiB)

If I try to write a file it says that there is no space available
(echo something > file --> write error: No space left on device).

However, root can write!


There IS space, but it is listed as unavailable.
Only root can use this space (but neither got avail over 0).


Additional info:
I have switched off SELINUX.
I have tried to create another user. Same problem.
Removing files do not help.

Last edited by topos; 28th August 2012 at 03:18 PM. Reason: Information mising.
Reply With Quote
  #2  
Old 28th August 2012, 03:31 PM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,898
linuxfirefox
Re: Non-root-user cannot write in home. There is availible space but not free.

Has nothing to with SELinux, or users.

It has to do with a full filesystem.

By default, the filesystem header usually specifies a reserve space to allow root to do things that normal users cannot do.

If you are using an ext* filesystem, you can use tunefs (see manpage for details) to adjust the amount of reserve space. Some people put the reserve space on a /home filesystem to zero. Of course, when something happens that needs root to do things to the filesystem, there will be no available space for any intermediate operations.

In case you are wondering what those things might be - a filesystem recovery (after a severe crash) may require allocating some blocks for directories to hold lost files... without a reserve space to allocate from, this cannot be done. 10% (I believe that amount of reserve is the default) can be a bit high though.

Last edited by jpollard; 28th August 2012 at 03:33 PM.
Reply With Quote
  #3  
Old 28th August 2012, 04:51 PM
topos Offline
Registered User
 
Join Date: Aug 2012
Location: españa
Posts: 2
windows_xp_2003chrome
Re: Non-root-user cannot write in home. There is availible space but not free.

Thanks, many many many thanks.
Reply With Quote
Reply

Tags
available space, availible, filesystem, free, home, nonrootuser, space, write

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
About the space of root and /home dbrg77 Installation, Upgrades and Live Media 7 13th June 2011 11:19 AM
[SOLVED] Home folder eating up all free disk space ciaranw Using Fedora 4 9th February 2011 04:51 PM
No free space but not for root Omar Belkhodja Hardware & Laptops 5 8th August 2007 08:54 PM
How to free up space in root partition? xyleo Servers & Networking 2 9th May 2007 05:03 PM
usb disks automount as root.root 755 - user cannot write!:( mrmailer Using Fedora 0 3rd April 2007 05:18 AM


Current GMT-time: 17:04 (Monday, 22-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...El Pollo Loco Photos - Bandara Sentani, Jayapura Travel Photos on Instagram - Atlantica Oasis Photos on Instagram - Farfetch, London