NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/44972: raidctl -R doesn't seem to work



>Number:         44972
>Category:       kern
>Synopsis:       raidctl -R doesn't seem to work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 16 22:00:00 +0000 2011
>Originator:     YAMAMOTO Takashi
>Release:        NetBSD current
>Organization:
        
>Environment:
        
        
System: NetBSD current
Architecture: x86_64
Machine: amd64
>Description:
        raidctl -R doesn't start reconstruction.

>How-To-Repeat:
        after raidctl -C, raidctl -I, and raidctl -i, do the following.

ushi% sudo raidctl -s raid1
Components:
            /dev/dk0: optimal
            /dev/dk1: optimal
No spares.
Component label for /dev/dk0:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 2011051702, Mod Counter: 135
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 1565564672
   RAID Level: 1
   Autoconfig: No
   Root partition: No
   Last configured as: raid1
Component label for /dev/dk1:
   Row: 0, Column: 1, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 2011051702, Mod Counter: 135
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 1565564672
   RAID Level: 1
   Autoconfig: No
   Root partition: No
   Last configured as: raid1
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 0% complete.
Copyback is 100% complete.
ushi% sudo raidctl -f /dev/dk1 raid1    # i did this during the raid init 
ushi% sudo raidctl -s raid1
Components:
            /dev/dk0: optimal
            /dev/dk1: failed
No spares.
Component label for /dev/dk0:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 2011051702, Mod Counter: 140
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 1565564672
   RAID Level: 1
   Autoconfig: No
   Root partition: No
   Last configured as: raid1
/dev/dk1 status is: failed.  Skipping label.
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
ushi% sudo raidctl -R /dev/dk1 raid1
ushi% sudo raidctl -s raid1
Components:
            /dev/dk0: optimal
            /dev/dk1: failed
No spares.
Component label for /dev/dk0:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 2011051702, Mod Counter: 144
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 1565564672
   RAID Level: 1
   Autoconfig: No
   Root partition: No
   Last configured as: raid1
/dev/dk1 status is: failed.  Skipping label.
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
ushi% sudo raidctl -R /dev/dk1 raid1
ushi% sudo raidctl -s raid1
Components:
            /dev/dk0: optimal
            /dev/dk1: failed
No spares.
Component label for /dev/dk0:
   Row: 0, Column: 0, Num Rows: 1, Num Columns: 2
   Version: 2, Serial Number: 2011051702, Mod Counter: 148
   Clean: No, Status: 0
   sectPerSU: 128, SUsPerPU: 1, SUsPerRU: 1
   Queue size: 100, blocksize: 512, numBlocks: 1565564672
   RAID Level: 1
   Autoconfig: No
   Root partition: No
   Last configured as: raid1
/dev/dk1 status is: failed.  Skipping label.
Parity status: clean
Reconstruction is 100% complete.
Parity Re-write is 100% complete.
Copyback is 100% complete.
ushi% dmesg|tail
raid1: RAID Level 1
raid1: Components: /dev/dk0 /dev/dk1
raid1: Total Sectors: 5860531968 (2861587 MB)
raid1: GPT GUID: 497d5c1c-7fff-11e0-b07b-0015170bebef
dk2 at raid1: 497d5c30-7fff-11e0-b07b-0015170bebef
dk2: 5860530911 blocks at 1024, type: ffs
Could not verify parity
raid1: Error re-writing parity (1)!
wd3: mbr partition exceeds disk size
raid1: rebuilding: dk_lookup on device: /dev/dk1 failed: 16!
ushi% 

>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index