[mythtv-users] Semi-OT - NFS mounting issues.
Roger Heflin
rogerheflin at gmail.com
Thu Dec 4 03:31:31 UTC 2008
> Client System:
> ###################################################################################
> OpenSuse 11.0
> mythtv at livingroom:/mnt> uname -a
> Linux livingroom 2.6.25.18-0.2-pae #1 SMP 2008-10-21 16:30:26 +0200
> i686 i686 i386 GNU/Linux
>
> mythtv at livingroom:/etc> cat fstab
> /dev/disk/by-id/scsi-SATA_WDC_WD800BB-00DWD-WCAHL6377371-part1 swap
> swap defaults 0 0
> /dev/disk/by-id/scsi-SATA_WDC_WD800BB-00DWD-WCAHL6377371-part2 /
> ext3 acl,user_xattr 1 1
> proc /proc proc defaults 0 0
> sysfs /sys sysfs noauto 0 0
> debugfs /sys/kernel/debug debugfs noauto 0 0
> usbfs /proc/bus/usb usbfs noauto 0 0
> devpts /dev/pts devpts mode=0620,gid=5 0 0
> 192.168.15.26:/mnt/myth /mnt/myth nfs
> rw,tcp,timeo=150 0 0
> 192.168.15.26:/mnt/myth2 /mnt/myth2 nfs
> rw,tcp,timeo=150 0 0
> 192.168.15.26:/mnt/hundie /mnt/hundie nfs
> rw,tcp,timeo=150 0 0
> 192.168.15.26:/mnt/onesixty /mnt/onesixty nfs
> rw,tcp,timeo=150 0 0
> #192.168.15.26:/mnt/wd640a /mnt/wd640a nfs
> rw,tcp,timeo=150 0 0
> #192.168.15.26:/mnt/wd640b /mnt/wd640b nfs
> rw,tcp,timeo=150 0 0
> #192.168.15.26:/mnt/wd640c /mnt/wd640c nfs
> rw,tcp,timeo=150 0 0
> #192.168.15.26:/mnt/wd640d /mnt/wd640d nfs
> rw,tcp,timeo=150 0 0
>
Suggestion, replace the rw,tcp,timeo=150 with just "defaults"
and don't try to set any options at all.
Also do a "cat /proc/mounts" after you mount things to see what
the machines things it is mounted as.
And do check /var/log/messages to see if there are any messages
around NFS.
> mythtv at livingroom:/mnt> ls -l
> total 36
> drwxrwxrwx 10 root root 4096 2008-11-27 04:36 hundie
> drwxrwxrwx 4 root root 92 2008-11-14 07:16 myth
> drwxrwxrwx 5 root root 16384 2008-11-27 03:34 myth2
> drwxrwxrwx 10 root root 150 2008-11-27 04:37 onesixty
> drwxr-xr-x 2 root root 4096 2008-11-08 02:32 wd640a
> drwxr-xr-x 2 root root 4096 2008-11-08 02:32 wd640b
> drwxr-xr-x 2 root root 4096 2008-11-08 02:32 wd640c
> drwxr-xr-x 2 root root 4096 2008-11-08 02:32 wd640d
>
And also check permissions, you can set the permission on /mnt/wd640d
on the client end before the mount and on the "." directory of the
filesystem to be mounted, if you mount a directory that is more
restrictive the more restrictive permissions are the ones used.
Given the above permissions and trying to create a file as a non-root
user in one of those directories it should fail, but the error may not
be correct as to exactly why it is failing.
More information about the mythtv-users
mailing list