- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with CIFS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 03:02 AM
09-22-2004 03:02 AM
Problem with CIFS
I'm having a problem with cifs filesystems
I created a share on one of our windows 2000 server (some space on a SAN, actually) and mounted it on our HP-UX box.
I have to transfer large files to and from this share (it's used to backup our oracle datafiles).
When transferring from HP-UX to Windows everything goes well, but when doing the opposite does not work.
Specifically, files bigger than 4 GB get truncated, so that their final sizes are the original sizes modulo 4 GB .
Anybody has an idea on how to solve this problem ? (ok, i know that, since the win -> hu-ux transfer is just for restores i can get away with a simple ftp, but i still want to fix it)
Thank you,
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 03:23 AM
09-22-2004 03:23 AM
Re: Problem with CIFS
Since the filesystem was set up by windows, you might have windows configuration or quota issues that is limiting maximum filesize.
You might simply need to update samba to the latest available version. I've had some issues with old versions and 3.x versions on HP-UX and Linux.
Client
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8724AA
Server
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA
Technology preview:
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP3
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=CIFSTP22
SEP
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 03:33 AM
09-22-2004 03:33 AM
Re: Problem with CIFS
Could be that largefiles is not enabled for the HP-UX filesystem.
# fsadm -F vxfs /hpuxmountpoint
this will tell you if you have largefiles enabled.
But if the files >2GB<4GB are getting transferred without a glitch,then I would think problem is somewhere else. Start with the largefiles :-).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 06:27 PM
09-22-2004 06:27 PM
Re: Problem with CIFS
A simple cp is what we use.
As i said, from HP-UX to Windows all goes well: if the file is 8 GB on the hp-ux box, it will be 8 GB on the Windows share.
When i do a transfer from Windows to HP-UX, files smaller than 4 GB get transferred ok, those larger than that get truncated.
As you can say by reading this, largefiles are enabled on the hp filesystem, as the transfer is directly to/from the mount point of the oracle production databases.
I might actually need to update cifs client but the link you provided allows me to "receive it for free", but not download it. Are there any other resource to get it from ?
Sundar:
I was under the impression that the filesize limit with largefiles disabled was 2 GB, not 4 and, indeed, transferring with ftp, i get the files exactly as they should be (to test the whole backup procedure, we even destroyed the db after saving it on the remote share, then we transferred it back and tried to mount it - it worked without a glitch).
Thank you,
Alberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 09:14 PM
09-22-2004 09:14 PM
Re: Problem with CIFS
The "receive for free" button on the page mentioned earlier takes you to a registration screen. Once you've entered your details you can download the software.
An alternative is to look on your application cds, but the website will be more up to date than the cds.
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2004 10:11 PM
09-22-2004 10:11 PM
Re: Problem with CIFS
as far as i understand this you can copy your file bigger 4GB to this share. This file can then be accessed from your windows server and is totally intact.
BTW: you copy this file from unix with a normal cp command or do you write it directly to this mountpoint?
More important: how do you transfer this file from the windows share to your UNIX box. I assume you use normal cp. Have you tried to use cpio or anything else?
From the UNIX side did you check to see if this file is ok while it resides on the Windows share. As this is a mountpoint you should be able to read this file directly. Have you tried this? Is this file really ok?
When copying, did you get any error message on screen or in syslog or in the samba logfiles?
Perhaps examining this questions will help.
Regards Stefan