Operating System - HP-UX
1833751 Members
2787 Online
110063 Solutions
New Discussion

File system larger than 2GB

 

File system larger than 2GB

Hi all,
How to know if my HP-UX Unix supports file systems larger than 2GB?

Thanks,

Christian
Christian Aguilar
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: File system larger than 2GB

Run fsadm against it:

# fsadm /tmp
fsadm: /etc/default/fs is used for determining the file system type
largefiles
#


Pete

Pete
James R. Ferguson
Acclaimed Contributor

Re: File system larger than 2GB

Hi Christian:

HP-UX releases 10.20 and later support largefiles (> 2GB). You must enable 'largefiles' support on a per filesystem basis, however, to avail yourself of the capability.

Regards!

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: File system larger than 2GB

Hi (again) Christian:

I think, perhaps, I misread your question and you are asking about the maximum size of a file*system*. See here for that information. The maximum value is dependent on the type of filesystem and the version of JFS you are using:

http://docs.hp.com/en/5971-2383/5971-2383.pdf

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: File system larger than 2GB

Hmmm - thanks, James, it seems I may have misread that!


Pete

Pete
Steve Andrews_6
Frequent Advisor

Re: File system larger than 2GB

I use the following command to check if LargeFiles are enabled:
# mkfs -m /dev/vg00/lvol9
mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=4,inosize=256,logsize=1024,nolargefiles /dev/vg00/lvol9 102400
Then, if needed I use fsadm with the -o largefiles option to set it:
# fsadm -o largefiles /dev/vg00/rlvol9.
I hope this helps a litte.
In God We Trust
Ted Buis
Honored Contributor

Re: File system larger than 2GB

You can enable largefiles in same for each file system if desired very easily if they are not already enabled.
Mom 6