public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] recover from disk crash lvm2 group
  @ 2008-08-02 12:02 99% ` Albert Hopkins
  0 siblings, 0 replies; 1+ results
From: Albert Hopkins @ 2008-08-02 12:02 UTC (permalink / raw
  To: gentoo-user

On Sat, 2008-08-02 at 12:49 +0300, Eray Aslan wrote:
> Hello,
> 
> One of the disks in a 3-disk lvm2 group crashed.  I would like to
> continue with the remaining 2 disks.  How to remove the non-functioning
> disk from the group and re-create the volume with 2 disks?  I have backups.
> 
> # vgremove home_vol
>   Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'.
>   Couldn't find all physical volumes for volume group home_vol.
>   Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'.
>   Couldn't find all physical volumes for volume group home_vol.
>   Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'.
>   Couldn't find all physical volumes for volume group home_vol.
>   Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'.
>   Couldn't find all physical volumes for volume group home_vol.
>   Volume group "home_vol" not found
> 
> # vgscan
>   Reading all physical volumes.  This may take a while...
>   Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'.
>   Couldn't find all physical volumes for volume group home_vol.
>   Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'.
>   Couldn't find all physical volumes for volume group home_vol.
>   Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'.
>   Couldn't find all physical volumes for volume group home_vol.
>   Couldn't find device with uuid 'D0HvzD-Vw9B-40Vd-NSn1-RW0d-SlVF-pM4jOH'.
>   Couldn't find all physical volumes for volume group home_vol.
>   Volume group "home_vol" not found

The lvm(8) man page lists the --partial flag.  A quick Google search
reveals:

vgchange -ay --partial

-a







^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-08-02  9:49     [gentoo-user] recover from disk crash lvm2 group Eray Aslan
2008-08-02 12:02 99% ` Albert Hopkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox