Project

General

Profile

Bug #12887

TRIM changes rpool disk ID from c4t2d0 to c4t1d0

Added by Carsten Endres about 2 months ago. Updated about 1 month ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Not sure whether this is a bug, but rather strange:

Prior to running a trim, my zpool status showed my rpool disk as c4t2d0. Following a zpool trim rpool, zpool status shows rpool as c4t1d0. System has 4 SSDs.

OmniOS r34 fully updated fresh install.

Last login: Sat Jun 20 16:35:32 2020 from 192.168.1.47
OmniOS 5.11     omnios-r151034-b35d9a8b4a       May 2020
XXX@omniosce:~$ zpool status -t
  pool: rpool
 state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
        still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
        the pool may no longer be accessible by software that does not support
        the features. See zpool-features(5) for details.
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c4t2d0    ONLINE       0     0     0  (untrimmed)

errors: No known data errors
XXX@omniosce:~$ pfexec zpool upgrade rpool
This system supports ZFS pool feature flags.

Enabled the following features on 'rpool':
  allocation_classes
  resilver_defer
  encryption
  bookmark_v2
  userobj_accounting
  project_quota
  log_spacemap

XXX@omniosce:~$ zpool status -t
  pool: rpool
 state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c4t2d0    ONLINE       0     0     0  (untrimmed)

errors: No known data errors
XXX@omniosce:~$ pfexec zpool trim rpool
XXX@omniosce:~$ zpool status -t
  pool: rpool
 state: ONLINE
  scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c4t1d0    ONLINE       0     0     0  (28% trimmed, started at Sat Jun 20 16:39:42 2020)

XXX@omniosce:~$ cfgadm
Ap_Id                          Type         Receptacle   Occupant     Condition
sata1/0::dsk/c4t0d0            disk         connected    configured   ok
sata1/1::dsk/c4t1d0            disk         connected    configured   ok
sata1/2::dsk/c4t2d0            disk         connected    configured   ok
sata1/3::dsk/c4t3d0            disk         connected    configured   ok

XXX@omniosce:~$ pfexec format
Searching for disks...done

c4t3d0: configured with capacity of 119.23GB

AVAILABLE DISK SELECTIONS:
       0. c4t0d0 <ATA-MTFDDAK1T9TCB- D0MU071 cyl 59799 alt 2 hd 224 sec 280>
          /pci@0,0/pci17aa,30a1@1f,2/disk@0,0
       1. c4t1d0 <INTEL-SSDSC2KB019T8-XCV10120-1.75TB>
          /pci@0,0/pci17aa,30a1@1f,2/disk@1,0
       2. c4t2d0 <INTEL-SSDSC2BA200G3T-5DV1DL06-186.31GB>
          /pci@0,0/pci17aa,30a1@1f,2/disk@2,0
       3. c4t3d0 <ATA-SAMSUNGMMCRE28G-CH1Q cyl 15564 alt 2 hd 255 sec 63>
          /pci@0,0/pci17aa,30a1@1f,2/disk@3,0
Specify disk (enter its number):

History

#1

Updated by Joshua M. Clulow about 1 month ago

  • Project changed from site to illumos gate

Also available in: Atom PDF