Project

General

Profile

Actions

Bug #2610

closed

Todo #2109: pfSense on FreeBSD 10.x

Whole-disk gmirror may break when upgraded to a FreeBSD 10.x base

Added by Jim Pingle over 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Operating System
Target version:
Start date:
08/26/2012
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:

Description

Due to various changes in geom and how things are checked, a whole-disk gmirror may break when the base OS is updated to FreeBSD 9.x. There are some installs out there that will probably be affected.

The most common workaround to let such a mirror keep functioning is to set this in loader.conf:
kern.geom.part.check_integrity=0

People who setup mirrors following the FreeBSD handbook (and our old instructions), may encounter such errors. I believe the way the installer creates a gmirror is OK, but it needs testing.

In 9.x a mirror created on disks after they were already active would be considered corrupt since the gmirror metadata resides over actual FS data at the end of the disk. However if the mirror is created before the filesystems, this may work out.

The better way in 9.x is to use gpt to setup the partitions, and then use gmirror to mirror the partitions rather than the whole disk, but that may not yet be needed if the current installer method still works.

Actions #1

Updated by Jim Pingle about 12 years ago

  • Parent task set to #2109
Actions #2

Updated by Renato Botelho about 11 years ago

  • Subject changed from Whole-disk gmirror may break when upgraded to a FreeBSD 9.x base to Whole-disk gmirror may break when upgraded to a FreeBSD 10.x base
Actions #3

Updated by Jim Pingle over 10 years ago

  • Status changed from New to Closed

Non-issue. Ran some tests and a gmirror installed using our installer gmirror option on 2.1.x or before upgraded OK, booted fine on 2.2. If someone hacked on an older style manual gmirror and hits issues they can use the sysctl mentioned above, though they really should wipe+reload with a proper mirror configuration.

Actions #4

Updated by Jim Pingle over 10 years ago

Another relevant bit of info: The installer option works OK on 2.2 as well.

Actions

Also available in: Atom PDF