Invalid Argument Error When DHCP Tries To Backup The dhcpd.leases File During Startup In A Cluster

  • 7006578
  • 04-Aug-2010
  • 27-Apr-2012


Novell Cluster Services
Novell DHCP
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2


After configuring a clustered dhcp resource (on an NSS volume), the following error is encountered in /var/log/messages during load of the resource (and startup of the dhcpd daemon):

ERROR:  Can't backup lease database /media/nss/VOLNAME/var/lib/dhcp/db/dhcpd.leases to /media/nss/VOLNAME/var/lib/dhcp/db/dhcpd.leases~
When trying to follow the resolution instructions below, the following error may be encountered:


As per the documentation, section 8.3.3 item number 9, the volume must have hardlinks enabled.  To do this, all cluster nodes must be current, active members, and must be at the same software patch level (NSS). Then the following commands need to be run:
  1. nsscon
  2. nss /ZLSSUpgradeCurrentVolumeMediaFormat=<volumeName>
  3. nss /Hardlinks=<volumeName>
  4. Offline and online the resource
If the above were executed correctly, and took effect, then the following commands should execute without issue:
  1. cd /media/nss/volumeName
  2. touch testfile.txt
  3. ln testfile.txt testlink.txt
  4. unlink testlink.txt
  5. rm testfile.txt
If you receive the error "20888" when trying to run "ZLSSUpgradeCurrentVolumeMediaFormat=<volumeName>"; insure that all cluster nodes are up and running cluster services.  If even one node is not, you will receive this error.