Hope someone can show us the light here to get basic file purging working with
robinhood 2.5.5 . I think before getting purging working we need to fix a
problem with the databases not getting new files updated.
We have changelog enabled on our lustre system. All we are wanting to do is
purge files that are 14 days old from a directory /lustre2/scratch
I am having some confusion on when and what gets entered into the mysql
database so things do not appear to be working as expected. For instance..
We perform an initial robinhood scan
robinhood -S -O and we can see the files with rbh-report -D -P
/lustre2/robinhood/test
[root@hous0162 ~]# rbh-report -D -P /lustre2/robinhood/test/
Using config file '/etc/robinhood.d/tmpfs/lustre2.conf'.
filter path: /lustre2/robinhood/test/
type, size, user, group, purge class,
path
file, 0, 1378, 512, scratch,
/lustre2/robinhood/test/bar
dir, 4.00 KB, 1378, 512, [ignored],
/lustre2/robinhood/test
Total: 2 entries, 4096 bytes (4.00 KB)
Now, if I make a new file it does not show up in rbh-report. What's going on?
[root@hous0162 test]# head -c 2M < /dev/urandom > blah
[root@hous0162 test]# ls -lart
total 1036
drwxrwxrwt 6 1378 512 4096 May 19 06:29 ..
-rw-r--r-- 1 1378 512 0 May 19 06:35 bar
-rw-r--r-- 1 1378 512 206 May 19 06:43 qbz
-rw-r--r-- 1 root root 2097152 May 19 06:46 blah
drwxr-xr-x 2 1378 512 4096 May 19 06:46 .
[root@hous0162 test]# rbh-report -D -P /lustre2/robinhood/test/
Using config file '/etc/robinhood.d/tmpfs/lustre2.conf'.
filter path: /lustre2/robinhood/test/
type, size, user, group, purge class,
path
file, 0, 1378, 512, scratch,
/lustre2/robinhood/test/bar
dir, 4.00 KB, 1378, 512, [ignored],
/lustre2/robinhood/test
Total: 2 entries, 4096 bytes (4.00 KB)
We start robinhood after doing the initial scan with these parameters
/usr/sbin/robinhood --purge -d -f /etc/robinhood.d/tmpfs/lustre2.conf -p
/var/run/rbh.lustre2
If I stop the daemon and run the scan the file blah will show up but not as it
is created.
Thanks.
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support