Sponsored Content
Operating Systems AIX Can only ls 50 file on NFS mount? Post 302677419 by spitzie on Thursday 26th of July 2012 10:07:15 AM
Old 07-26-2012
Can only ls 50 file on NFS mount?

Please can anybody help me with this weird behaviour.

There are 2 x-servers running Fedora 16 work as a cluster with DRBD, corosync & pacemaker. The cluster exports a filesystem using the following statement in /etc/exports
Code:
/drbd/home      10.49.17.0/255.255.255.0 fsid=1,rw,no_root_squash,no_acl,mountpoint)

This directory is then NFS mounted on various machines using automount.
The problem is that on 2 AIX machines running 32bit 5.2 & 5.3 whichever user, even root, does an ls on the mounted directory the error message "ls: out of memory" is returned when there are more than 50 files.
This problem does not occur on machines running Fedora 16, 64bit AIX5.3 or even a very old machine running AIX3.2.5.

The same automount event is used on all the AIX5 machine whether 32 or 64 bit.
Code:
/home/ANS       -rw,bg,soft,sec=sys,noacl,ver=3 nfssv:/drbd/home

Any ideas would gratefully received.

Moderator's Comments:
Mod Comment edit by bakunin: Please use [CODE]..[/CODE]-tags not only for code but also for file content, terminal ouptut and the like. Thank you.


---------- Post updated at 03:07 PM ---------- Previous update was at 10:23 AM ----------

So if I do the NFS mount as version 2 on the 2 problem machines, then there isn't a 50 file limit.

Last edited by bakunin; 07-26-2012 at 09:08 AM..
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

NFS mount

Hi All, Can any one help in Mounting remote filesystems with NFS? Thanks in advance. Regards, Suresh. (4 Replies)
Discussion started by: srvaka1
4 Replies

2. UNIX for Dummies Questions & Answers

mount -o llock -F nfs vs mount -F nfs

Hi, We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time. Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem.. Can... (1 Reply)
Discussion started by: KhawHL
1 Replies

3. UNIX for Dummies Questions & Answers

How to change the file modification time of a file on nfs mount point

Hi I am accessing a file on nfs mounted device, after completing using of the file, i am tring to restore the access time and modification times of the file. So i got the previous modified time of the file using stat() function and trying to set the date and time for the file, To set these... (6 Replies)
Discussion started by: deepthi.s
6 Replies

4. UNIX for Dummies Questions & Answers

NFS mount

I have a NAS server that needs to have the share mounted on a unix server. I am not that familiar with NFS mounts....any help on what I have to do on the UNIX box...thanks! (7 Replies)
Discussion started by: andrewd
7 Replies

5. OS X (Apple)

NFS Mount

Hello! Im trying to mount an nfs share. But got a bit of a problem. The problem im having is that i try to mount The problem is that the my.server.com/pub/home is owned by root. I know i can make a mount point my.server.com://pub/home/username - > /pub/home But that means i have to do... (1 Reply)
Discussion started by: dozy
1 Replies

6. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

7. UNIX for Dummies Questions & Answers

Mount NFS

Hi I have 2 servers, one is running on SunOS SPARC and the other is running on GNU Linux. Since my Linux is very poor I am not sure on how to mount a NFS from SunOS to Gnu Linux. Please help! FS at Host Server: root@rocux4 # ls -ld /data/PCFILES/GTPROD/DWHFILES.NEW drwxrwxrwx 4 nobody ... (6 Replies)
Discussion started by: hedkandi
6 Replies

8. UNIX for Dummies Questions & Answers

Permission Denied creating file under nfs mount

I have two servers, 82 and 70. My exports file on 82 reads / ...70(rw) on 70 I have a mountpoint called mnt_for_82 I execute on 70 mount -t nfs -o rw ...82:/ mnt_for_82 I go to server 70 and indeed can read and travers the mounted subdirectories. However, I try... (0 Replies)
Discussion started by: blaine.miller
0 Replies

9. Shell Programming and Scripting

Problem in test file operator on a ufsdump archive file mount nfs

Hi, I would like to ask if someone know how to test a files if exist the file is a nfs mount ufsdump archive file.. i used the test operator -f -a h almost all test operator but i failed file1=ufs_root_image.dump || echo "files doesn't exist && exit 1 the false file1 is working but... (0 Replies)
Discussion started by: jao_madn
0 Replies

10. Shell Programming and Scripting

Mount NFS Share On NFS Client via bash script.

I need a help of good people with effective bash script to mount nfs shared, By the way I did the searches, since i haven't found that someone wrote a script like this in the past, I'm sure it will serve more people. The scenario as follow: An NFS Client with Daily CRON , running bash script... (4 Replies)
Discussion started by: Brian.t
4 Replies
VOTEQUORUM_OVERVIEW(8)				    Corosync Cluster Engine Programmer's Manual 			    VOTEQUORUM_OVERVIEW(8)

NAME
votequorum_overview - Votequorum Library Overview OVERVIEW
The votequuorum library is delivered with the corosync project. It is the external interface to the vote-based quorum service. This service is optionally loaded into all ndes in a corosync cluster to avoid split-brain situations. It does this by having a number of votes assigned to each system in the cluster and ensuring that only when a majority of the votes are present, cluster operations are allowed to proceed. The library provides a mechanism to: * Query the quorum status * Get a list of nodes known to the quorum service * Receive notifications of quorum state changes * Change the number of votes assigned to a node * Change the number of expected votes for a cluster to be quorate * Connect an additional quorum device to allow small clusters to remain quorate during node outages. votequorum reads its configuration from the objdb. The following keys are read when it starts up: * quorum.expected_votes * quorum.votes * quorum.quorumdev_poll * quorum.disallowed * quorum.two_node Most of those values can be changed while corosync is running with the following exceptions: quorum.disallowed cannot be changed, and two_node cannot be set on-the-fly, though it can be cleared. ie you can start with two nodes in the cluster and add a third without reboot- ing all the nodes. BUGS
This software is not yet production, so there may still be some bugs. SEE ALSO
corosync-quorumtool(8), votequorum_initialize(3), votequorum_finalize(3), votequorum_fd_get(3), votequorum_dispatch(3), votequorum_con- text_get(3), votequorum_context_set(3), corosync Man Page 2009-01-26 VOTEQUORUM_OVERVIEW(8)
All times are GMT -4. The time now is 04:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy