Project

General

Profile

Bug #4080

zpool clear fails to clear pool

Added by Christopher Siden over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2013-08-27
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Analysis by George Wilson:

Yesterday I hit an issue that caused the pool to suspend. After fixing the
issue I tried to resume the I/Os by issuing a 'spool clear' on the pool. This
failed indicating the pool was suspended. It never even tried to resume the
I/Os. Investigating this failure I found this:

static void
zfs_ioctl_init(void)
{
<snip>
        zfs_ioctl_register_pool(ZFS_IOC_CLEAR, zfs_ioc_clear,
            zfs_secpolicy_config, B_TRUE, POOL_CHECK_SUSPENDED);

The fact that the clear action is checking to see if the pool is suspended is
wrong.


Related issues

Related to illumos gate - Bug #8477: Assertion failed in vdev_state_dirty(): spa_writeable(spa)Closed2017-07-10

Actions

History

#1

Updated by Christopher Siden over 6 years ago

  • Status changed from In Progress to Closed
commit 22e30981d82a0b6dc89253596ededafae8655e00
Author: George Wilson <george.wilson@delphix.com>
Date:   Thu Aug 29 11:56:49 2013

    3954 metaslabs continue to load even after hitting zfs_mg_alloc_failure limit
    4080 zpool clear fails to clear pool
    4081 need zfs_mg_noalloc_threshold
    Reviewed by: Adam Leventhal <ahl@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>
#2

Updated by Ezomori Nozomu over 2 years ago

  • Related to Bug #8477: Assertion failed in vdev_state_dirty(): spa_writeable(spa) added

Also available in: Atom PDF