updated log message and included remove device mapper links code