Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating files more than 2 GB

Elangainesan
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
Madhavan.R
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.
Bryan Vu_1
Occasional Visitor

Re: Creating files more than 2 GB

Yes,
You can even have files larger than 2G, check
lvcreate,newfs man page.
Regards
Karthik_26
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
Anonymous_11
Occasional Visitor

Re: Creating files more than 2 GB

Nesan,

Jeff Huff
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.
Arun Pannase_1
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.