LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-28-2004, 11:06 PM   #1
psyientist
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Mandrake /home directory size Limit problem


Greetings,

I have installed mandrake 9.2 and it's running fine however on my 40GB drive I can only access 2GB of ./home which is actually 35GB.

In all utilities the directory size views as 2 GB.

However in DiskDrake, the partition /home is 35GB.

Anybody know of any diagnostic commands or Directory Size Limit settings?

This little problem has haulted my entire setup! Yikes!

Thanks!,
Garrett Min*~
 
Old 04-29-2004, 04:57 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"In all utilities the directory size views as 2 GB.

However in DiskDrake, the partition /home is 35GB."

The partition size is 35G. The file system size is 2G. (Why? I don't know.) You will have to format the /home partition with mkfs. Formating the partition will wipe out all of the data so you will have to back up /home before you format the partition and restore /home after you format. So the way to do this is to login as root. Copy /home to a safe place, being sure to save your permissions and ownership. umount /home. Format the partition with mkfs. mount the partition on /home again. Restore the backup to /home making sure that you preserve permissions and ownership.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeB....home.page.html

Steve Stites
 
Old 04-29-2004, 10:38 PM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Perhaps it's a quota?
 
Old 04-29-2004, 10:58 PM   #4
hazza
Member
 
Registered: Nov 2003
Location: Australia
Distribution: Mandrake, SUSE, Fedora
Posts: 122

Rep: Reputation: 15
If it does turn out that the file system size of /home is smaller than your partition size then depending on the type of file system you have it might not be necessary to reformat it. Could you post the output of "df" and "fdisk -l" so others could examine it?

I have uses resize2fs myself to increase the size of a file system to the size of the underlying partition after expanding that. There are also equivalent programs for other file systems as well.
 
Old 04-30-2004, 01:47 PM   #5
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
if you have 3gb's of data stored in /home and you right click on it then it will obviously show you 3gb's... if you do df -h then you will see the percentage being used on all partitions as well as there size.
 
Old 04-30-2004, 05:18 PM   #6
psyientist
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Mandrake Directory Quota?

Hey thanks for the response everyone.

I will run the df and fdisk commands on the partition and see what I come up with. If nothing substantial then I will try reformating partition too.

I thought it may be something universal to all Linux Distro's, like some sort of a Config File for Directory size limits. Gotta strip the Govenor off this Motor!

Cheers and thanks for the input...
Will respond with the results of the Psyientific Experiment!!!

Testing Psyientist....

Excitment!

Anticipation!

Will it BE???!!

FrankenDrake!

Cheers,
Garrett Min
 
Old 04-30-2004, 07:30 PM   #7
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
I think that the easiest possibility to handle is the user's quota being active... but haven't said anything about it. Have u checked it?
 
Old 05-01-2004, 04:58 PM   #8
psyientist
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Users Quota

Logged in as Root. I wasn't aware of a Users Quota? Is there a command for the User Quota?

Thanks,
Garrett*~
 
Old 05-01-2004, 07:55 PM   #9
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
http://www.tldp.org/HOWTO/Quota.html
 
Old 05-14-2004, 03:51 PM   #10
psyientist
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Problem Solved!

Hey thanks eveyrone for all the great advice. I learned some new useful commands like df-h and fdisk -l.

Also I got my problem solved!

Turns out doing a reformat of the drive wiped out whatever partition/user/quota that was happening on the disk. Looks like I got all my Gigabites Back!

Cheers and Thanks for the help...

Garrett Min
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limit Users Home Directory Size KrGAce Linux - Newbie 6 10-24-2005 09:48 AM
/home/directory size limit Smokey Slackware 2 11-04-2004 03:11 PM
How to LIMIT my HOME DIRECTORY SIZE??? juliann Linux - Networking 2 07-21-2004 09:08 AM
Directory size limit macadam Linux - Newbie 3 09-22-2003 12:06 PM
Directory Size Limit?? _TK_ Linux - General 9 09-05-2002 09:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration