mounted directory repeating unexpected files and directories
Noah
admin2 at enabled.com
Thu Dec 18 21:50:08 UTC 2008
>
> My next suggestion for Noah, however, is to navigate to the shared
> directory with smbclient
>
> smbclient //servername/music -Unoah
>
> then cd Madona/Music and ls
>
> See if the correct file listing is returned.
okay Im back. Yes I got side tracked on other projects here at work.
that looks right! its the samba server acting up
smb: \> cd Madonna/Music
smb: \Madonna\Music\> ls
. D 0 Sun Sep 12 20:03:15 2004
.. D 0 Tue Apr 26 10:14:22 2005
Gone.mp3 AH 3345473 Tue Apr 11 09:06:03 2006
Impressive Instant.mp3 AH 3483214 Tue May 3 12:35:22 2005
Nobody's Perfect.mp3 AH 4814848 Tue May 3 12:35:22 2005
58437 blocks of size 16777216. 42128 blocks available
also changing to cifs didnt Help:
noah at tsunami:~$ mount
/dev/sdb1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.24-22-generic/volatile type tmpfs (rw)
//192.168.1.20/Music on /mnt/mybook-music type cifs (rw,mand)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
noah at tsunami:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hdb1
UUID=e0b6f66b-b3f6-44f4-b5b6-e2cfb6e32048 / ext3
defaults,errors=remount-ro 0 1
# /dev/hdb5
UUID=e1d2239f-b911-4ee2-848e-6bcb3672104d none swap sw
0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto,exec 0
0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto,exec 0
0
#//192.168.1.20/Music /mnt/mybook-music smbfs
userid=noah,passwd=<password>,rw 0 0
//192.168.1.20/Music /mnt/mybook-music cifs
userid=noah,passwd=<password>,rw 0 0
noah at tsunami:~$ ls /mnt/mybook-music/Madonna/Music | wc -l
2273
noah at tsunami:~$ ls /mnt/mybook-music/ | wc -l
2273
noah at tsunami:~$ ls -ld /mnt/mybook-music/Madonna/Music
drwxr-xr-x 2078 noah noah 0 2008-12-17 17:19 /mnt/mybook-music/Madonna/Music
noah at tsunami:~$
>
> That way, you will know if there is something strange happening on the
> samba server, or if this is all some strange kernel bug with a
> subdirectory name that's the same as a share name (or the name of the
> directory with is shared,, this is all so confusing)
>
>
More information about the ubuntu-users
mailing list