You are not logged in.
On Machine A, i have a partitioned disk, with the following layout :
/dev/sda4 195G 126G 60G 68% /home
/dev/sda5 917G 716G 156G 83% /home/glow/data
/dev/sdb5 197G 53G 135G 28% /home/glow/data/MusiqueOn machine B, i want to mount the data directory with all it contains, including musique.
First it tried this in fstab:
arch:/home/glow/data /home/pi/data nfs defaults 0 0but then /home/pi/data/Musique was empty, so i've added a line for Musique on machine A /etc/exports and tried this on MachineB /etc/fstab :
arch:/home/glow/data /home/pi/data nfs defaults 0 0
arch:/home/glow/data/Musique /home/pi/data/Musique nfs defaults 0 0but then /home/pi/data/Musique was still empty
At last i've created an link to Musique in Musique on machine A :
[glow@GlowArch ~/data/Musique]$ ln -s ../Musique/ mountAnd than this worked !
arch:/home/glow/data /home/pi/data nfs defaults 0 0
arch:/home/glow/data/Musique/mount /home/pi/data/Musique nfs defaults 0 0But it is an ugly workaround, what am i doing wrong ?
Offline
Not reading the NFS wiki page. ![]()
Standard practice is to use bind mounts on the server, details on that page.
Offline