Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zpool status misreports device names #63

Closed
nedbass opened this issue Sep 14, 2010 · 3 comments
Closed

zpool status misreports device names #63

nedbass opened this issue Sep 14, 2010 · 3 comments

Comments

@nedbass
Copy link
Contributor

nedbass commented Sep 14, 2010

I created a zpool like this:

zpool create -f lustre-zeno1 \
    raidz2 A3 B3 C3 D3 E3 F3 G3 H3 I3 J3 \
    raidz2 A4 B4 C4 D4 E4 F4 G4 H4 I4 J4 \
    raidz2 A5 B5 C5 D5 E5 F5 G5 H5 I5 J5 \
    raidz2 A8 B8 C8 D8 E8 F8 G8 H8 I8 J8 \
    raidz2 A9 B9 C9 D9 E9 F9 G9 H9 I9 J9 \
    raidz2 A10 B10 C10 D10 E10 F10 G10 H10 I10 J10 \
    raidz2 A13 B13 C13 D13 E13 F13 G13 H13 I13 J13

But zpool status shows me this:

  pool: lustre-zeno1
 state: ONLINE
 scan: none requested
config:

        NAME        STATE     READ WRITE CKSUM
        lustre-zeno1  ONLINE       0     0     0
          -0        ONLINE       0     0     0
            sddg1   ONLINE       0     0     0
            sdbo1   ONLINE       0     0     0
            sdef1   ONLINE       0     0     0
            sdcs1   ONLINE       0     0     0
            sdz1    ONLINE       0     0     0
            sdc1    ONLINE       0     0     0
            sdba1   ONLINE       0     0     0
            sdk1    ONLINE       0     0     0
            sdce1   ONLINE       0     0     0
            sdak1   ONLINE       0     0     0
          -1        ONLINE       0     0     0
            sddw1   ONLINE       0     0     0
            sdcg1   ONLINE       0     0     0
            sden1   ONLINE       0     0     0
            sddk1   ONLINE       0     0     0
            sdap1   ONLINE       0     0     0
            sdi1    ONLINE       0     0     0
            sdbt1   ONLINE       0     0     0
            sdaa1   ONLINE       0     0     0
            sdcx1   ONLINE       0     0     0
            sdbc1   ONLINE       0     0     0
          -2        ONLINE       0     0     0
            sddy1   ONLINE       0     0     0
            sdcj1   ONLINE       0     0     0
            sdeo1   ONLINE       0     0     0
            sddo1   ONLINE       0     0     0
            sdas1   ONLINE       0     0     0
            sdj1    ONLINE       0     0     0
            sdbw1   ONLINE       0     0     0
            sdac1   ONLINE       0     0     0
            sdda1   ONLINE       0     0     0
            sdbf1   ONLINE       0     0     0
          -3        ONLINE       0     0     0
            sddf1   ONLINE       0     0     0
            sdbl1   ONLINE       0     0     0
            sded1   ONLINE       0     0     0
            sdcp1   ONLINE       0     0     0
            sdx1    ONLINE       0     0     0
            sdb1    ONLINE       0     0     0
            sdax1   ONLINE       0     0     0
            sdo1    ONLINE       0     0     0
            sdcb1   ONLINE       0     0     0
            sdah1   ONLINE       0     0     0
          -4        ONLINE       0     0     0
            sddu1   ONLINE       0     0     0
            sdcd1   ONLINE       0     0     0
            sdem1   ONLINE       0     0     0
            sddh1   ONLINE       0     0     0
            sdam1   ONLINE       0     0     0
            sdh1    ONLINE       0     0     0
            sdbq1   ONLINE       0     0     0
            sdy1    ONLINE       0     0     0
            sdcu1   ONLINE       0     0     0
            sdaz1   ONLINE       0     0     0
          -5        ONLINE       0     0     0
            sdea1   ONLINE       0     0     0
            sdcn1   ONLINE       0     0     0
            sdep1   ONLINE       0     0     0
            sddq1   ONLINE       0     0     0
            sdav1   ONLINE       0     0     0
            sdl1    ONLINE       0     0     0
            sdbz1   ONLINE       0     0     0
            sdaf1   ONLINE       0     0     0
            sddd1   ONLINE       0     0     0
            sdbj1   ONLINE       0     0     0
          -6        ONLINE       0     0     0
            sddc1   ONLINE       0     0     0
            sdbi1   ONLINE       0     0     0
            sdeb1   ONLINE       0     0     0
            sdcm1   ONLINE       0     0     0
            sdv1    ONLINE       0     0     0
            sda1    ONLINE       0     0     0
            sdau1   ONLINE       0     0     0
            sdm1    ONLINE       0     0     0
            sdby1   ONLINE       0     0     0
            sdae1   ONLINE       0     0     0

errors: No known data errors

The device names should be reported as specified on the zpool create command line, i.e. A3 not sddg1.

@JakeWharton
Copy link

Point 2 is covered by #57. Perhaps this issue ticket should only focus on the former.

@nedbass
Copy link
Contributor Author

nedbass commented Sep 14, 2010

Agreed, I revised the original summary and subject to reflect this.

@nedbass
Copy link
Contributor Author

nedbass commented Oct 4, 2010

To get the device names from /dev/disk/zpool we must use the -d option with 'zpool import'. Commit 83c62c9 takes care of removing the partition from the device names, so this issue can be closed.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants