![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| unable to create any directory that uses numbers as the directory name | fed.linuxgossip | UNIX for Advanced & Expert Users | 16 | 01-13-2008 05:54 PM |
| Create n number of files of size x | the_learner | Shell Programming and Scripting | 2 | 05-02-2007 03:35 PM |
| To create a file of spcified size | suneelkumar | Shell Programming and Scripting | 0 | 12-11-2006 12:31 PM |
| to create a file of specified size | deep | UNIX for Dummies Questions & Answers | 12 | 02-06-2006 08:27 PM |
| How to create file of fixed size? | dblevans | UNIX for Dummies Questions & Answers | 3 | 10-18-2002 05:40 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
How can create a directory with 1GB size?
How can create a directory with 1GB size?
|
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Do you mind having a file inside with 1GB size?
|
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
try command "mkfs"
|
|||
| Google The UNIX and Linux Forums |