[DRBD-user] DRBD NFS mount

Marcel Kraan marcel at kraan.net
Sat Apr 28 11:54:59 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.


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?


More information about the drbd-user mailing list