- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Using Cifs & Samba, ls -l command is very slow
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
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
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
тАО03-13-2009 08:03 AM
тАО03-13-2009 08:03 AM
Using Cifs & Samba, ls -l command is very slow
We get several HP-UX servers running HPUX 11.00, 11.11 and 11.23 with Samba 2.0.7.2, Cifs A02.01.
A few months ago, we created samba shares to get access from Windows XpSP2 clients (with active directory) running Mks ToolKit without any problem.
But now it's very slow depending of the command used on the Windows client.
All requested patches have been installed.
Net use to create the drive is slow,
ls result is instantaneous,
ls -l takes very long time (30" for around 600 files).
Moreover the group is correctly printed, but the user looks like :
-rwxrwxrwa 1 S-1-5-21-3435912621-889146538-2557736640-1598 C3007\users
-rwxrwxrwa 1 S-1-5-21-3435912621-889146538-2557736640-1598 C3007\users
Many thanks for any ideas.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2009 04:51 PM
тАО03-13-2009 04:51 PM
Re: Using Cifs & Samba, ls -l command is very slow
Has some config changed recently?
What is in your /etc/resolv.conf and /etc/nsswitch.conf
Obviously ls only displays the file names, but adding the "-l" means the box has todig around for more info such as usernames.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 12:41 AM
тАО03-16-2009 12:41 AM
Re: Using Cifs & Samba, ls -l command is very slow
I suppose that Active dorectory configuration evolved but without having the proof.
There is no /etc/nsswitch.conf file and the content of /etc/resolv.conf looks like
domain xxx.be
nameserver aaa.bbb.ccc.ddd
nameserver aaa.bbb.ccc.eee
It looks like the Unix user called star_ux is not recognize and is replaced by S-1-5-21-3435912621-889146538-2557736640-1598
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 12:48 AM
тАО03-16-2009 12:48 AM
Re: Using Cifs & Samba, ls -l command is very slow
Copy the nsswitch.files to the nsswitch.conf.
# cp /etc/nsswitch.files /etc/nsswitch.conf
If you use dns, edit the the line
hosts: files
to
hosts: files [NOTFOUND=continue] dns
and try again to connect to the server
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2009 12:49 AM
тАО03-16-2009 12:49 AM
Re: Using Cifs & Samba, ls -l command is very slow
Please check below Thread, same issue but different "Scenario"
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1320830
Thanks,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 07:03 AM
тАО03-17-2009 07:03 AM
Re: Using Cifs & Samba, ls -l command is very slow
Unfortunately, no change.
I added the entry log level = 2 into [Global] section to get more details. The I just made the copy of one file and I was really surprised to see that it is doing several times the same operation, ie opening the file then closing it.
Why ?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2009 08:34 AM
тАО03-17-2009 08:34 AM
Re: Using Cifs & Samba, ls -l command is very slow
So if you have winbind configured, but "no nsswitch file" (from above). Then that is a problem. You will need nsswitch with "passwd files winbind" and "group files winbind".
However, your Samba 2.0.7 version is so old that it does not have winbind, so this problem should not be seen on that server.
Eric Roseme
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2009 03:06 AM
тАО04-06-2009 03:06 AM
Re: Using Cifs & Samba, ls -l command is very slow
After removing trusted relations ships between our AD server and the AD server of one of our clients, problems disappears.
Thanks.