Operating System - HP-UX
1745863 Members
4495 Online
108723 Solutions
New Discussion юеВ

Creating files more than 2 GB

 
Elangainesan
New Member

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 6
Madhavan.R
New Member

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
New Member

Re: Creating files more than 2 GB

Yes,
You can even have files larger than 2G, check
lvcreate,newfs man page.
Regards
Karthik_26
New Member

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
New Member

Re: Creating files more than 2 GB

Nesan,

Jeff Huff
New Member

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.