The UNIX Forums
"Join the Network of UNIX System Users"


 
Subject: how can create a directory with 1gb size?
htmlindex
Newbie
Rank: 1



UID 178
Digest Posts 0
Credits 0
Posts 22
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 19, 2007 02:31 PM  Profile | P.M. 
how can create a directory with 1gb size?



how can create a directory with 1gb size?




how can create a directory with 1gb size?


Top
DannyCrane
Newbie
Rank: 1



UID 105
Digest Posts 0
Credits 0
Posts 19
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 19, 2007 02:31 PM  Profile | P.M. 
yes, infact i need to create a file with 10gb size. the mount point have more than 10gb space. eventhen when i create oracle db datafile it gives error.

so i need a way to create a directory with enough space and then create the file.
Top
24abc
Newbie
Rank: 1



UID 30
Digest Posts 0
Credits 0
Posts 51
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 19, 2007 02:31 PM  Profile | P.M. 
what is ulimit set to?
the directory size only relates to the number of entries that are in the directory.
if you want a large directory, then write a script to create a few thousand empty files in the directory then delete the files.
Top
ivann
Newbie
Rank: 1



UID 191
Digest Posts 0
Credits 0
Posts 30
Reading Access 10
Registered Apr 25, 2007
Status Offline
Post at Jun 19, 2007 02:31 PM  Profile | P.M. 
the real question here, is not how to create a large directory, but rather how to preallocate a large file.
the maximum size of an individual file is dependent upon the operating system and the file system type. this value may be further reduced by the value of ulimit, which can be set by the system administrator.
if you are using a system that does not support a 10gb file then you should consider creating an oracle raw file system, or upgrading your current operating environment to one that will support larger files.
Top
 

 

All times are GMT, the time now is Jul 31, 2010 03:31 AM

Powered by Discuz! 5.0.0  © 2001-2006 UNIX Forums
Processed in 0.005180 second(s), 8 queries

Clear Cookies - Contact Us - UNIX Help - Archiver - WAP