Project

General

Profile

Bug #1949

crash during reguid causes stale config

Added by George Wilson over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Start date:
2012-01-05
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

If the machine crashes during a spa reguid operation after the new guid has been synced to all labels, but before the cached config has been updated then the next time the pool is opened the stale config will cause vdev_validate() to think the labels on the vdevs are corrupt (wrong guid).

History

#1

Updated by Albert Lee over 7 years ago

  • Project changed from site to illumos gate
#2

Updated by Eric Schrock over 7 years ago

  • Status changed from New to Resolved

changeset: 13573:72c96cded60f
tag: tip
user: George Wilson <>
date: Mon Jan 23 19:08:40 2012 -0800

description:
1949 crash during reguid causes stale config
1953 allow and unallow missing from zpool history since removal of pyzfs
1955 sderr kstat should expand when a LUN is expanded
Reviewed by: Adam Leventhal <>
Reviewed by: Matt Ahrens <>
Reviewed by: Eric Schrock <>
Reviewed by: Bill Pijewski <>
Reviewed by: Richard Lowe <>
Reviewed by: Garrett D'Amore <>
Reviewed by: Dan McDonald <>
Reviewed by: Steve Gonczi <>
Approved by: Eric Schrock <>

modified:
usr/src/lib/libzfs/common/libzfs_dataset.c
usr/src/uts/common/fs/zfs/spa.c
usr/src/uts/common/fs/zfs/sys/vdev.h
usr/src/uts/common/fs/zfs/vdev.c
usr/src/uts/common/io/scsi/targets/sd.c

Also available in: Atom PDF