Hi!
I was up until recently using a pure LVM for my storage, and today
switched it to a LVM + 3x loose partitions as a AUFS - and now my
previously fine NFS-setup stopped working.
I read that using NFS-mounts as a branch of the AUFS could be a problem,
but nothing about exporting an AUFS using NFS.
The setup is like this:
* datamania, storage server with AUFS and the NFS export:
[EMAIL PROTECTED]:~$ ifconfig|grep 'inet addr'|head -1
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
[EMAIL PROTECTED]:~$ grep /storage /proc/mounts
none /storage aufs
rw,xino=/vault/sdd/.aufs.xino,br:/vault/sdd=rw:/vault/sda=rw:/vault/hdc=rw:/vault/lvm=rw
0 0
[EMAIL PROTECTED]:~$ grep ^/storage/music /var/lib/nfs/etab
/storage/music
gullars(rw,async,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,acl,mapping=identity,anonuid=65534,anongid=65534)
[EMAIL PROTECTED]:~$ getent hosts gullars
192.168.0.2 gullars
[EMAIL PROTECTED]:~$ ls -ld /storage/{,music}
drwxrwxrwx 31 daxxar storage 104 2007-02-26 00:03 /storage/
drwxrwxrwx 440 daxxar storage 6 2007-02-25 20:26 /storage/music
* gullars, the server trying to mount the nfs:
[EMAIL PROTECTED]:~$ ifconfig|grep 'inet addr'|head -1
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
[EMAIL PROTECTED]:~$ getent hosts datamania
192.168.0.3 datamania
[EMAIL PROTECTED]:~$ grep ^datamania /etc/fstab
datamania:/storage/music /mnt/music nfs
auto,soft,intr,rsize=8192,wsize=8192,async,nfsvers=3,tcp 0 2
* now, trying to mount:
[EMAIL PROTECTED]:~$ sudo mount /mnt/music
mount: datamania:/storage/music failed, reason given by server:
Permission denied
* checking logs:
[EMAIL PROTECTED]:~$ tail -n 1 /var/log/daemon.log
Feb 26 04:39:23 localhost mountd[5094]: authenticated mount request from
gullars:926 for /storage/music (/storage/music)
No errors, no nothing. Anyone know what could cause this? I could be
wrong in assuming this is something related to aufs, but it worked fine
up until I switched. :-)
Thanks in advance!
Kindest regards, Jørgen P. Tjernø.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV