I have two linux boxes that have nfs-mounted a file system from a DG/UX server. One of them cannot read the directories properly. Here's a short Perl script: **************************************************************** #!/usr/bin/perl opendir(DIR, $ARGV[0]) or die; @files = readdir(DIR); print(join("\n", @files, '')); exit(0); **************************************************************** On server A: % uname -a Linux A 2.4.16 #1 SMP Fri Dec 14 15:31:54 EST 2001 i686 unknown On server B: % uname -a Linux B 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown B is running the standard RedHat 7.1 kernel, while server A has been upgraded. On B, when I run the test script, supplying the name of an NFS directory (on the DG/UX server), I get the "right stuff" -- a good directory listing. On A, the same operation gives me nothing. No failure or anything. The script works find on local disks and on disks NFS mounted from a Sun server. The A server also has the reiserfs installed on an unrelated drive. The symptom is not limited to perl scripts. I get strange behavior from tcsh, too. Any ideas? Thanks, Bill
participants (1)
-
Bill Mills-Curran