- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- NFS and limit in 32 directorys??
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
08-02-2004 07:46 PM
08-02-2004 07:46 PM
NFS and limit in 32 directorys??
I have a directory that its a NFS mount in another system. But I have one problem I can not mkdir more than 31 directorys in this directory. If I mkdir one directory or file more and I do an ls, it is hung.
Does anybody knows why??, Is there any restricction??
Thanks!,
Carmen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2004 09:28 PM
08-02-2004 09:28 PM
Re: NFS and limit in 32 directorys??
1. man mkdir
- reveals that only LINK_MAX subdirectories
be created.
See linits(5)
Look in
( /usr/include/limits.h )
This header file is already mentioned in some thread about finding "32 / 64 bit architecture by some one
Search for "diff between " in this forum
)
2. To look in limits(5)
man 5 limits
3. getconf LINK_MAX [pathname of dir]
I think you can configure those values in
that header file
Hope this helps
Regards,
Ram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2004 10:16 PM
08-02-2004 10:16 PM
Re: NFS and limit in 32 directorys??
However, Linux as an NFS server and client have no issues with that depth of path:
/home/bekar/schedule/1/2/3/4/6/7/8/9/0/1/2/3/4/5/6/7/8/9/0/1/2/3/4/5/6/7/8/9/0/1/2/3/4/5/6/7/8/9/0/1/2/3/4/5/6/7/8/9/0
That's 53 odd levels deep, without batting an eyelid.
Possibly it's not a depth issue, but a length issue. What path are you trying to use/create?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2004 10:49 PM
08-02-2004 10:49 PM
Re: NFS and limit in 32 directorys??
I have this:
root@nodo-orig]# df -k
nodo-1:/export/fitxers_carregues
34979548 1331996 33297756 4% /export/fitxers_carregues/app
and I have in nodo-orig:/export/fitxers_carregues/app:
[root@hppz06 app]# ls -l
total 31
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_AJUTS
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_ARP
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_CC
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_CET
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_CIP
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_CON
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_DIP
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_DIS
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_ECONOMICS
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_EPI
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_EXP
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_FAMILIES
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_GEU
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_HAH
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_HCE
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_HOF
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_HRH
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_INSPECCIO
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_LLOGATERS
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_NOCES
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_REIE
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_RMI
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_SERVEIS
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_SGI
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_SIE
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_SIEBEL
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_SIN
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_SUBVENCIO
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_TSA
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_VIDU
drwxr-xr-x 6 ftpbea ftpbea 512 Aug 3 09:14 SARCAT_APP_W4
If I create another directory or another file in this filesystem, the nfs doesn't work and it's hung.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2004 10:52 PM
08-02-2004 10:52 PM
Re: NFS and limit in 32 directorys??
perl -e 'for ($i = 0;$i<50;$i++) { mkdir( "somestuband_" . $i ); }'
No issues creating 50 directories.
What have you got serving NFS? What are you using as a client to the NFS server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2004 11:10 PM
08-02-2004 11:10 PM
Re: NFS and limit in 32 directorys??
I have using nfslock, and I have running this process: rpc.statd.
It is in the /etc/init.d/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2004 11:12 PM
08-02-2004 11:12 PM
Re: NFS and limit in 32 directorys??
I could create all the directories, but, after I could not access to this directory.. I have to remove them from the original server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 10:47 AM
08-03-2004 10:47 AM
Re: NFS and limit in 32 directorys??
rpcinfo -p
rpcinfo -p
This will return the various services and versions that are running. Show us this information please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 05:34 PM
08-03-2004 05:34 PM
Re: NFS and limit in 32 directorys??
See why i'm unworthy for my position in the standings.
I will re-iterate that there is nothing built into NFS like this. I'm doing more than 32 in an Linux NFS mount right now.
Red Hat ES 3
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
08-03-2004 06:17 PM
08-03-2004 06:17 PM
Re: NFS and limit in 32 directorys??
- what is distro/kernel on server/client?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 01:51 AM
08-04-2004 01:51 AM
Re: NFS and limit in 32 directorys??
I have change the version of nfs at mount:
node-1:/export/fitxers_carregues /export/fitxers_carregues/app nfs rw,suid,nfsvers=2,soft 0
0
and now its works... but I have the problem not at the 32 file, I have the problem to create the 43 file.
Any idea???
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2004 03:07 PM
08-04-2004 03:07 PM
Re: NFS and limit in 32 directorys??
Without this information, we can't help you further, without making wild random guesses.