Dear all,
I've done some changes in my system, and it seems that somehow I broke samba.
The system (samba server) is up to date:
Code:
root@debian[/home/finotti]# infobash -v3
Host/Kernel/OS "debian" running Linux 3.9-5.slh.2-aptosid-amd64 x86_64 [ aptosid 2010-02 Κῆρες - kde-full - (201009132215) ]
CPU Info 2x Intel Core2 Duo E8400 @ 6144 KB cache flags( sse3 ht nx lm vmx ) clocked at [ 2999.842 MHz ]
Videocard NVIDIA G86 [GeForce 8500 GT] [ ]
Network cards NVIDIA MCP55
NVIDIA MCP55
Processes 163 | Uptime 12min | Memory 1137.3/7991.1MB | HDD WDC WD1500ADFD-0,WDC WD20EARX-00P,WDC WD1001FALS-0,WDC WD10EALS-00Z Size 4150GB (55%used) | Client Shell | Infobash v3.46
What I've done was replace the wireless with electric outlet ethernet adapter and replace the hardrive where the samba shares were.
The first should not be a problem, I suppose, as the network seems to be working fine. (I had to do some work to get my VPN client to work, but I think it has nothing to do with this problem.) For instance, I can SSH to the samba server without problems.
Now, I replaced the old hard disk with a larger one. I rsync'ed the old to the new, edited fstab to mount the new HD in the old mounting point ('/media/media').
Here is my fstab:
Code:
root@debian[/home/finotti]# cat /etc/fstab
UUID=B66C5FB26C5F6C5D /media/winroot ntfs noauto,users,ro,dmask=0022,fmask=0133,nls=utf8 0 0
UUID=7E10219544A78B1C /media/windata ntfs auto,users,ro,dmask=0022,fmask=0133,nls=utf8 0 0
UUID=2d1914be-f48c-4206-9c69-be2757799f13 / ext4 defaults,noatime,errors=remount-ro,barrier=0 0 1
UUID=fb653edb-ae25-47e9-a703-528f48fd1348 /home ext4 defaults,noatime,errors=remount-ro 0 2
UUID=1e2b1265-00f7-4a71-8a5a-c8e33345b06c /media/old_media ext4 auto,users,rw,exec,noatime 0 0
UUID=090b800b-f574-4199-828d-15ecdefc3d19 /media/data1 ext4 auto,users,rw,exec,noatime 0 0
#UUID=e64aefeb-c791-4f33-9aee-b6237aba4a3e /media/data2 ext4 auto,users,rw,exec,noatime 0 0
UUID=a96061c1-ee21-437e-a48b-672e0adf421e /media/media ext4 auto,users,rw,exec,noatime 0 0
UUID=7ded91e1-33f6-4cb4-8b26-2fcd6162a9f3 /media/new ext4 noauto,users,rw,exec,noatime 0 0
UUID=5bce49c4-f378-425e-a99b-85a9421cb9c0 none swap sw 0 0
UUID=af1beb43-583e-47f3-b703-53936abab6ef none swap sw 0 0
sshfs#finotti@agnesi.math.utk.edu:. /home/finotti/utk fuse user,noauto 0 0
(The old HD now mounts to old_media.) I can locally access the files in the new HD fine in the samba server.
Here is my smb.conf:
Code:
root@debian[/home/finotti]# cat /etc/samba/smb.conf
[global]
workgroup = MEDIA
netbios name = DEBIAN
security = share
[video]
comment = Video
path = /media/media/video
read only = Yes
guest ok = Yes
[ian]
comment = Ian
path = /media/media/ian
read only = Yes
guest ok = Yes
[pics]
comment = Pics
path = /media/media/pics
read only = Yes
guest ok = Yes
[music]
comment = Music
path = /media/media/music
read only = Yes
guest ok = Yes
I edited this file when I got the new HD, as I needed to remove some entries, so please let me know if I mistakenly took something out I shouldn't have.
I don't think I've ever touched smb.conf.master, but I can post it if it helps.
Now, I cannot access the shares in other computers. In another computer, if I try to access via XFCE file managers: Network -> Windows Network -> MEDIA (appears), I get "Failed to Open MEDIA. Failed to retrieve share list from server."
In the same computer (samba client) I have the following fstab:
Code:
root@debian[/home/finotti]# cat fstab
UUID=47EB-6C1A /media/disk1part3 vfat noauto,users,rw,quiet,umask=000,shortname=lower 0 0
UUID=aeebe673-4397-46f3-bfcb-8593ba97156d / ext4 defaults,relatime,errors=remount-ro 0 1
UUID=6104d553-3233-4d5e-b848-596d9eb98b25 /media/data ext4 auto,users,rw,exec,relatime 0 0
//debian/video /media/smb/video cifs users 0 0
//debian/tv2 /media/smb/tv2 cifs users 0 0
//debian/ian /media/smb/ian cifs users 0 0
//debian/music /media/smb/music cifs users 0 0
(Note the cifs entries.)
If I try to manually mount, I get:
Code:
# mount /media/smb/video
Password: [leave blank]
Unable to find suitable address.
My WDTV, which used to read the shares, cannot connect either. Oddly enough, my ASUS TF700T (android tablet) can connect to the shares just fine... (!!!!)
I've tried older kernels, where I am certain it worked before (with all my devices), but it did not help.
Here are some log files (trimmed after a "/etc/init.d/samba restart").
Code:
root@debian[/var/log/samba]# cat log.smbd
[snip]
2013/07/02 00:06:45, 0] smbd/server.c:1072(main)
smbd version 3.6.16 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
Code:
root@debian[/var/log/samba]# cat log.nmbd
[snip]
*****
[2013/07/02 00:06:42, 0] nmbd/nmbd.c:66(terminate)
Got SIGTERM: going down...
[2013/07/02 00:06:45, 0] nmbd/nmbd.c:861(main)
nmbd version 3.6.16 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2013/07/02 00:07:08, 0] nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
*****
Samba name server DEBIAN is now a local master browser for workgroup MEDIA on subnet 192.168.1.120
*****
Any suggestions would be greatly appreciated! Let me know if I can provide any further info.
Thanks,
Luis |