8 Replies Latest reply: Oct 21, 2013 2:26 PM by Cindys-Oracle RSS

    Zpool problem

    963889

      hello

      here is my problem (after disk replacement the state is still degraded)

      and also i cant detach the old disk

      can any one help me please

       

       

      turaneniq(root) #: zpool status -v |more

        pool: eniq_sp_1

      state: DEGRADED

      status: One or more devices has experienced an error resulting in data

        corruption. Applications may be affected.

      action: Restore the file in question if possible. Otherwise restore the

        entire pool from backup.

        see: http://www.sun.com/msg/ZFS-8000-8A

      scrub: resilver in progress for 0h4m, 1.92% done, 3h43m to go

      config:

       

        NAME STATE READ WRITE CKSUM

        eniq_sp_1 DEGRADED 0 0 0

        mirror ONLINE 0 0 0

        c2t0d0 ONLINE 0 0 0 1.83G resilvered

        c1t0d0 ONLINE 0 0 0

        mirror ONLINE 0 0 0

        c2t0d1 ONLINE 0 0 0 1.71G resilvered

        c1t0d1 ONLINE 0 0 0

        mirror ONLINE 0 0 0

        c2t0d2 ONLINE 0 0 0 2.06G resilvered

        c1t0d2 ONLINE 0 0 0

        mirror ONLINE 0 0 0

        c2t0d3 ONLINE 0 0 0 2.02G resilvered

        c1t0d3 ONLINE 0 0 0

        mirror ONLINE 0 0 0

        c2t0d4 ONLINE 0 0 0 2.05G resilvered

        c1t0d4 ONLINE 0 0 0

        mirror ONLINE 0 0 0

        c1t0d5 ONLINE 0 0 0

        c2t0d5 ONLINE 0 0 0 2.24G resilvered

        mirror DEGRADED 0 0 0

        c2t0d6 ONLINE 0 0 0 8.57M resilvered

        replacing DEGRADED 0 0 0

        c1t0d6s0/o FAULTED 0 0 0 corrupted data

        c1t0d6 ONLINE 0 0 0 4.37G resilvered

        mirror ONLINE 0 0 0

        c2t0d7 ONLINE 0 0 0 1.91G resilvered

        c1t0d7 ONLINE 0 0 0

        mirror ONLINE 0 0 0

        c2t0d8 ONLINE 0 0 0 1.85G resilvered

        c1t0d8 ONLINE 0 0 0

        mirror ONLINE 0 0 0

        c2t0d9 ONLINE 0 0 0 1.72G resilvered

        c1t0d9 ONLINE 0 0 0

        mirror ONLINE 0 0 0

        c2t0d10 ONLINE 0 0 0 1.87G resilvered

        c1t0d10 ONLINE 0 0 0

        mirror ONLINE 0 0 0

        c2t0d11 ONLINE 0 0 0 1.76G resilvered

        c1t0d11 ONLINE 0 0 0

       

      errors: Permanent errors have been detected in the following files:

       

        eniq_sp_1/dwh_main_dbspace@VIRTUAL_BACKUP_SNAP:/dbspace_dir_1/main_41.iq

      turaneniq(root) #:

        • 1. Re: Zpool problem
          Cindys-Oracle

          Can you provide the steps that you performed so far?

           

          Did you physically replace the bad disk and use the zpool replace command?

           

          Thanks, Cindy

          • 2. Re: Zpool problem
            963889

            hi

            i tried to detach the disk c1t0d6 first first but it's not working

            # zpool detach eniq_sp_1  c1t0d6

            cannot detach : no valid replicas

            then  the second step :

            1. shutdown the system

            2. replace the disk on the storage

            3. start the system (the zpool are mounted coreectly but Degraded) c1t0d6 unavailble

            4. # zpool replace  eniq_sp_1  c1t0d6

            that's all

             

            thank you for your response

            Taieb

            • 3. Re: Zpool problem
              Cindys-Oracle

              Hi,

               

              Something else went wrong on this system and with this pool because the other device resilvered as well

              and you have one corrupt file.

               

              Next, try to clear the pool errors, like this:

               

              # zpool clear eniq_sp_1

               

              See if that clears the pool errors.

              Next, you need to scrub the pool to make sure nothing else is amiss.

              After the scrub completes, see if zpool status is clear. If not, you might need to remove the corrupted file.

               

              Thanks, Cindy

              • 4. Re: Zpool problem
                963889

                thank you Cindy

                but after doing( (zpool clear eniq_sp_1)  --> then zpool start synchronization automatically

                and (zpool scrub eniq_sp_1) display the same file error and the same state of the Zpool

                 

                 

                Thanks,

                Taieb

                • 5. Re: Zpool problem
                  Cindys-Oracle

                  Sorry, I don't know what you mean by zpool start synchronization...

                   

                  Are you saying that the resilver of the failed disk starts again or all the disks resilver again?

                   

                  Thanks, Cindy

                  • 6. Re: Zpool problem
                    963889

                    yes, after clear the zpool, all the disks resilver again

                    and when we try to backup file systems, 

                    this backup of the file   eniq_sp_1/dwh_main_dbspace@VIRTUAL_BACKUP_SNAP:/dbspace_dir_1/main_41.iq

                    can't be terminated successfully

                    • 7. Re: Zpool problem
                      963889

                      hi

                      please tel me if the only solution is to destroy the Zpool

                      and recreate it and restore data

                      thanks

                      • 8. Re: Zpool problem
                        Cindys-Oracle

                        I think there are other solutions than destroying the pool, but if you wish, this is an option.

                         

                        You might try removing the corrupted file with the rm command.

                        Another idea is to try detaching this disk if the other disk in the mirrored pair is stable.

                         

                        Thanks, Cindy