Project

General

Profile

Actions

Bug #16431

open

zfs: zpool_import_missing_003_pos fails

Added by Andy Fiddaman 24 days ago.

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

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

This test fails because it deliberately damages a pool and imports it, and checks that its state is DEGRADED

log_fail 'testpool1: Incorrect health (ONLINE), ' 'expected (DEGRADED).'

However, the pool is indeed degraded but reporting as ONLINE:

  pool: testpool1
 state: ONLINE
status: One or more devices could not be used because the label is missing or
        invalid.  Sufficient replicas exist for the pool to continue
        functioning in a degraded state.
action: Replace the device using 'zpool replace'.
   see: http://illumos.org/msg/ZFS-8000-4J
  scan: none requested
config:

        NAME                        STATE     READ WRITE CKSUM
        testpool1                   ONLINE       0     0     0
          mirror-0                  ONLINE       0     0     0
            /dev_import-test/disk0  ONLINE       0     0     0
            /dev_import-test/disk1  ONLINE       0     0     0
            3922417693736508228     UNAVAIL      0     0     0  was /dev_import-test/disk2

errors: No known data errors

No data to display

Actions

Also available in: Atom PDF