I had a drive with an ext3 filesystem in an old p2 running RH8 storing
my mp3 files. I moved the drive into a USB enclosure attached to
a laptop running FC4. The laptop mounted the fs on /media/media
pretty much automatically. The problem is I can't export the
/media/media FS with samba to mount on a windows host. I can
export /media, and the xp box can see /media/cdrecorder, but
/media/media is invisible. I have the following in various config
files:
from mount:
automount(pid2427) on /net type autofs (rw,fd=4,pgrp=2427,minproto=2,maxproto=4)
/dev/sda1 on /media/media type ext3 (rw,nosuid,nodev,_netdev,user=jim)
in /etc/fstab:
/dev/sda1
/media/media
ext3 pamconsole,exec,noauto,managed 0 0
/dev/hdc
/media/cdrecorder
auto pamconsole,exec,noauto,managed 0 0
ls:
[root@linuxlaptop /]# ls -al /media
total 32
drwxr-xr-x 4 root root 4096 Mar 5 21:32 .
drwxr-xr-x 27 root root 4096 Mar 5 11:13 ..
drwxr-xr-x 2 root root 4096 Mar 5 11:14 cdrecorder
drwxrwxrwx 247 root root 8192 Mar 1 09:29 media
in smb.conf: ( I did have /media/media)
[media]
path = /media
writeable = yes
browseable = yes
valid users = jim
in /var/logs/samba/ (when path above was /media/media)
[2006/02/28 21:03:28, 0] smbd/service.c:make_connection_snum(615)
'/media/media' does not exist or is not a directory, when connecting to [media]
Since I have a copy of the files on my xp box now, I was thinking of
destroying the fs and recreating it, then putting all the data
back. I just find it very strange that with the above smb.conf, I
can mount /media as media on my xp box and I can see the cdrecorder
directory but I can't see the media directory.
Any advice on what might be wrong?
Thanks.