Whamcloud - gitweb
LU-4154 lfsck: skip old lfsck test in DNE mode 06/8206/6
authorEmoly Liu <emoly.liu@intel.com>
Wed, 1 Jan 2014 11:35:25 +0000 (19:35 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 18 Jan 2014 05:49:11 +0000 (05:49 +0000)
commitb5f3d6db9200e369a68284a8ef85a1205e5905e1
tree4790d242c36971daec60b650f2de4cda5307f219
parenta97e4898ad9e0b65f457b01bdfa954f7d7cd272d
LU-4154 lfsck: skip old lfsck test in DNE mode

The old e2fsck/lfsck tool will not be allowed to run on a DNE
filesystem. This patch updates generate_db() to pass master MDS
parameters only, so that the old lfsck does not corrupt it or
delete all of the files on other MDTs.
This patch also fixes a typo in run_lfsck_remote().

Test-Parameters: mdscount=2 mdtcount=2 testlist=lfsck mdsfilesystemtype=ldiskfs mdtfilesystemtype=ldiskfs ostfilesystemtype=ldiskfs
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I28caaa5ca4a564aabbd6116325257c905ff22861
Reviewed-on: http://review.whamcloud.com/8206
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/test-framework.sh