[OpenIndiana-discuss] ZFS Pool configuration hanging around

Bernd Helber bernd at helber-it-services.com
Mon Jan 17 17:10:04 UTC 2011


Hi Michelle,

thanks for the Data.

lets try the most painless option. ;)

we will try to split the pool

c5t0d0 has to leave.. the pool.

so try a


zpool split backup junk

please keep in touch.

Oh and have a read bout it

http://www.c0t0d0s0.org/archives/6257-zpool-split-in-depth.html



Am 17.01.11 17:49, schrieb Michelle Knight:
> Thanks Bernd,
> 
> Here are the results... Note that there is a backup pool already mounted and 
> running.
> 
> I think that part of my problem is that I didn't know to write a new label to 
> a disk before putting it in another pool. I thought it was overwrite any 
> previous pool label.  I was obviously wrong ... as usual :-)
> 
> 
> mich at jaguar:/root# zpool import
>   pool: backup
>     id: 15407100200514227053
>  state: FAULTED
> status: One or more devices are missing from the system.
> action: The pool cannot be imported. Attach the missing
>         devices and try again.
>         The pool may be active on another system, but can be imported using
>         the '-f' flag.
>    see: http://www.sun.com/msg/ZFS-8000-3C
> config:
> 
>         backup        FAULTED  corrupted data
>           mirror-0    DEGRADED
>             c2t4d0p0  ONLINE
>             c5t0d0    UNAVAIL  cannot open
> 
> 
> mich at jaguar:/root# zpool list
> NAME     SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
> backup  1.36T   403G   989G    28%  1.00x  ONLINE  -
> data    4.06T  3.37T   710G    82%  1.00x  ONLINE  -
> rpool     37G  5.76G  31.2G    15%  1.00x  ONLINE  -
> 
> 
> mich at jaguar:/root# zpool status -v
>   pool: backup
>  state: ONLINE
>  scan: none requested
> config:
> 
>         NAME        STATE     READ WRITE CKSUM
>         backup      ONLINE       0     0     0
>           c3d0p0    ONLINE       0     0     0
> 
> errors: No known data errors
> 
>   pool: data
>  state: ONLINE
>  scan: scrub in progress since Mon Jan 17 05:47:29 2011
>     903G scanned out of 3.37T at 11.8M/s, 61h10m to go
>     0 repaired, 26.18% done
> config:
> 
>         NAME        STATE     READ WRITE CKSUM
>         data        ONLINE       0     0     0
>           raidz1-0  ONLINE       0     0     0
>             c2t2d0  ONLINE       0     0     0
>             c2t3d0  ONLINE       0     0     0
>             c2t4d0  ONLINE       0     0     0
> 
> errors: No known data errors
> 
>   pool: rpool
>  state: ONLINE
>  scan: scrub repaired 0 in 0h0m with 0 errors on Sun Jan  9 00:00:48 2011
> config:
> 
>         NAME          STATE     READ WRITE CKSUM
>         rpool         ONLINE       0     0     0
>           mirror-0    ONLINE       0     0     0
>             c2t0d0s0  ONLINE       0     0     0
>             c2t1d0s0  ONLINE       0     0     0
> 
> errors: No known data errors
> 
> 
> mich at jaguar:/root#  ls -alt /dev/zvol/rdsk/
> total 0
> drwxr-xr-x   2 root     sys            0 Jan 17 16:46 data
> drwxr-xr-x   2 root     sys            0 Jan 17 16:46 backup
> drwxr-xr-x   6 root     sys            0 Jan 17 11:39 rpool
> drwxr-xr-x   5 root     sys            0 Jan 17 11:39 .
> drwxr-xr-x   4 root     sys            0 Jan 17 11:39 ..
> 
> 
> mich at jaguar:/root# strings /etc/zfs/*.cache |grep backup
> backup
> backup
> 
> 
> mich at jaguar:/root# zdb -eubbcsL backup /root/zfs_corruption.txt
> backup
>         vdev_children: 1
>         version: 28
>         pool_guid: 17205833334062270750
>         name: 'backup'
>         state: 0
>         hostid: 9674
>         hostname: 'jaguar'
>         vdev_tree:
>             type: 'root'
>             id: 0
>             guid: 17205833334062270750
>             children[0]:
>                 type: 'disk'
>                 id: 0
>                 guid: 18092239325770842719
>                 phys_path: '/pci at 0,0/pci8086,244e at 1e/pci-
> ide at 2/ide at 0/cmdk at 0,0:q'
>                 whole_disk: 0
>                 metaslab_array: 30
>                 metaslab_shift: 33
>                 ashift: 9
>                 asize: 1500290482176
>                 is_log: 0
>                 create_txg: 4
>                 path: '/dev/dsk/c3d0p0'
>                 devid: 'id1,cmdk at AST31500541AS=____________6XW0PZRP/q'
> backup
>         vdev_children: 1
>         version: 28
>         pool_guid: 15407100200514227053
>         name: 'backup'
>         state: 0
>         hostid: 9674
>         hostname: 'jaguar'
>         vdev_tree:
>             type: 'root'
>             id: 0
>             guid: 15407100200514227053
>             children[0]:
>                 type: 'mirror'
>                 id: 0
>                 guid: 2906061634837600265
>                 metaslab_array: 30
>                 metaslab_shift: 34
>                 ashift: 9
>                 asize: 2000385474560
>                 is_log: 0
>                 create_txg: 4
>                 children[0]:
>                     type: 'disk'
>                     id: 0
>                     guid: 811848258959386073
>                     phys_path: 
> '/pci at 0,0/pci1458,5006 at 1a,7/hub at 4/storage at 3/disk at 0,0:q'
>                     whole_disk: 0
>                     DTL: 56
>                     create_txg: 4
>                     path: '/dev/dsk/c2t4d0p0'
>                     devid: 'id1,sd at SATA_____WDC_WD20EARS-00M_____WD-
> WMAZA0484508/q'
>                 children[1]:
>                     type: 'disk'
>                     id: 1
>                     guid: 17018755436284087347
>                     path: '/dev/dsk/c5t0d0s0'
>                     phys_path: 
> '/pci at 0,0/pci1458,5006 at 1a,7/hub at 4/storage at 2/disk at 0,0:a'
>                     whole_disk: 1
>                     DTL: 58
>                     create_txg: 4
> zdb:    Matched 2 pools - use pool GUID instead of pool name or 
>         pool name part of a dataset name to select pool
> 
> 
> 
> mich at jaguar:/root# less /root/zfs_corruption.txt
> /root/zfs_corruption.txt: No such file or directory
> 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss


-- 
with kind regards

 Bernd Helber

 phone  +49 7331 81982
 mobile +49 177 7494439

 Filsstraße 20
 73329
 Kuchen Fils

 mailto:bernd at helber-it-services.com
 http://helber-it-services.com

             _.-|-/\-._
          \-'          '-.
         /    /\    /\    \/
       \/  <    .  >  ./.  \/
   _   /  <         > /___\ |.
 .< \ /  <     /\    > ( #) |#)
   | |    <       /\   -.   __\
    \   <  <   V      > )./_._(\
   .)/\   <  <  .-     /  \_'_) )-..
       \  <   ./  /  > >       /._./
       /\   <  '-' >    >    /
         '-._ < v    >   _.-'
           / '-.______.·' \
                 \/

 ***********************************************************
 *This message has been scanned by DrWeb AV and Spamassassin



More information about the OpenIndiana-discuss mailing list