dslreports logo
uniqs
1057

TruckerKW
join:2002-03-31
Buckner, IL

TruckerKW

Member

Increase directory size?

My FTP server I installed is on a 60 gig H/D and I made a directory /home/ftp. This directory fills up at 10 gig, how can I increase the size and let it fill to maximum?
Jon_Hanson
Mountain Dew Rules
Premium Member
join:2001-07-09
Gilbert, AZ

Jon_Hanson

Premium Member

Did the partition your /home is on fill up? Do df to see.

nixen
Rockin' the Boxen
Premium Member
join:2002-10-04
Alexandria, VA

nixen to TruckerKW

Premium Member

to TruckerKW
Did you run out of blocks or did you run out of inodes? Depending on the files that you're uploading, you can run out of fee inodes long before you run out of free blocks. Either way, the error messages displayed will be the same.

-tom

TruckerKW
join:2002-03-31
Buckner, IL

TruckerKW

Member

It appears RH8 divided up my partitions very wierd. Looks like I might have to redo the whole mess unless anyone knows a way to remove existing ones and increase my home directory without losing stuff?

Qmanman9
join:2000-08-17
/home

Qmanman9

Member

that would really depend on how RH setup the partitions. Is there any free space (un-partitioned) left on the drive at all? Post your partition layout if you can. I'm not really a big fan of re-sizing so maybe someone else can help you with that, but you could make new partitions if you have free space in which to copy the files from /home to. I recently had to change the setup on my server-here is what I did:

had two storage partitions, /dev/hda3 and /dev/hda4. I wanted to make them one large one, but I had tons of files on each. I ended up installing another drive temporarily to copy all the files from both partitions to. I then deleted both partitions, made one large one, and copied the files back.

TruckerKW
join:2002-03-31
Buckner, IL

TruckerKW

Member

I was not thinking when I installed this and I let RH8 partition to its recommendations. Here is what I have

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda5 505605 468685 10816 98% /
/dev/hda1 101089 9379 86491 10% /boot
/dev/hda3 14911180 5849248 8304468 42% /home
none 79216 0 79216 0% /dev/shm
/dev/hda2 40797024 855044 37869596 3% /usr
/dev/hda6 1027768 41372 934188 5% /var

mojogeek
join:2001-12-20
Concord, CA

mojogeek

Member

I had a similar problem with mine. I just added another hard drive and divied it up into several partitions. I have my /home/Mount mounted to /dev/hdc1 and /var/ftp/pub mounted to /dev/hdc2. Not sure if this is the "correct" way of doing it but it sufficed until I decide to rebuild.

Qmanman9
join:2000-08-17
/home

Qmanman9 to TruckerKW

Member

to TruckerKW
Hmm if I'm counting right you have a whopping 37 gigs for your /usr partition! Of course no sane person would not want to really fool with /usr, but I think if you were very careful you could use the method I described above.

I would say your options are either look around for a good partition re-sizing utililty or re-install.

TruckerKW
join:2002-03-31
Buckner, IL

TruckerKW

Member

That is what I will do. I will just ship my stuff to another drive and redo the whole thing.

Should I install this all on a single / partition? Is that going to affect anything? All this computer will do is host an FTP server. Nothing else. Perhaps I should also move to a smaller distro as well.

Qmanman9
join:2000-08-17
/home

Qmanman9

Member

Its not really a matter of a smaller distro as it is controlling how the distro partitions the space. The way RH separates the partitions is a pretty good (and more secure) way to do things. Just write down your current partition sizes and make an educated guess as to what you need.

TruckerKW
join:2002-03-31
Buckner, IL

TruckerKW

Member

Yea I will figure it out, I was just looking for magic:)