Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery registry cleaner router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
size of the directory

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
vschitturi's Avatar
Senior Member with 166 posts.
 
Join Date: Mar 2008
02-Jul-2008, 11:35 AM #1
Question size of the directory
hi,

How can we increase the size of the directory in linux. Is there any command for that and also can we increase the size of the root partition(/ - file system)? If this is possible could anyone help me please.

Thank you for your valuable time.
lotuseclat79's Avatar
Distinguished Member with 14,991 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
02-Jul-2008, 12:29 PM #2
Hi vschitturi,

You are really interested in increasing the partition size for the root partition - not a directory size (don't confuse the two).

Use gparted which you may already have in your Linux distribution or get it from one of the links here: Gparted.

It probably requires the use of the Gparted Live CD, so the OS filesystem would not be mounted to perform the resizing operation.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
vschitturi's Avatar
Senior Member with 166 posts.
 
Join Date: Mar 2008
02-Jul-2008, 04:03 PM #3
hi lotus,

Thank you very much for the reply. I am sorry for not questioning correctly actually i want a command which helps me to increase the directory size in linux.

Could u please help me.

Awaiting for your reply.

Thank you for your time.
lotuseclat79's Avatar
Distinguished Member with 14,991 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
03-Jul-2008, 09:03 AM #4
Hi vschitturi,

I know of no command, once a filesystem is created, that will increase the size of a directory.

Files (contents) are identified not by their name which is recorded in the directory file, but by what is called an inode number also recorded in the directory. It is possible to "run out" of inodes. When this happens, you cannot add data to the device, even though there may be free space available. Read about inodes here. There is a link at the end of that inode webpage to an article on the topic: The Linux Virtual File-system Layer: Inodes and Operations which you should also read for familiarity.

When this occurs, you may have to backup the contents of a partition to another disk, resize the partition given there exists more space on the original disk, and then restore the backup into the newly resized partition.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
vschitturi's Avatar
Senior Member with 166 posts.
 
Join Date: Mar 2008
03-Jul-2008, 10:01 AM #5
hi lotus,

Thank you very much for your reply.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 08:58 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.