Re: [SLE] export lvm volumes with nfs on sles9 sp2
I'm using nfs to export read only. However, on there other server, I can 'see' everything, except the lvm mount.
Of course NFS can export lvm points. Assuming that your / is an LVM volume, just export / as usual.
/ 192.168.1.0/24(no_root_squash,ro,sync)
(/ is a 2.4 Tb LVM volume - nothing special to it) I don't have root lvm. Suppose my lvm point is /lvm and contains lots of sub dirs and files and the *real* directory /lvm is empty.
What I see on the nfs client is an empty /lvm directory, and and NOT the lot's of files and directories I should be seeing (and actually see, on the server locally and via samba). All non-lvm directories show up just fine. my exports on the server: / x.x.x.x(ro,no_root_squash,sync) fstab on client: x.x.x.x:/ /mnt/test nfs defaults 0 0 Result: all directories and files show up on client, except everything under (the three) lvm mount points. Ideas..? mj
On Mon, 12 Sep 2005 18:02:38 +0200, you wrote:
I'm using nfs to export read only. However, on there other server, I can 'see' everything, except the lvm mount.
Of course NFS can export lvm points. Assuming that your / is an LVM volume, just export / as usual.
/ 192.168.1.0/24(no_root_squash,ro,sync)
(/ is a 2.4 Tb LVM volume - nothing special to it) I don't have root lvm. Suppose my lvm point is /lvm and contains lots of sub dirs and files and the *real* directory /lvm is empty.
What I see on the nfs client is an empty /lvm directory, and and NOT the lot's of files and directories I should be seeing (and actually see, on the server locally and via samba). All non-lvm directories show up just fine.
my exports on the server: / x.x.x.x(ro,no_root_squash,sync)
fstab on client: x.x.x.x:/ /mnt/test nfs defaults 0 0
Result: all directories and files show up on client, except everything under (the three) lvm mount points.
Ideas..?
How odd. All the subdirs under an exported dir should also be exported - I'm not certain how one would _avoid_ it. Have you checked permissions and ownership? If I recall, the x permission on a dir controls the ability to cd into it and list it with ls. You specify defaults in your client fstab - what defaults have you set, anything unusual? Mike- -- Mornings: Evolution in action. Only the grumpy will survive. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments.
participants (2)
-
Michael W Cocke
-
mourik jan c heupink