The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Increasing swap size akyuceisik HP-UX 1 05-09-2008 07:55 AM
/var size is increasing day by day thepurple SUN Solaris 11 11-13-2007 02:19 AM
Help on increasing fs size kingsto88 HP-UX 5 02-11-2007 03:37 AM
Increasing File Size on AIX Rosie C AIX 1 05-12-2006 01:25 AM
Increasing the FileSystem Size aldowsary AIX 9 07-18-2005 12:59 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-08-2005
Registered User
 

Join Date: Jun 2005
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Increasing a directory size

Hello all

Can someone tell me I am running a script and the outputs directory is too small to contain the newly created file as a result of this script. How can I increase the directory size?

Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 06-08-2005
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 706
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
as far as i know directories have no size, only the partition where the directory is. there are several ways ofcourse to limit the space a user could use (quotas). post your OS and your UID when you are not the root go to your administator and ask him for more space...

gP
Reply With Quote
  #3 (permalink)  
Old 06-08-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,240
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Directories are files that are treated specially by the os. Directories grow automatically as entries are added to them. Once they reach the maximum file size they can grow no further.
Reply With Quote
  #4 (permalink)  
Old 06-08-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,628
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Perderabo,

Out of curiosity, is the max file size mentioned anywhere or can it be seen via some system calls ?

vino
Reply With Quote
  #5 (permalink)  
Old 06-08-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,313
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
I think that the max supported filesize is dependent on your filesystem.
Reply With Quote
  #6 (permalink)  
Old 06-08-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,628
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by blowtorch
I think that the max supported filesize is dependent on your filesystem.
Agreed.

But that figure can be accessible somewhere by some system calls.

Which one ?

Vino
Reply With Quote
  #7 (permalink)  
Old 06-08-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,313
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
try these:

man ulimit - definitely available on SunOS and HP-UX
man getrlimit - this is the syscall that ulimit uses in Sun

these give the limit on various system resources available to the current shell.
Reply With Quote
  #8 (permalink)  
Old 06-08-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,240
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
man pathconf (required by posix)
Reply With Quote
  #9 (permalink)  
Old 06-08-2005
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,404
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
maximum file size could be upto 2 GB
datablocks containing file data are triple-indexed indirectly (a maximum of triple level indirection)
Reply With Quote
  #10 (permalink)  
Old 06-08-2005
Registered User
 

Join Date: Jun 2005
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Thanks

Thank you all i figured that i was just recreating stuff in the same filesystem
You are all awesome will speak soon
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101