General
Showing results for 
Search instead for 
Do you mean 

Creating files more than 2 GB

Occasional Visitor

Creating files more than 2 GB

Hai,

This is nesan(shortname) A HP UNIX System administrator.
Can a have file of maximum size 2GB if i have file system size is
4 GB?.

With warm regards
Elangainesan S
6 REPLIES
Occasional Visitor

Re: Creating files more than 2 GB

Hi,

If your question is creating files more than 2GB, then yes, it is possible from
10.20. Refer the white paper on large files in /usr/share/doc/lg_files.txt

Txs.
Occasional Visitor

Re: Creating files more than 2 GB

Yes,
You can even have files larger than 2G, check
lvcreate,newfs man page.
Regards
Occasional Visitor

Re: Creating files more than 2 GB

Yes u can.
Your file system should support >2GB files.Use Vxfs.
U can do it thru fsadm -o largefile option.
U can't tar them for backup.Use vxdump
Occasional Visitor

Re: Creating files more than 2 GB

Nesan,

Occasional Visitor

Re: Creating files more than 2 GB

Nesan,

If you have created you filesystem with the largefiles option, you can create
files much larger that the 2gig. The default, even up to 11.0 of HPUX is 2
gig. The definition of how large a
file can be in a filesystem, is part of the filesystem definition itself.
I have created files as large as 8 gig. However,not all utilities support the
creation, or input of files this large.
Highlighted
Occasional Advisor

Re: Creating files more than 2 GB

Which version of HP-UX you are using .You can always create a file bigger than
2 BG on HP-UX 10.20 onwards.