Our vBulletin migration is complete.
Welcome vBulletin users! All content and user information from the Micro Focus Forums (vBulletin) site has been migrated to this site. READ MORE.
raronson
New Member.
572 views

Can I delete old rfl files?

I got an alert today when the filesystem on the host with most of my edirectory replicas was at 91% capacity. When I investigated I found hundreds of roll forward logs going back to last February 8 in the dib/nds.rfl subdirectory. I don't know why they go back to that specific day. I must have enabled the rfl function that day or I must of cleaned up the logs. TOday I tried to clean up by using dsbk with the -a without success. I tried a number of combinations of the command and in each case I got an error that looks like this

[INDENT]Command line -b -f /dsback/dsback -l /dsback/dsback.log -e XXXXXXXXXX[/INDENT]
[INDENT]Processing command line[/INDENT]
[INDENT]Command line error![/INDENT]
[INDENT]Run "DSBK help" to get command line help.[/INDENT]
[INDENT]DSBK error! -1[/INDENT]
I couldn't find a lot of info on the topic beyond the very fine manual. Anyone have any suggestions?

Thanks
[INDENT=2][/INDENT]
Labels (1)
0 Likes
4 Replies
Knowledge Partner
Knowledge Partner

Re: Can I delete old rfl files?

Just to be clear, which version of eDirectory are you using?

The option to clean up old RFL files is new in eDirectory 9.0, and my
notes from the beta back in 2015 indicate that I tested it and it worked
when I ran a backup, but I only used it when doing a backup. It is
possible it will only work while running a backup.

From those notes:


#To cleanup old RFL files, append the 'backup' command with '-a' (with
either full or incremental backup):

dsbk backup -i -f
/var/opt/novell/eDirectory/nts211tree0/nts211a/backup/$(date
+%Y%m%d%H%M%S).backup -l
/var/opt/novell/eDirectory/nts211tree0/nts211a/backup/$(date
+%Y%m%d%H%M%S).log -e $(date +%Y%m%d%H%M%S) -t -a


Other options may include expanding the filesystem (usually pretty easy)
making a new partition with a new filesysstem and, while stopped, moving
data there and remounting it to the current location, or even finding
better files to cleanup (ndsd.log, or NDO.01, or the like).

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.
0 Likes
Knowledge Partner
Knowledge Partner

Re: Can I delete old rfl files?

raronson;2493080 wrote:
I got an alert today when the filesystem on the host with most of my edirectory replicas was at 91% capacity. When I investigated I found hundreds of roll forward logs going back to last February 8 in the dib/nds.rfl subdirectory. I don't know why they go back to that specific day. I must have enabled the rfl function that day or I must of cleaned up the logs. TOday I tried to clean up by using dsbk with the -a without success. I tried a number of combinations of the command and in each case I got an error that looks like this

[INDENT]Command line -b -f /dsback/dsback -l /dsback/dsback.log -e XXXXXXXXXX[/INDENT]
[INDENT]Processing command line[/INDENT]
[INDENT]Command line error![/INDENT]
[INDENT]Run "DSBK help" to get command line help.[/INDENT]
[INDENT]DSBK error! -1[/INDENT]
I couldn't find a lot of info on the topic beyond the very fine manual. Anyone have any suggestions?

Thanks
[INDENT=2][/INDENT]


Previous to eDir 9, you were supposed to run a dsbk report which would list the RFL file currently in use. Then you were supposed to check with your backup software to see which RFL files were safely backed up to the backup system. Then you could create a list of RFL files that you no longer needed on disk, and could remove those yourself.
0 Likes
raronson
New Member.

Re: Can I delete old rfl files?

Thanks very much. This host is running OES which was upgraded in place multiple times.

Rpm is reporting eDirectory 9.1.0
rpm -qa |grep -i edir
novell-edirectory-tsands-9.1.0-4.78.x86_64
novell-edirectory-cefinstrument-9.1.0-0.6.4.13.x86_64
novell-edirectory-openslp-9.1.0-28.11.x86_64
novell-edirectory-jclnt-9.1.0-7.30.x86_64
novell-edirectory-ldap-extensions-9.1.0-4.7.x86_64
novell-edirectory-libxerces-c-3.1.1-0.12.7.x86_64
novell-edirectory-ldapserver-9.1.0-4.39.x86_64
novell-edirectory-xdaslog-conf-9.1.0-0.13.6.x86_64
novell-edirectory-dsmerge-9.1.0-4.41.x86_64
novell-edirectory-log4cxx-9.1.0-0.10.0.12.15.x86_64
novell-edirectory-netsnmp-9.1.0-26.11.x86_64
patterns-oes-novell-edirectory-12-18.1.x86_64
novell-edirectory-filesystem-9.1.0-4.7.x86_64
novell-edirectory-tsands-32bit-9.1.0-4.78.x86_64
novell-edirectory-jclient-9.1.0-7.30.x86_64
novell-migration-edirectory-9.1.0-0.80.29.x86_64
yast2-novell-edirectory-2.18.1-23.2.noarch
novell-edirectory-openssl-9.1.0-5.6.x86_64
novell-edirectory-xdasinstrument-9.1.0-0.6.14.11.x86_64
novell-edirectory-passstore-9.1.0-0.11.30.x86_64
novell-edirectory-json-9.1.0-0.11.11.x86_64
novell-edirectory-xdaslog-9.1.0-0.6.16.6.x86_64
novell-edirectory-dsi-9.1.0-11.21.x86_64
novell-edirectory-objbackup-tool-9.1.0-4.78.x86_64
novell-plugin-edir-extended-3.0.3-1.17.noarch

I'll check on your suggestions.
0 Likes
raronson
New Member.

Re: Can I delete old rfl files?

The backup command ran using your syntax but it left all the rfl files in place. I didn't have a time to spend on more troubleshooting. Based on your suggestions I did a manual cleanup of the files.

Thanks
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.