[Lustre-discuss] OST targets not mountable after disabling/enabling MMP

Andreas Dilger andreas.dilger at oracle.com
Mon Aug 9 08:15:48 PDT 2010


On 2010-08-09, at 11:12, Edward Walter wrote:
> Using 'tune2fs -f -E clear-mmp' causes tune2fs to segfault:
> tune2fs 1.40.11.sun1 (17-June-2008)
> 
> Bad options specified.
> 
> Extended options are separated by commas, and may take an argument which
>        is set off by an equals ('=') sign.
> 
> Valid extended options are:
>        stride=<RAID per-disk chunk size in blocks>
>        stripe-width=<RAID stride*data disks in blocks>
>        test_fs
>        ^test_fs
> Segmentation fault
> 
> Did you use a newer version of tune2fs/e2fsprogs?  Our current version is e2fsprogs-1.40.11.sun1-0redhat.  Do you know if it's safe to rev up versions on e2fsprogs while running an older lustre kernel revision (1.6.6)?

Running newer e2fsprogs is OK, and in fact a lot of issues w.r.t. MMP were fixed in newer releases.

> Ken Hornstein wrote:
>>> This gives me an MMP error though:
>>> [root at oss-0-25 log]# tune2fs -E clear-mmp /dev/sdd
>>> tune2fs 1.40.11.sun1 (17-June-2008)
>>> tune2fs: MMP: appears fsck currently being run on the filesystem while 
>>> trying to open /dev/sdd
>>> Couldn't find valid filesystem superblock.
>>> 
>> 
>> Oh, I forgot ... did you try adding the -f flag?  E.g.:
>> 
>> # tune2fs -f -E clear-mmp /dev/sdd
>> 
>> According to the tune2fs man page, when you use clear-mmp, you also need
>> the -f flag.  Still being able to mount the filesystm read-only would
>> make sense to me, since that wouldn't affect fsck being run.
>> 
>> --Ken
>> 
>> 
> 
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss


Cheers, Andreas
--
Andreas Dilger
Lustre Technical Lead
Oracle Corporation Canada Inc.




More information about the lustre-discuss mailing list