NFS3 over KVM-Guest don't map UnixACLs


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users NFS3 over KVM-Guest don't map UnixACLs
# 1  
Old 10-24-2012
[solved] NFS3 over KVM-Guest don't map UnixACLs

Hi,

I have an problem with ACLs over NFS3. The Problem is, when i mount a nfsshare from an KVMguest, the UnixACLs were not mapped too. I don't know why. But this is only when i have the NFSshares on an virtulamachine. When i do the same with ein real machine, ACLs work well.
You can see that:

mount from physical machine:
Code:
touch data.txt
rwrw--+ data.txt

mount from virtual machine:
Code:
touch data.txt
rw-r--  data.txt

When a say "mount" on both. The ACL-flage is set. Strange, very strange.
I've tested this with Ubuntu 12.04 64bit and Gentoo 64bit.

I've testet this with anoter storageformat (qcow2, raw), with virtio, SATA.
I've testet the filesystems ext4 and jfs. Every time the same. I feel pretty helpless.

Thanks a lot for help
Greetings darktux

Last edited by darktux; 02-10-2013 at 05:00 PM..
# 2  
Old 10-25-2012
Did all the supporting libraries and config files make it into the virtual machine?
No soft errors logged at mount time, either end?
# 3  
Old 12-14-2012
Quote:
Originally Posted by DGPickett
Did all the supporting libraries and config files make it into the virtual machine?
No soft errors logged at mount time, either end?
Yes, i've checked it again. And i can't found nothing.

I added these two lines to NFSserver in the fstab:

Code:
nfsd /proc/fs/nfsd nfsd auto,defaults,acl 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs auto,defaults,acl 0 0

and when i say mount:

Code:
nfsd on /proc/fs/nfsd type nfsd (rw,acl)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,acl)

And on the client i see under the mounted share also "acl" but it still not work.

Last edited by Scrutinizer; 12-14-2012 at 08:39 PM.. Reason: icode ====>>>>> code tags
# 4  
Old 12-18-2012
It looks pretty good. I wonder if they would mount right using nfs4 or SAMBA ? Gotta love the bleeding edge. Smilie
# 5  
Old 02-10-2013
I finally have the problem solved. It was a missing header line like this:
Code:
/export	*(acl,sync,no_subtree_check,fsid=0,rw)

Normaly this used only by nfs4, but nfs3 need the same for using acl's. And it has nothing to do with virtualization. On real hardware it worked because, the real hardware is managed with webmin. And webmin generated this line automaticly.

Greetings Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

KVM/Qemu allocated memory not showing in guest

So we have a RHEL 7.6 workstation with 128 gigs of ram. The OS sees all the ram and 80 cors (40 HT) We have 1 guest with 8 CPUs and 32gigs of ram running RHEL 7.6 workstation as well. We are trying to create another guest with 64 CPUs and 80 gigs of ram. We setup the system using... (0 Replies)
Discussion started by: joeg1484
0 Replies

2. Red Hat

How to export the KVM based guest VM as template or ovf or some other format ?

Hi All, I am new to the KVM virtualization. I have deployed and configured KVM in one of my server. I am using RHEL 6.5. Also I created the guest VM successfully and installed OS on it. Its up and running without any issues. Is there any way I can export the VM and import it in... (2 Replies)
Discussion started by: kalpeer
2 Replies

3. Red Hat

KVM - VM Guest

Background : - Need to create addition 40G storage for VM guest. 1. I have created new KVM - VM guest on RHEL 5.8 server hosting server. 2. Hosting server has occupied all size with LV and there is not space to create new LV. 3. I tried to achieve this requirement by creating 40G file size and... (1 Reply)
Discussion started by: Nats
1 Replies

4. UNIX for Advanced & Expert Users

Need commands to fetch Guest VM OS version from Xen and KVM

Im looking for the commands that can be executed to fetch the OS Version of the VMs running on the below Hypervisors. Xen (Not the citrix Xen server, but the Xen Sever hosted on a ubuntu Machine) KVM (0 Replies)
Discussion started by: ranvirsingh
0 Replies

5. UNIX for Advanced & Expert Users

[Solved] Cannot install KVM guest on CentOS/RedHat

Hi, I've a CentOS Server and I need to create KVM guest machine without X. /usr/sbin/virt-install --name server1 --ram 4000 --vcpus=8 --file=/srv/virtual/server1.img --file-size=20 --cdrom /tmp/server1.iso --mac=52:54:00:fd:48:7c The iso was created with cobbler... So, now the machine is... (5 Replies)
Discussion started by: hiddenshadow
5 Replies

6. Red Hat

Could not see virtual fc in KVM guest OS

Hi All, I have RHEL 5u4 physical system with 2 Qlogic fc cards. It hosts 2 KVM virtual machines which are also running RHEL 5u4 OS. After all these I have created a virutal HBA (refered in google) successfully on the base OS. But the same is not visible to guest OS. My question here is, ... (1 Reply)
Discussion started by: Vichu
1 Replies

7. Virtualization and Cloud Computing

KVM FC12 guest save not working ??

Howdy I am using Fedora12 with KVM, with XP64pro as a guest. Everything seems to be working just fine, BUT I can't Save. When I do instruction KVM to save, I get a continuing Saving display, but it continues for a long time until I finally terminate it due to boredom :) I have let it run for... (0 Replies)
Discussion started by: TJMan
0 Replies

8. Red Hat

Filesystems disappear on KVM guest machine after reboot.

Hello, I have a KVM system running on RHEL 5.4. It hosts 4 guest VMs. One of the guest host fails to get back the mounted filesystems after the system reboots. Does anyone have any idea what the issue could be? Regards, Mahive. (1 Reply)
Discussion started by: mahive
1 Replies
Login or Register to Ask a Question