Hi,

We've recently upgraded to Lustre 2.10.5 and to Robinhood to 3.1.4.
Processing changelogs fails now with "ERROR -25 opening changelog for MDT 
'scratch-MDT0000': Inappropriate ioctl for device". 

Could you please advice on how to solve this? Note that currently MGS and MDS 
are running on two separate servers.

----------------------------------------------------------------------------------
ChangeLog {
    MDT {
        mdt_name = "MDT0000";
        reader_id = "cl4";      # yes, it is cl4
    }
    force_polling    = ON ;
    polling_interval = 60s ;
}
----------------------------------------------------------------------------------

----------------------------------------------------------------------------------
# lfs changelog scratch-MDT0000 |head

8211574766 10OPEN  22:24:39.830737089 2018.11.27 0x43 t=[0x200033cc4:0x4e9d:0x0]
8211574767 13TRUNC 22:24:39.831280872 2018.11.27 0xe t=[0x200033cc4:0x4e9d:0x0]
8211574768 11CLOSE 22:24:39.831774075 2018.11.27 0x43 t=[0x200033cc4:0x4e9d:0x0]
8211574769 10OPEN  22:24:39.831950980 2018.11.27 0x43 t=[0x200033cc4:0x4e9e:0x0]
8211574770 13TRUNC 22:24:39.832289331 2018.11.27 0xe t=[0x200033cc4:0x4e9e:0x0]
8211574771 11CLOSE 22:24:39.832765269 2018.11.27 0x43 t=[0x200033cc4:0x4e9e:0x0]
8211574772 10OPEN  22:24:39.832942039 2018.11.27 0x43 t=[0x200033cc4:0x4e9f:0x0]
8211574773 13TRUNC 22:24:39.833241628 2018.11.27 0xe t=[0x200033cc4:0x4e9f:0x0]
8211574774 11CLOSE 22:24:39.833541406 2018.11.27 0x43 t=[0x200033cc4:0x4e9f:0x0]
8211574775 10OPEN  22:24:39.833672445 2018.11.27 0x43 t=[0x200033cc4:0x4ea0:0x0]
----------------------------------------------------------------------------------

----------------------------------------------------------------------------------
# robinhood --readlog

2018/11/28 07:20:54 [2070664/1] Main | EntryProcessor successfully initialized
2018/11/28 07:20:54 [2070664/1] ChangeLog | mdt[0] = MDT0000
2018/11/28 07:20:54 [2070664/1] ListMgr | Logged on to database 
'robinhood_scratch' successfully
2018/11/28 07:20:54 [2070664/1] ListMgr | SQL query: SET SESSION TRANSACTION 
ISOLATION LEVEL READ COMMITTED
2018/11/28 07:20:54 [2070664/3] ListMgr | Logged on to database 
'robinhood_scratch' successfully
2018/11/28 07:20:54 [2070664/3] ListMgr | SQL query: SET SESSION TRANSACTION 
ISOLATION LEVEL READ COMMITTED
2018/11/28 07:20:54 [2070664/5] ListMgr | Logged on to database 
'robinhood_scratch' successfully
2018/11/28 07:20:54 [2070664/5] ListMgr | SQL query: SET SESSION TRANSACTION 
ISOLATION LEVEL READ COMMITTED
2018/11/28 07:20:54 [2070664/6] ListMgr | Logged on to database 
'robinhood_scratch' successfully
2018/11/28 07:20:54 [2070664/6] ListMgr | SQL query: SET SESSION TRANSACTION 
ISOLATION LEVEL READ COMMITTED
2018/11/28 07:20:54 [2070664/4] ListMgr | Logged on to database 
'robinhood_scratch' successfully
2018/11/28 07:20:54 [2070664/4] ListMgr | SQL query: SET SESSION TRANSACTION 
ISOLATION LEVEL READ COMMITTED
2018/11/28 07:20:54 [2070664/1] ListMgr | SQL query: SELECT value FROM VARS 
WHERE varname='CL_LastCommit_MDT0000'
2018/11/28 07:20:54 [2070664/1] ListMgr | SQL query: SELECT value FROM VARS 
WHERE varname='ChangelogLastCommit_MDT0000'
2018/11/28 07:20:54 [2070664/1] ChangeLog | Opening chglog for scratch-MDT0000 
(start_rec=0)
2018/11/28 07:20:54 [2070664/1] ChangeLog | ERROR -25 opening changelog for MDT 
'scratch-MDT0000': Inappropriate ioctl for device
2018/11/28 07:20:54 [2070664/1] Main | Error 25 initializing ChangeLog Reader
----------------------------------------------------------------------------------


Thanks,
Lorand Szentannai

_______________________________________________
robinhood-support mailing list
robinhood-support@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/robinhood-support

Reply via email to