[linux-lvm] Replace Drive in RAID6

Roberto Fastec roberto.fastec at gmail.com
Wed Nov 3 06:41:15 UTC 2021


If you can't for some reasons succeed 
we @ https://www.RecuperoDatiRAIDFAsTec.it 
can recover it with very low flat rates

BEWARE if one drive went failed and ALL the drives have the same age
nothing can guarantee that none of the other drives is worn too

the HINT is to clone all the drives as we do on regular base 

then work with the clones

if you wanna exchange info's, the +39348******* number on the website has WhatsApp

Kind regards
Roberto G.
Technical Manager
https://www.RecuperoDatiRAIDFAsTec.it

⁣Ottieni BlueMail per Android ​

Il giorno 3 nov 2021, 07:06, alle ore 07:06, Adam Puleo <adam.puleo at icloud.com> ha scritto:
>Hello,
>
>One of my drives failed in my RAID6 and I’m trying to replace it
>without success.
>
>I’m trying to rebuild the failed drive (/dev/sda): lvchange --rebuild
>/dev/sda vg_data
>
>But I’m receiving the error: vg_data/lv_data must be active to perform
>this operation.
>
>I have tried to activate the logical volume without success.
>
>How do I go about activating the volume so that I can rebuild the
>failed drive?
>
>Thanks,
>-Adam
>
># lvs -a -o name,segtype,devices
>LV                       Type   Devices                                
>                                                           
>lv_data                  raid6 
>lv_data_rimage_0(0),lv_data_rimage_1(0),lv_data_rimage_2(0),lv_data_rimage_3(0),lv_data_rimage_4(0)
>[lv_data_rimage_0]       error                                         
>                                                           
>[lv_data_rimage_1]       linear /dev/sdc1(1)                           
>                                                           
>[lv_data_rimage_2]       linear /dev/sdb1(1)                           
>                                                           
>[lv_data_rimage_3]       linear /dev/sdf1(1)                           
>                                                           
>[lv_data_rimage_4]       linear /dev/sde1(2)                           
>                                                           
>[lv_data_rmeta_0]        error                                         
>                                                           
>[lv_data_rmeta_1]        linear /dev/sdc1(0)                           
>                                                           
>[lv_data_rmeta_2]        linear /dev/sdb1(0)                           
>                                                           
>[lv_data_rmeta_3]        linear /dev/sdf1(0)                           
>                                                           
>[lv_data_rmeta_4]        linear /dev/sde1(0)                           
>                                                           
>
># lvs -a
>LV                       VG            Attr       LSize   Pool Origin
>Data%  Meta%  Move Log Cpy%Sync Convert
>lv_data                  vg_data       rwi---r--- 990.00g              
>                                     
>[lv_data_rimage_0]       vg_data       vwi-a-r-r- 330.00g              
>                                     
>[lv_data_rimage_1]       vg_data       Iwi-a-r-r- 330.00g              
>                                     
>[lv_data_rimage_2]       vg_data       Iwi-a-r-r- 330.00g              
>                                     
>[lv_data_rimage_3]       vg_data       Iwi-a-r-r- 330.00g              
>                                     
>[lv_data_rimage_4]       vg_data       Iwi-a-r-r- 330.00g              
>                                     
>[lv_data_rmeta_0]        vg_data       ewi-a-r-r-   4.00m              
>                                     
>[lv_data_rmeta_1]        vg_data       ewi-a-r-r-   4.00m              
>                                     
>[lv_data_rmeta_2]        vg_data       ewi-a-r-r-   4.00m              
>                                     
>[lv_data_rmeta_3]        vg_data       ewi-a-r-r-   4.00m              
>                                     
>[lv_data_rmeta_4]        vg_data       ewi-a-r-r-   4.00m              
>                                     
>
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm at redhat.com
>https://listman.redhat.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20211103/55b7269f/attachment.htm>


More information about the linux-lvm mailing list