Joe Gerkman
2003-Jan-30 18:37 UTC
[Samba] Can't see all of the directories in a share with 2.2.7a-1 & RH8...but older version/kernel can
Hi all, Hoping someone might be able to steer me in the right direction and/or help me solve my problem. We have a number of Linux servers (RH6.2 -> RH8) which connect to the same share on a Win2000 Server. We've been working kinda hard to get everything upgraded to either RH7.3 or RH8.0 since we rarely get the opportunity. 2 similar servers (one dev, one prod) access this same window share, which has a large number of directories (about 620-650), and the share itself is for a 180GB volume. Just recently we discovered that our dev server (RH6.2/2.2.14-5.0 with samba 2.0.6-9) can see all of the directories/files at the root of this share, but the prod server (RH8.0/2.4.18-19.8.0 with samba 2.2.x -> 2.2.7a-1) can not, it can however see a good portion of them (about 554). There doesn't seem to be anything in common about these "missing" directories...have checked time, size, etc...nada in common that we can determine. We did try quite a few crazy things, like deleting a few directories to see if we saw more, but nope. And I should note that the directories are there, you just can't see them...I can 'cd' into them with no problem. Oh, and I've tried going back to the earlier version of samba (same as on the dev machine - 2.0.6-9), but no luck. Any ideas? Anyone? Please... -J
Chris de Vidal
2003-Jan-30 22:05 UTC
[Samba] Re: Can't see all of the directories in a share with 2.2.7a-1 & RH8...but older version/kernel can
You're using smbmount, right? Sounds like you're seeing only 512 files.. do ls | wc -l. 512 is a nice round binary number and is probably what you're seeing. I don't have a direct answer, but I'm under the impression that there are many broken things in RedHat 8.0 (RedHat 7.0 also had many broken things.. cooincidence??). I wrote earlier this week about a RedHat 8-specific problem "cannot find name for group ID XXXXX". Others with RedHat 8 have shared similar stories, and I'm having no issues with the same exact version of Samba on a RedHat 7.3 box. I've been using RH8 on my main workstation since introduction and I've found other weirdness. I'm not near my RH8 box at the moment but when I get back to work tomorrow I'll test an SMB mount of a Windows NT box. I could try a 2000 box if necessary. I'll do a wc -l and see what happens. I do recall having no problems with a Samba server (2000+ directories) and I can confirm that tomorrow. First, try copying the smb.conf from the 6.2 box. Smbmount seems to read a few lines from it, and there is a chance you have differences. If you have a RedHat 7.3 box handy, install the same version of Samba (I agree it doesn't sound version-specific) and try it.. it'd probably work fine. I'll try to do the same. /dev/idal --- Joe Gerkman <joe.gerkman@gartner.com> wrote:> Hi all, > > Hoping someone might be able to steer me in the > right direction and/or > help me solve my problem. > > We have a number of Linux servers (RH6.2 -> RH8) > which connect to the > same share on a Win2000 Server. We've been working > kinda hard to get > everything upgraded to either RH7.3 or RH8.0 since > we rarely get the > opportunity. 2 similar servers (one dev, one prod) > access this same > window share, which has a large number of > directories (about 620-650), > and the share itself is for a 180GB volume. > > Just recently we discovered that our dev server > (RH6.2/2.2.14-5.0 with > samba 2.0.6-9) can see all of the directories/files > at the root of this > share, but the prod server (RH8.0/2.4.18-19.8.0 with > samba 2.2.x -> > 2.2.7a-1) can not, it can however see a good portion > of them (about > 554). > > There doesn't seem to be anything in common about > these "missing" > directories...have checked time, size, etc...nada in > common that we can > determine. We did try quite a few crazy things, > like deleting a few > directories to see if we saw more, but nope. And I > should note that the > directories are there, you just can't see them...I > can 'cd' into them > with no problem. > > Oh, and I've tried going back to the earlier version > of samba (same as > on the dev machine - 2.0.6-9), but no luck. > > Any ideas? Anyone? Please... > > -J > > -- > To unsubscribe from this list go to the following > URL and read the > instructions:http://lists.samba.org/mailman/listinfo/samba __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Gerkman,Joseph
2003-Jan-30 22:50 UTC
[Samba] RE: Can't see all of the directories in a share with 2.2.7a-1 & RH8...but older version/kernel can
Thanks Chris... I'll give those suggestions a try later on tonight and let you know...interested to see what you find too... Take care and thanks again... -J -----Original Message----- From: Chris de Vidal [mailto:cdevidal@yahoo.com] Sent: Thu 1/30/2003 2:05 PM To: joeg@gar.com Cc: samba@lists.samba.org Subject: Re: Can't see all of the directories in a share with 2.2.7a-1 & RH8...but older version/kernel can You're using smbmount, right? Sounds like you're seeing only 512 files.. do ls | wc -l. 512 is a nice round binary number and is probably what you're seeing. I don't have a direct answer, but I'm under the impression that there are many broken things in RedHat 8.0 (RedHat 7.0 also had many broken things.. cooincidence??). I wrote earlier this week about a RedHat 8-specific problem "cannot find name for group ID XXXXX". Others with RedHat 8 have shared similar stories, and I'm having no issues with the same exact version of Samba on a RedHat 7.3 box. I've been using RH8 on my main workstation since introduction and I've found other weirdness. I'm not near my RH8 box at the moment but when I get back to work tomorrow I'll test an SMB mount of a Windows NT box. I could try a 2000 box if necessary. I'll do a wc -l and see what happens. I do recall having no problems with a Samba server (2000+ directories) and I can confirm that tomorrow. First, try copying the smb.conf from the 6.2 box. Smbmount seems to read a few lines from it, and there is a chance you have differences. If you have a RedHat 7.3 box handy, install the same version of Samba (I agree it doesn't sound version-specific) and try it.. it'd probably work fine. I'll try to do the same. /dev/idal --- Joe Gerkman <joe.gerkman@gartner.com> wrote:> Hi all, > > Hoping someone might be able to steer me in the > right direction and/or > help me solve my problem. > > We have a number of Linux servers (RH6.2 -> RH8) > which connect to the > same share on a Win2000 Server. We've been working > kinda hard to get > everything upgraded to either RH7.3 or RH8.0 since > we rarely get the > opportunity. 2 similar servers (one dev, one prod) > access this same > window share, which has a large number of > directories (about 620-650), > and the share itself is for a 180GB volume. > > Just recently we discovered that our dev server > (RH6.2/2.2.14-5.0 with > samba 2.0.6-9) can see all of the directories/files > at the root of this > share, but the prod server (RH8.0/2.4.18-19.8.0 with > samba 2.2.x -> > 2.2.7a-1) can not, it can however see a good portion > of them (about > 554). > > There doesn't seem to be anything in common about > these "missing" > directories...have checked time, size, etc...nada in > common that we can > determine. We did try quite a few crazy things, > like deleting a few > directories to see if we saw more, but nope. And I > should note that the > directories are there, you just can't see them...I > can 'cd' into them > with no problem. > > Oh, and I've tried going back to the earlier version > of samba (same as > on the dev machine - 2.0.6-9), but no luck. > > Any ideas? Anyone? Please... > > -J > > -- > To unsubscribe from this list go to the following > URL and read the > instructions:http://lists.samba.org/mailman/listinfo/samba __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Chris de Vidal
2003-Jan-31 02:56 UTC
[Samba] Re: Can't see all of the directories in a share with 2.2.7a-1 & RH8...but older version/kernel can
To the list: We've been having some off-list conversation and I wanted to clue you in here. Our thread might be useful for posterity's (Google's?) sake. /dev/idal --- Joe Gerkman <joe.gerkman@gartner.com> wrote:> We're using the following command (from a shell > script):First (this isn't your fix but a nicety), it's easier when this is in /etc/fstab instead of with a script. It can be done automatically at boot (RedHat recognizes smbfs types and waits til network is started) or manually with the noauto option. Then, you can just run mount /blahblah/Data If you put your password in a credentials file (see below), you can protect your password. Again, not a fix for your issue but I thought you'd like to know that.> mount -f -t smbfs -oSecond, I had to look up -f. man mount: -f Causes everything to be done except for the actual system call; if it's not obvious, this ``fakes'' mount-ing the file system. This option is useful in conjunction with the -v flag to determine what the mount command is trying to do. It can also be used to add entries for devices that were mounted earlier with the -n option. I have little confidence this will fix your problem, but please try it without that flag anyway. It's just a shot in the dark...>username=xxxxxxx,password=xxxxxxx,uid=xxx,gid=xxxxxxxxx,fmask=770,dmask=770> //blahblah/Data /blahblah/DataAnother nicety; use this option with mount or in your fstab: credentials=/some/file/chown/root.root/chmod/600 with username = someuser password = somepassword inside that file. I like to put mine in /etc/smb_passwd and I run chown 0.0/chmod 600 against it. This lets you avoid putting the password in the (world-readable) fstab. Just a suggestion.> Same command we've been using for a while now (>1 > year)...but then > again, maybe one of the options could have been > deprecated???? > > Also, we installed Samba via the RPMs from > samba.org...but I've also > tried building from source (both SRPMs and plain > source)...neither > changed anything... > > Thanks again for your help Chris....Don't thank me until I can confirm or deny it from a RH 7.3 and 8.0 box to an NT and 2000 Pro (no Server/Advanced) share (: /dev/idal> On Thu, 2003-01-30 at 17:45, Chris de Vidal wrote: > > Whoa, really strange. Might be something you're > > doing, but I'll post my results to you and the > list > > tomorrow and we can see if it's a consistent > problem > > with RedHat 7+ and 2000. > > > > You are using smbmount or mount smbfs in fstab, > > correct? > > > > Also, how did you install Samba? I got an RPM > from > > Samba.org (well, an SRPM so I could tweak the > > ./configure line). > > > > /dev/idal > > > > --- Joe Gerkman <joe.gerkman@gartner.com> wrote: > > > Update... > > > > > > See 554 files on rh8.0/2.2.7a machine, 627 on > the > > > rh6.2/2.0.6-9 machine > > > (the latter being the true number). > > > > > > Tried copying over the same smb.conf file (which > I > > > thought I'd done > > > before)...no change/luck. Also tried the same > > > version of samba on a 7.3 > > > as well as a 7.1 box (same smb.conf file > too)...no > > > luck there > > > either...oh, all had 2.4.x kernel, well except > for > > > the working machine > > > (if that matters). > > > > > > On Thu, 2003-01-30 at 14:05, Chris de Vidal > wrote: > > > > You're using smbmount, right? Sounds like > you're > > > > seeing only 512 files.. do ls | wc -l. 512 is > a > > > nice > > > > round binary number and is probably what > you're > > > > seeing. > > > > > > > > I don't have a direct answer, but I'm under > the > > > > impression that there are many broken things > in > > > RedHat > > > > 8.0 (RedHat 7.0 also had many broken things.. > > > > cooincidence??). I wrote earlier this week > about > > > a > > > > RedHat 8-specific problem "cannot find name > for > > > group > > > > ID XXXXX". Others with RedHat 8 have shared > > > similar > > > > stories, and I'm having no issues with the > same > > > exact > > > > version of Samba on a RedHat 7.3 box. I've > been > > > using > > > > RH8 on my main workstation since introduction > and > > > I've > > > > found other weirdness. > > > > > > > > I'm not near my RH8 box at the moment but when > I > > > get > > > > back to work tomorrow I'll test an SMB mount > of a > > > > Windows NT box. I could try a 2000 box if > > > necessary. > > > > I'll do a wc -l and see what happens. I do > recall > > > > having no problems with a Samba server (2000+ > > > > directories) and I can confirm that tomorrow. > > > > > > > > First, try copying the smb.conf from the 6.2 > box. > > > > Smbmount seems to read a few lines from it, > and > > > there > > > > is a chance you have differences. > > > > > > > > If you have a RedHat 7.3 box handy, install > the > > > same > > > > version of Samba (I agree it doesn't sound > > > > version-specific) and try it.. it'd probably > work > > > > fine. I'll try to do the same. > > > > > > > > > > > > /dev/idal > > > > > > > > --- Joe Gerkman <joe.gerkman@gartner.com> > wrote: > > > > > Hi all, > > > > > > > > > > Hoping someone might be able to steer me in > the > > > > > right direction and/or > > > > > help me solve my problem. > > > > > > > > > > We have a number of Linux servers (RH6.2 -> > RH8) > > > > > which connect to the > > > > > same share on a Win2000 Server. We've been > > > working > > > > > kinda hard to get > > > > > everything upgraded to either RH7.3 or RH8.0 > > > since > > > > > we rarely get the > > > > > opportunity. 2 similar servers (one dev, > one > > > prod) > > > > > access this same > > > > > window share, which has a large number of > > > > > directories (about 620-650), > > > > > and the share itself is for a 180GB volume. > > > > > > > > > > Just recently we discovered that our dev > server > > > > > (RH6.2/2.2.14-5.0 with > > > > > samba 2.0.6-9) can see all of the > > > directories/files > > > > > at the root of this > > > > > share, but the prod server > (RH8.0/2.4.18-19.8.0 > > > with > > > > > samba 2.2.x -> > > > > > 2.2.7a-1) can not, it can however see a good > > > portion > > > > > of them (about > > > > > 554). > > > > > > > > > > There doesn't seem to be anything in common > > > about > > > > > these "missing" > > > > > directories...have checked time, size, > > > etc...nada in > > > > > common that we can > > > > > determine. We did try quite a few crazy > things, > > > > > like deleting a few > > > > > directories to see if we saw more, but nope. > > > > And I > > > > > should note that the > > > > > directories are there, you just can't see > > > them...I > > > > > can 'cd' into them > > > > > with no problem. > > > > > > > > > > Oh, and I've tried going back to the earlier > > > version > > > > > of samba (same as > > > > > on the dev machine - 2.0.6-9), but no luck. > > > > > > > > > > Any ideas? Anyone? Please... > > > > > > > > > > -J > > > > > > > > > > -- > > > > > To unsubscribe from this list go to the > > > following > > > > > URL and read the > > > > > instructions: > > > > http://lists.samba.org/mailman/listinfo/samba > > > > > > > > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Mail Plus - Powerful. Affordable. Sign > up > > > now. > > > > http://mailplus.yahoo.com > > > -- > > > Joe Gerkman > > > UNIX/Linux Systems Engineer > > > Gartner > > > 308 SW First Avenue > > > Portland, OR 97204 > > > phone: 503-241-8036 x427 > > > fax: 503-241-8716 > > > pager: 800-217-4529 -or- 8002174529@skytel.com > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > > http://mailplus.yahoo.com > -- > Joe Gerkman > UNIX/Linux Systems Engineer > Gartner > 308 SW First Avenue > Portland, OR 97204 > phone: 503-241-8036 x427 > fax: 503-241-8716 > pager: 800-217-4529 -or- 8002174529@skytel.com__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Reasonably Related Threads
- Can't see all of the directories in a share with 2.2.7a-1 &RH8...but older version/kernel can
- Winbind: login "cannot find name for group ID XXXXX" ONLY RedHat 8
- [Bug 51] Supplying more than 8 ports to connection tracking triggers unusual system behavior
- moving from RH8 to CentOS5.1
- RH8 guest: bad fs?