1833994 Members
3706 Online
110063 Solutions
New Discussion

large file support

 
SOLVED
Go to solution
kamal_9
Super Advisor

large file support

Hi can any one tell me how to find out weather the filesystem supports large file and long file name support or not ?
8 REPLIES 8
john korterman
Honored Contributor
Solution

Re: large file support

Hi,

try:
# fstyp -v

if:
f_flag: 16 -->supports large files
f_flag: 0 -->no support for large files

and eventualy test by creating a large file by the prealloc command, e.g.:
# prealloc mybigfile 2200000000

I think that you can make filenames as long as 255 characters. How long do you need them?

regards,
John K.
it would be nice if you always got a second chance
Ranjith_5
Honored Contributor

Re: large file support

try
dbnode:toor-/>fstyp -v /dev/vg21/lvol4
vxfs
version: 4
f_bsize: 8192
f_frsize: 8192
f_blocks: 10483712
f_bfree: 8114032
f_bavail: 8050642
f_files: 2028512
f_ffree: 2028480
f_favail: 2028480
f_fsid: 1075118084
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 7
f_size: 10483712

Regards,
Syam
Ivajlo Yanakiev
Respected Contributor

Re: large file support

fsadm -F vxfs /dev/vg02/lvol1

replace /dev/vg02/lvol1 with your FS

kamal_9
Super Advisor

Re: large file support

Hi
If the large file support is not enabled
How to enable it . Can i do it just buy umounting the filesystem .wht will happen to the data.
Is this Largefile support same for
1.simple lvm with hfs
2.Vertitas vaolume manager
3. Online JFS
Pete Randall
Outstanding Contributor

Re: large file support


fsadm -F vxfs -o largefiles /dev/vg02/lvol1


Pete

Pete
Jean-Luc Oudart
Honored Contributor

Re: large file support

Answer in a previous thread

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=118006

Regards
Jean-Luc
fiat lux
Pete Randall
Outstanding Contributor

Re: large file support

To answer the rest of your question, largefile support is the same for HFS or VxFS, VxVM or LVM, and OnlineJFS.


Pete

Pete
Ranjith_5
Honored Contributor

Re: large file support

Hi Kamal,

Assuming that you have licenced online JFS installed on your system:-

To find a file system supports large file or not use:

#fsadm -F vxfs /

output will be either largefiles/nolargefiles

To convert a HFS file system from a nolargefiles file system to a largefiles file system:

#fsadm -F hfs -o largefiles /dev/vgxx/

For more info. Pls see:

http://docs.hp.com/hpux/onlinedocs/os/lgfiles4.pdf

Regards,
Syam