Thank you Willi, I will try that. Is there no way to failover the exports, or is there no point in doing that? Debian 6 seemed to have no trouble there..
2013/12/30 Willi Fehler <[email protected]>: > Hi Vincent, > > I think the lsb script is expecting the exports in /etc/exports. > Can you remove the export lines from crm and add them to /etc/exports? > > Regards - Willi > > Am 30.12.13 13:08, schrieb Vincent Pieper: > >> Hi, >> >> My new setup fails to start, syslog says this: >> >> Not starting NFS kernel daemon: no exports. ... >> >> What am I doing wrong? >> >> I use Debian Wheezy on both nodes, latest patch level. >> >> crm_mon: >> >> Failed actions: >> fs-nfs_start_0 (node=nfs01, call=89, rc=1, status=complete): unknown >> error >> nfs-kernel-server:0_monitor_10000 (node=nfs01, call=36803, rc=7, >> status=complete): not running >> nfs-common:0_monitor_10000 (node=nfs01, call=36807, rc=7, >> status=complete): not running >> fs-nfs_start_0 (node=nfs02, call=20116, rc=1, status=complete): >> unknown >> error >> nfs-kernel-server:1_monitor_10000 (node=nfs02, call=20145, rc=7, >> status=complete): not running >> >> This is my crm config dump: >> >> node nfs01 \ >> attributes standby="off" >> node nfs02 \ >> attributes standby="off" >> primitive drbd ocf:linbit:drbd \ >> params drbd_resource="drbd0" \ >> op start interval="0" timeout="240" \ >> op stop interval="0" timeout="100" \ >> op monitor interval="59s" role="Master" timeout="30s" \ >> op monitor interval="60s" role="Slave" timeout="30s" >> primitive exportfs-galadriel ocf:heartbeat:exportfs \ >> params directory="/mnt/exports" clientspec="192.168.10.100/32" >> fsid="galadriel" \ >> op start interval="0" timeout="40s" >> options="rw,async,no_subtree_check,no_root_squash" fsid="0" \ >> op monitor interval="10s" timeout="30s" \ >> op start interval="0" timeout="40s" \ >> op stop interval="0" timeout="40s" >> primitive failover-ip-cluster ocf:heartbeat:IPaddr \ >> params ip="192.168.10.200" nic="eth0" cidr_netmask="24" \ >> op monitor interval="30s" >> primitive fs-nfs ocf:heartbeat:Filesystem \ >> params device="/dev/drbd0" directory="/mnt/exports" fstype="ext4" >> \ >> op start interval="0" timeout="60" \ >> op stop interval="0" timeout="120" >> primitive nfs-common lsb:nfs-common \ >> op monitor interval="10s" timeout="30s" \ >> meta target-role="Started" >> primitive nfs-kernel-server lsb:nfs-kernel-server \ >> op monitor interval="10s" timeout="30s" \ >> meta target-role="Started" >> primitive ping ocf:pacemaker:ping \ >> params host_list="192.168.10.210" multiplier="100" name="ping" \ >> op monitor interval="20s" timeout="60s" \ >> op start interval="0" timeout="60s" >> primitive rcpbind lsb:rpcbind \ >> op monitor interval="10s" timeout="30s" >> group nfs nfs-common nfs-kernel-server >> group share-nfs fs-nfs exportfs-galadriel failover-ip-cluster \ >> meta target-role="Started" >> ms ms_drbd drbd \ >> meta master-max="1" master-node-max="1" clone-max="2" >> clone-node-max="1" notify="true" >> clone nfs_clone nfs \ >> meta globally-unique="false" target-role="Started" >> location share-nfs_on_connected_node share-nfs \ >> rule $id="share-nfs_on_connected_node-rule" -inf: not_defined >> ping >> or ping lte 0 >> colocation share-nfs_on_ms_drbd inf: share-nfs ms_drbd:Master >> order share-nfs_after_ms_drbd inf: ms_drbd:promote share-nfs:start >> property $id="cib-bootstrap-options" \ >> dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \ >> cluster-infrastructure="openais" \ >> expected-quorum-votes="2" \ >> stonith-enabled="false" \ >> no-quorum-policy="ignore" >> >> >> >> -- >> View this message in context: >> http://linux-ha.996297.n3.nabble.com/Pacemaker-not-starting-NFS-exports-tp15414.html >> Sent from the Linux-HA mailing list archive at Nabble.com. >> _______________________________________________ >> Linux-HA mailing list >> [email protected] >> http://lists.linux-ha.org/mailman/listinfo/linux-ha >> See also: http://linux-ha.org/ReportingProblems > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
