- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Strange NFS Problem
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
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
04-21-2005 01:52 AM
04-21-2005 01:52 AM
Strange NFS Problem
The archive data is on a Windows 2000 server, with several directories each of which are of the order of 100Gb in size and contain 3,000,000 files in a completely flat structure (i.e. 3,000,000 in one folder).
I need to copy the data in the same structure to my HP server.
I know this is highly inefficient, but I have no control over this.
The data is NFS exported from W2K (using Windows Services for Unix), and mounted on the HP server.
I have tried both "cp -r" and "find | cpio -d"
In both cases it works for a while, then the problem occurs.
After around 300,000 files (between 8 and 9Gb of data) the copy starts re-copying the same files again and again.
There are no error messages in either Unix or Windows. All processes appear to be working in both, but the same files are copied over and over, so the total number of files copies remains at the 300,000 odd figure.
At the moment I have no idea if the problem is in the HP-UX or Windows environment.
Any suggestions on how to track this down?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 01:57 AM
04-21-2005 01:57 AM
Re: Strange NFS Problem
Also, it would be wiser to copy data in chunks. Like copy files a-e, then e-m and so on.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 02:01 AM
04-21-2005 02:01 AM
Re: Strange NFS Problem
While it would be possible to break down the copy into smaller chunks, it would be difficult as commands like "ls" tend to fail with that number of files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 02:05 AM
04-21-2005 02:05 AM
Re: Strange NFS Problem
You may want to split it further.
a-d and so on.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 02:11 AM
04-21-2005 02:11 AM
Re: Strange NFS Problem
from what I can find there is no hard limit on the numbe rof files in a single directory under Vxfs.
Problems may come from the inode table growing too big for the copy to use. It may hit the end of the buffer and then start copying the last file over and over again.
Can you let us know if it the last files it tries to copy?
I would try the approach of copying chunks of files.
Also have you considered impacts on file searches and backup strategy with this approach?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 02:15 AM
04-21-2005 02:15 AM
Re: Strange NFS Problem
Try making a tar file with winzip, transferring the single file and seeing what the results are.
They should be similar if lack of inodes is the issue.
To accommodate this structure on hp-ux kernel modificaiton is probably required.
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
04-21-2005 02:23 AM
04-21-2005 02:23 AM
Re: Strange NFS Problem
It is not just one file being repeatedly copied, and it is not all 300,000.
Looking at the timestamps it seems to be re-copying from file number 236658 to file number 319134 of 319134.
As I said there should be over 3 million, so it gets around 10% through, then repeats the last 25% of those already copied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 02:28 AM
04-21-2005 02:28 AM
Re: Strange NFS Problem
This may be a possibility providing there is sufficient space on the Windows box to store the zip file.
What HP-UX kernel modifications do you think would be required?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 02:34 AM
04-21-2005 02:34 AM
Re: Strange NFS Problem
Or the unzip command.
I know that these files are cross platform compatible.
I commonly also create tarballs on hp-ux and read them with recent versions of winzip, no problem.
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
04-21-2005 03:37 AM
04-21-2005 03:37 AM
Re: Strange NFS Problem
The chunks of files idea is looking promising. At the moment the Wintel administrator is generating a list of files for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 12:58 AM
04-22-2005 12:58 AM
Re: Strange NFS Problem
You said the directory structure is flat but...
Could there be a symbolic link or it's equivalent buried in there somewhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 09:55 PM
04-22-2005 09:55 PM
Re: Strange NFS Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2005 01:24 AM
04-23-2005 01:24 AM
Re: Strange NFS Problem
This means that you must create multiple directories in which to store all the w2k data, then copy it over in bits. I suggest you remove each file from w2k after you have copied it over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2005 01:34 AM
04-23-2005 01:34 AM
Re: Strange NFS Problem
I have reached +300,000 and the max allowable for that parameter is 65,534
(that is the according to an HP-UX 11.11 document on docs.hp.com, my server is actually 11.00)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 01:52 AM
04-26-2005 01:52 AM
Re: Strange NFS Problem
( cd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2005 02:32 AM
04-26-2005 02:32 AM
Re: Strange NFS Problem
vx_ninode is the number of I-node entries in the inode table.
There will be an upper limit to the number of files present on the same device because of the format of an NFS file handle passed between the Windows 2000 server and the HP server. I suspect the limit is around the (hex) 40000 mark around 262,144 in decimal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2005 08:54 PM
05-01-2005 08:54 PM
Re: Strange NFS Problem
Just back from a week away and will be looking at this again tomorrow.
The limits on NFS could be significant.