Re: CURRENT: supeblock hash failure - CURRENT wrecking disks

From: Kirk McKusick <mckusick_at_mckusick.com>
Date: Wed, 07 Aug 2019 16:01:25 -0000
> To: Enji Cooper <yaneurabeya_at_gmail.com>
> cc: "O. Hartmann" <ohartmann_at_walstatt.org>,
>         freebsd-current <freebsd-current_at_freebsd.org>, mckusick_at_mckusick.com
> Subject: Re: CURRENT: supeblock hash failure - CURRENT wrecking disks
> From: "Poul-Henning Kamp" <phk_at_phk.freebsd.dk>
> --------
> In message <39FB31E6-A8EC-484C-B297-39C19A787E44_at_gmail.com>, Enji Cooper writes
> :
> 
> There is an "interesting" failure-mechanism when you move a disk
> between 13/current and older systems which do not support ufs-hashes.
> 
> It will be prudent to make 11 and 12 clear the "use hashes" flags
> in the superblocks of all filesystems they mount R/W, to limit
> the amount havoc this will cause when people start playing with 13.
> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.

Both stable-11 and stable-12 clear the "use hashes" flags. If the disk
is moved back to a 13-head system they remain disabled until reenabled
by running fsck in interactive mode and requesting that they be enabled.

	Kirk McKusick
Received on Wed Aug 07 2019 - 14:01:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC