Whamcloud - gitweb
LU-2571 lfsck: run lfsck on server node
authorEmoly Liu <emoly.liu@intel.com>
Tue, 5 Feb 2013 14:27:06 +0000 (22:27 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 19 Mar 2013 05:41:23 +0000 (01:41 -0400)
commit4d5bc3e5e74c3c2fc01cf51570ed8cee3521fd72
tree55f3ec03b81086aff1e914be055887b57aa17e2f
parent6e704244293aec98b39b8243fb2d13e2a8c9b674
LU-2571 lfsck: run lfsck on server node

Usually we run e2fsck on OST and MDS nodes, and run lfsck on clients,
but it's not necessary to install e2fsprogs rpm on clients.
So, if lfsck is not found on client, we will try server node instead.

Test-Parameters: testlist=lfsck
Signed-off-by: Liu Ying <emoly.liu@intel.com>
Change-Id: I3979dc0236e81163f3283eac3148c36c8ddccf63
Reviewed-on: http://review.whamcloud.com/5139
Tested-by: Hudson
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/lfsck.sh
lustre/tests/test-framework.sh