LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   /root directory full (https://www.linuxquestions.org/questions/linux-general-1/root-directory-full-340467/)

kpachopoulos 07-06-2005 01:35 AM

/root directory full
 
I tried to create an image (.img file) in the /root directory-logged in as root. /root has no partition of it's own; it's part of the / partition, which has 17,9 GB free. However, the image file is only going to be 10GB and the message i get is in the first 5 seconds, which means that even lesser space has been consumed.
Does /root has quota, or specific properties, which cause this problem?
Thanks

FinalFantasy 07-06-2005 03:18 AM

Check if the filesystem or the program supports a 10GB file.

kpachopoulos 07-06-2005 03:30 AM

Thank you FinalFantasy,
I searched and found, that in worst case (1kb block size) "ext2 or ext3" support 16GB files. I am also not sure, but it is implied, that for x86_64 files can be larger- i have an amd64.

cs-cam 07-06-2005 04:47 AM

I am speaking only from what I've read in forum posts before, not from fact or any documentation ;)

I think /root does have a quota on it out of the box, or it reserves n% (not sure of the percentage) of the filesystem's free space so even if the disk is chock full, root can still log in. Not sure how this could play a part in your problem but it might be worth knowing :)

v00d00101 07-06-2005 06:56 PM

Try creating the file in /tmp. Thats what the mountpoint is there for.

cs-cam 07-06-2005 08:48 PM

Quote:

Originally posted by v00d00101
Try creating the file in /tmp. Thats what the mountpoint is there for.
Mmmmm, wonder if they have 10GB of RAM/swap space, that's what /tmp is....

FinalFantasy 07-07-2005 12:01 AM

Quote:

Originally posted by cs-cam
I am speaking only from what I've read in forum posts before, not from fact or any documentation ;)

I think /root does have a quota on it out of the box, or it reserves n% (not sure of the percentage) of the file-system's free space so even if the disk is chock full, root can still log in. Not sure how this could play a part in your problem but it might be worth knowing :)

There shouldn't be a quota out of the box, or if so, it should be cleared stated.

5% might be reserved by the file system. but it should not be the case in your situation.

try create a 16GB file and see if it succeed.


All times are GMT -5. The time now is 02:38 PM.