[Gllug] LVM with failed disk

Ken Smith kens at kensnet.org
Fri Aug 3 19:59:34 UTC 2007


Andy Smith wrote:
> Hi Ken,
>
> On Fri, Aug 03, 2007 at 08:33:00PM +0100, Ken Smith wrote:
>   
>> The third of the three disks has failed. As far as I can tell (from 
>> /etc/lvm/backup/VolGoup00) the LV with / is actually on the first 
>> (intact) disk. The LV with /home is trashed as it spills onto the third 
>> disk, but its backed up elsewhere.
>> {snip}
>
> Try
>
> vgreduce --test --removemissing
>
> then drop the --test if you're happy.
>
> Cheers,
> Andy
>
>   

How does this look

# vgreduce --test --removemissing VolGroup00
  Test mode: Metadata will NOT be updated.
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg: read failed after 0 of 4096 at 500107771904: Input/output error
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 1024 at 500105150464: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  Couldn't find device with uuid '01qDBZ-b1Jq-v7TW-WALF-2gbT-k3SB-5lPGQz'.
  Couldn't find all physical volumes for volume group VolGroup00.
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  Couldn't find device with uuid '01qDBZ-b1Jq-v7TW-WALF-2gbT-k3SB-5lPGQz'.
  Couldn't find all physical volumes for volume group VolGroup00.
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  Couldn't find device with uuid '01qDBZ-b1Jq-v7TW-WALF-2gbT-k3SB-5lPGQz'.
  Couldn't find all physical volumes for volume group VolGroup00.
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  Couldn't find device with uuid '01qDBZ-b1Jq-v7TW-WALF-2gbT-k3SB-5lPGQz'.
  Couldn't find all physical volumes for volume group VolGroup00.
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  Couldn't find device with uuid '01qDBZ-b1Jq-v7TW-WALF-2gbT-k3SB-5lPGQz'.
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  Couldn't find device with uuid '01qDBZ-b1Jq-v7TW-WALF-2gbT-k3SB-5lPGQz'.
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  Couldn't find device with uuid '01qDBZ-b1Jq-v7TW-WALF-2gbT-k3SB-5lPGQz'.
  /dev/hdg: read failed after 0 of 4096 at 0: Input/output error
  /dev/hdg1: read failed after 0 of 2048 at 0: Input/output error
  Couldn't find device with uuid '01qDBZ-b1Jq-v7TW-WALF-2gbT-k3SB-5lPGQz'.
  Wrote out consistent volume group VolGroup00

:-)

Ken

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list