1833187 Members
3045 Online
110051 Solutions
New Discussion

Re: Kernel parameter

 
Nagaraju Gudala
Occasional Advisor

Kernel parameter

I want to know what are the tunable parameters and their value in HP11 for opening files of large size,to ftp files of size upto 3GB .Is it possible to ftp files of such large size.
12 REPLIES 12
Stefan Farrelly
Honored Contributor

Re: Kernel parameter

Yes, it is possible to ftp files of 3Gb or more, no problems. I dont believe you need to adjust any kernel parameter for this to work.

All you need to ensure is the filesystem you are ftp'ing to has largefiles set so it can support a single file > 2Gb. (see man fsadm).
Im from Palmerston North, New Zealand, but somehow ended up in London...
James R. Ferguson
Acclaimed Contributor

Re: Kernel parameter

Hi:

There are no tunable parameters for 'largefiles' support, per se.
Have a look at the "HP-UX Large Files" whitepaper for a better understanding of the programmatic handling. Yes, 'ftp' supports transfer of very large files.

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

Regards!

...JRF...
T G Manikandan
Honored Contributor

Re: Kernel parameter

Just do a cat /etc/fstab and check whether the large files are enabled for the file system.

If then it should support files >2GB
Dario_1
Trusted Contributor

Re: Kernel parameter

Hi!!

I think you will only have to make sure the filesystem you are ftp'ing is set for largefiles.

# fsadm -F vxfs -o largefiles /mountpoint

You can determine whether or not 'largefiles' is set by doing:

# fsadm -F vxfs /mountpoint

...you will see "largefiles" or "nolargefiles" as appropriate

Regards,

Dario
K.Vijayaragavan.
Respected Contributor

Re: Kernel parameter

Does your file system support largefiles. check the /etc/fstab, and see if largefiles option is specified for the corrresponding FS.
"Let us fine tune our knowledge together"
K.Vijayaragavan.
Respected Contributor

Re: Kernel parameter

Check if this URL is useful.

http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
"Let us fine tune our knowledge together"
Jdamian
Respected Contributor

Re: Kernel parameter

Hi.

Dario's suggestions are right.

Checking /etc/fstab is wrong.
Geoff Wild
Honored Contributor

Re: Kernel parameter

Sure it's possible - no tunable parameter that I'm aware of though....

Are you looking to ftp interanlly? If so, and if possible, use rcp to copy files between systems - I have found rcp to be faster then ftp....

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ian Dennison_1
Honored Contributor

Re: Kernel parameter

J. Damian,

Both answers are right, Dario's is just better practice. Try this,....

Create a file system with largefiles option
Create an entry for it in /etc/fstab with no "largefiles" entry.
Try mounting it.

You will receive an error message stating mount options are incompatible.

The reason 'fsadm' is better is because it interrogates the filesystem directly, rather than assuming that the /etc/fstab entry was the one used when mounting the filesystem.

Share and Enjoy! Ian
Building a dumber user
Dave La Mar
Honored Contributor

Re: Kernel parameter

Just an FYI. If the ftp is to a Linux machine, without patching, Linux, at least older versions, has a 2gb limit.

Regards,
dl
"I'm not dumb. I just have a command of thoroughly useless information."
Paula J Frazer-Campbell
Honored Contributor

Re: Kernel parameter

Hi

Ftp of large files:-

zip the file first -- gzip -9

Or split it up and ftp in smaller bits.



Paula
If you can spell SysAdmin then you is one - anon
Caesar_3
Esteemed Contributor

Re: Kernel parameter

Hello!

You should enable support for large files
on the dist. machine and then is no problem.

Caesar