Project

General

Profile

Actions

Bug #1305

open

`zfs diff` freezes entire system, forces reboot

Added by Nick Zivkovic over 10 years ago. Updated over 10 years ago.

Status:
Feedback
Priority:
High
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2011-07-29
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

Doing a `zfs diff` on two snapshots within the same data-set on rpool causes the entire system to freeze. ssh access from this point is impossible. No further interaction is possible, until the system reboots itself, or is rebooted by me.

A subsequent `zpool scrub` reveals no corruption.

It may be relevant that this dataset is nested within another dataset (i.e. rpool/ds0/ds1; I'm diffing ds1@004 and ds1@005)

Strangely, only this single dataset is affected, as other datasets seem to be diffing just fine.

Also, diffing two specific snapshots always causes the freeze before the command emits any output. However diffing two other snapshots causes the freeze after the command emits ~25 lines of output.

I am marking this as high priority as someone could unwittingly bring a production system down by doing a single `zfs diff`.

System specs

os: Open Indiana 147
arch: i386
zpool ver: 28
zfs ver: 5
storage: 60GB SSD (OCZ)
dedup: enabled
compression: enabled (global)

Actions

Also available in: Atom PDF