<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Andale Mono; font-size: 10pt; color: #000000'>ahh  -  didn't know that - assumed that it actually wrote out data to dhcpd.leases~ same as dhcpd.leases, just less frequently.  I did not know it moved dhcpd.leases to dhcpd.leases~  A move would fail, I think, unless dhcpd.leases~ was first deleted, so I see your point.<br><br><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Simon Hobson" <dhcp1@thehobsons.co.uk><br><b>To: </b>"Users of ISC DHCP" <dhcp-users@lists.isc.org><br><b>Sent: </b>Wednesday, February 22, 2012 4:25:02 PM<br><b>Subject: </b>Re: DHCP Failover and Performance<br><br>perl-list wrote:<br>>Perhaps not ... perhaps if you kept dhcpd.leases~ on the HARD disk <br>>.. dhcpd.leases on the RAM disk...  some clever symlinking could <br>>accomplish that.<br><br>No it wouldn't - it would be undone within an hour of setting it up.<br><br>The server writes out a new leases file once per hour (compiled in <br>default). It does this by writing a new version of the file, (if <br>successful) it then moves the current leases file to a different <br>name, and moves the new file to be the current leases file.<br>Any symlinks would be removed, at most within 2 hours. EG, if you <br>moved the leases file and symlinked it - then at the first refresh, <br>the symlink would be moved to be the backup and the live file would <br>not be symlinked elsewhere; and on the second refresh, the symlink <br>would be removed altogether.<br><br>-- <br>Simon Hobson<br><br>Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed<br>author Gladys Hobson. Novels - poetry - short stories - ideal as<br>Christmas stocking fillers. Some available as e-books.<br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users<br><br></blockquote><br></div></body></html>