[DRBD-user] DRBD NFS mount

Marcel Kraan marcel at kraan.net
Tue May 1 17:34:46 CEST 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


The NFS fix was easy.

i started the rpcidmap on all the clients that uses the nfs mount.

This is what i did on the clients machine (not on the ifs server)

chkconfig rpcidmapd on
service rpcidmapd start
service nfs restart

umount /datastore
mount storage:/datastore /datastore
( could also do mount -a when you have it in your fstab )

Now it works again.

Marcel Kraan




On 28 apr. 2012, at 20:38, David Coulson wrote:

> can you give the specifics of the fix? Someone else may encounter the same issue.
> 
> On 4/28/12 2:19 PM, Marcel Kraan wrote:
>> i fixed the problem
>> 
>> there was an error in the settings
>> On 28 apr. 2012, at 11:54, Marcel Kraan wrote:
>> 
>>> Hello All,
>>> 
>>> I'am marcel kraan
>>> I lost all my users during a NFS mount?
>>> 
>>> i like to mount my  /datastore  /dev/drbd0 as NFS
>>> /dev/drbd0 on /datastore type ext4 (rw)
>>> my Primary/Secondary are working perfect.
>>> 
>>> So i created a NFS share on my Primary for now
>>> /etc/exports
>>> /datastore/main 192.168.123.0/255.255.255.0(rw,no_root_squash,no_all_squash,sync)
>>> 
>>> 
>>> server1 (primary)
>>> root at kvm1 datastore]# ls -al main/
>>> total 258363156
>>> drwxrwxrwx 2 root   root          4096 Apr 28 10:41 .
>>> drwxrwxrwx 5 root   root          4096 Apr 26 23:37 ..
>>> -rwxrwxrwx 1 root   root    4423129088 Apr 27 01:17 CentOS-6.2-x86_64-bin-DVD1.iso
>>> -rwxrwxrwx 1 root   root    3125673984 Apr 27 01:20 CentOs6.img
>>> -rwxrwxrwx 1 root   root   21223178241 Apr 27 01:38 CentOS.disk.xm
>>> -rwxrwxrwx 1 root   root  220433590918 Apr 27 05:16 CentOSx64-Backup.img
>>> -rwxrwxrwx 1 marcel users  15649734656 Apr 27 05:32 MyHostmon3.qcow
>>> -rw-r--r-- 1 marcel users            0 Apr 28 10:41 test.marcel
>>> 
>>> 
>>> 
>>> server2
>>> mount 192.168.123.61:/datastore/main /datastore
>>> 
>>> [root at kvm2 datastore]# ls -al
>>> total 258363156
>>> drwxrwxrwx   2 4294967294 4294967294         4096 Apr 28 10:41 .
>>> dr-xr-xr-x. 26 root       root               4096 Apr 28 11:33 ..
>>> -rwxrwxrwx   1 4294967294 4294967294   4423129088 Apr 27 01:17 CentOS-6.2-x86_64-bin-DVD1.iso
>>> -rwxrwxrwx   1 4294967294 4294967294   3125673984 Apr 27 01:20 CentOs6.img
>>> -rwxrwxrwx   1 4294967294 4294967294  21223178241 Apr 27 01:38 CentOS.disk.xm
>>> -rwxrwxrwx   1 4294967294 4294967294 220433590918 Apr 27 05:16 CentOSx64-Backup.img
>>> -rwxrwxrwx   1 4294967294 4294967294  15649734656 Apr 27 05:32 MyHostmon3.qcow
>>> -rw-r--r--   1 4294967294 4294967294            0 Apr 28 10:41 test.marcel
>>> 
>>> 
>>> anyone know why i can't mount it as NFS RW?
>>> _______________________________________________
>>> drbd-user mailing list
>>> drbd-user at lists.linbit.com
>>> http://lists.linbit.com/mailman/listinfo/drbd-user
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user




More information about the drbd-user mailing list