Project

General

Profile

Bug #8618

assertion failed when renaming the root filesystem

Added by Alan Somers about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2017-09-06
Due date:
% Done:

0%

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

Description

Trying to "zfs rename" the root filesystem should fail, according to the rootpool_003_neg test. However, it fails by triggering an assertion in libzfs, not by returning any sensible error code. On FreeBSD, renaming the root filesystem works just fine, so I'm not sure why it should be disallowed by the test suite. In any case, asserting is always bad behavior:

$ sudo zfs rename rpool/ROOT rpool/newfs
assertion failed for thread 0xfede2a40, thread-id 1: !clp->cl_alldependents, file ../common/libzfs_changelist.c, line 499

This is on OmniOS using the OpenZFS kernel built from 0ef125dcb26572fff77004ee336090e8e3e5ac12, at March-20-2017.

No data to display

Also available in: Atom PDF