Operating System - HP-UX
1834772 Members
3109 Online
110070 Solutions
New Discussion

Re: Can not transfer large files between two hosts

 
xiongye_2
Occasional Advisor

Can not transfer large files between two hosts

Hi: I can not transfer large files between two l2000,when using rcp or ftp ,I think the error is network,but I can not use netstat -i to determine it ,how can I find the error?
xysco
17 REPLIES 17
Kenneth_19
Trusted Contributor

Re: Can not transfer large files between two hosts

Can the two hosts recognize each other thru ping? Can you show us the error message that fails your transfer?

Regards,
Kenneth
Always take care of your dearest before it is too late
Michael Tully
Honored Contributor

Re: Can not transfer large files between two hosts

The first thing to check is whether the your destination filesystem is set up to cater for largefiles. (assuming the files being transferred are greater than 2Gb in size)
Here is how to check:
# fstyp -v /dev/logvg/ps_log
vxfs
version: 4
f_bsize: 8192
f_frsize: 2048
f_blocks: 6604800
f_bfree: 6345528
f_bavail: 6147487
f_files: 1584616
f_ffree: 1586376
f_favail: 1586376
f_fsid: 1074397185
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 5
f_size: 6604800

The f_flag: 16 value is a supported largefiles filesystem. If this value is '0' then you can't copy files over 2Gb.

To change it for example you can do this, if you have On-Line JFS. If not you will have to unmount the filesystem.

# fsadm -F vxfs -o largefiles /dev/logvg/ps_log

HTH
Michael
Anyone for a Mutiny ?
xiongye_2
Occasional Advisor

Re: Can not transfer large files between two hosts

There is no filesystem limit,It can not solve the problem,Thanks your reply
xysco
Michael Tully
Honored Contributor

Re: Can not transfer large files between two hosts

okay.... Can you give some indication as what is happening.... Error messages...etc ?
Anyone for a Mutiny ?
xiongye_2
Occasional Advisor

Re: Can not transfer large files between two hosts

no error message,just hang,and the filesize can not extend ,seen from another session,what I can do is ctrl +c
xysco
Kenneth_19
Trusted Contributor

Re: Can not transfer large files between two hosts

Is the error occur only on largefiles? Is transferring small files ok?

Kenneth
Always take care of your dearest before it is too late
T G Manikandan
Honored Contributor

Re: Can not transfer large files between two hosts

just post the command you are using to copy the files?


Thanks
xiongye_2
Occasional Advisor

Re: Can not transfer large files between two hosts

small file is ok,the limit is filesize, the cmd is just rcp ,ftp nothing else
xysco
Kenneth_19
Trusted Contributor

Re: Can not transfer large files between two hosts

Seems that the throughput for largefiles is not good. How is the transfer rate for small file as reported in ftp? Have you checked that the setting of full/half duplex of NICs on both of the machines? How about speed of NICs, any differences between them?

Kenneth
Always take care of your dearest before it is too late
Andrey Vorobiev
Occasional Contributor

Re: Can not transfer large files between two hosts

HI !

I could be wrong but I had an experience with HP N4000 server. WHen I tried to ftp or rcp file from source to destination machine the destination's machine LAN card hanged completely (it didn't even respond to ping). The only workaround was to unplugg the cable and plug it again. So HP support people advised me to install the patch. They said it was a known problem for N-class servers (HPUX 11).

Good luck,
Andrey
xiongye_2
Occasional Advisor

Re: Can not transfer large files between two hosts

What Andrey Vorobiev have said can not explain the problem. I do not konw how to check the speed of special NIC ,and full/half duplex of special NIC.Can you tell me how to do it ? and I want to use cmd to check whether the package between two hosts is lost,how can I check it ? Thanks !!
xysco
Kenneth_19
Trusted Contributor

Re: Can not transfer large files between two hosts

you can use "lanadmin" to check the duplex and speed setting of individual NICs. It is a menu driven utility and can be easily used.

Regards,
Kenneth

Always take care of your dearest before it is too late
Andrey Vorobiev
Occasional Contributor

Re: Can not transfer large files between two hosts

You can use sam to check the parameters of your lan card. sam - Metworking and Communications - Network interface Cards.

Choose your lan interface and use menu Actions - Modify. The you can set the paremeter AUTONEG either to on or off. Try to play with the speed of the card on both machines.

xiongye_2
Occasional Advisor

Re: Can not transfer large files between two hosts

Thanks Kenneth Ng and Andrey Vorobiev reply, I use lanadmin find lan1 have no "Inbound Errors" or "Outbound Errors"
I can not explain the error, I use a pc in the same network with one of two machine to upload a file to test
xysco
Kenneth_19
Trusted Contributor

Re: Can not transfer large files between two hosts

One more thing to check, you have to check whether the two NIC on both machines have the same duplex setting and speed (if one of them is half duplex while the other is full, you will have problem).

Regards,
Kenneth
Always take care of your dearest before it is too late
Sandip Ghosh
Honored Contributor

Re: Can not transfer large files between two hosts

Hi,

You have to check all the four point that whether they are at full duplex mode (100 mbps ) or not. Two hosts and two ports on the switch. Host side you can checkup but for the port side you have to ask the network admin. From hpux you give lanscan and look at NM ID of the lan Card. Then give lanscan -s . It will show you the speed of the network Card. If its set on 10 mbps then change it to 100 mbps by lanadmin -S.

Sandip
Good Luck!!!
Shannon Petry
Honored Contributor

Re: Can not transfer large files between two hosts

It appears to me that this problem is with the duplex. Sometimes (switch dependant) i have to force the duplex on the HP Servers/Workstations. Not sure if this is from a bad or slow switch response or what, but 1/2 way through transmision, the HP will change duplex.
Edit the file /etc/rc.config.d/hpbase100conf to force the duplex. Notes are in this file as to how it should be modified.

Regards,
Shannon
Microsoft. When do you want a virus today?