Find the answer to your Linux question:
Results 1 to 10 of 10
Hello Getting error as follows. # vgscan -v Wiping cache of LVM-capable devices Wiping internal VG cache Reading all physical volumes. This may take a while... Finding all volume groups ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2012
    Posts
    18

    Physical Volume Detect Error


    Hello Getting error as follows.

    # vgscan -v
    Wiping cache of LVM-capable devices
    Wiping internal VG cache
    Reading all physical volumes. This may take a while...
    Finding all volume groups
    Finding volume group "VolGroup00"
    Couldn't find device with uuid 'UPkdKc-Ki6u-5GUf-BY8u-WABy-xxxx-xxxxxx'.
    Couldn't find device with uuid 'bJaD2H-hx8h-dmD5-AgAk-R-xxxx-xxxxxx'.
    Couldn't find device with uuid 'eh2fqQ-RjQZ-eLOc-jVnL-xxxx-xxxx-xxxxxx'.
    There are 3 physical volumes missing.
    Found volume group "VolGroup00" using metadata type lvm2


    Using Red Hat 5.5. Any suggestions if these can be detected
    Thanks

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,377
    Three physical discs of that vg are missing.
    Did you remove them?
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Oct 2012
    Posts
    18
    No I did not remove.

    what does the "vgreduce --removemissing " do.

    Is there a way to attach them back.

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,377
    Depends if they are still there.
    What does this command tell:
    Code:
    blkid
    Also look for disk related errors in
    Code:
    dmesg
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Oct 2012
    Posts
    18
    # blkid
    /dev/mapper/VolGroup00-LogVolSwap: TYPE="swap"
    /dev/mapper/VolGroup00-LogVolVar: UUID="afc3fbbe-9331-4e8f-a285-6acb55a0cec8" TYPE="ext3"
    /dev/mapper/VolGroup00-LogVolTmp: UUID="f3ba88f7-4491-4e39-b4f5-96a0aa8f0ce9" TYPE="ext3"
    /dev/mapper/VolGroup00-LogVolRoot: UUID="6e6e8a5d-0277-4153-ac53-eead948a0f53" TYPE="ext3"
    /dev/sda1: LABEL="/boot" UUID="39cefed5-95f0-4ef2-a533-cffe4e38e26f" TYPE="ext3"
    /dev/hdc: LABEL="VMware Tools" TYPE="iso9660"
    /dev/VolGroup00/LogVolRoot: UUID="6e6e8a5d-0277-4153-ac53-eead948a0f53" TYPE="ext3"
    /dev/VolGroup00/LogVolSwap: TYPE="swap"

  6. #6
    Just Joined!
    Join Date
    Oct 2012
    Posts
    18
    # dmesg | grep -i error
    hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
    hdc: drive_cmd: error=0x04 { AbortedCommand }
    pvs[6650] general protection rip:436720 rsp:7fff7eb6d970 error:0
    # dmesg | grep -i disk
    VFS: Disk quotas dquot_6.5.1
    md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
    Vendor: VMware Model: Virtual disk Rev: 1.0
    sd 0:0:0:0: Attached scsi disk sda
    Vendor: VMware Model: Virtual disk Rev: 1.0
    sd 0:0:1:0: Attached scsi disk sdb
    Vendor: VMware Model: Virtual disk Rev: 1.0
    sd 0:0:2:0: Attached scsi disk sdc

  7. #7
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,377
    It seems, there is only one physical disk and one partition.

    How many disks/partition does this machine have?
    Did you modify the lvm config or partition table or bios config?
    Is there maybe a disk failure?
    You must always face the curtain with a bow.

  8. #8
    Just Joined!
    Join Date
    Oct 2012
    Posts
    18
    I deleted a partition as we had to modify the block size which was at default.

    # fdisk -l

    Disk /dev/sda: 42.9 GB, 42949672960 bytes
    255 heads, 63 sectors/track, 5221 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 131 1052226 83 Linux
    /dev/sda2 132 5221 40885425 8e Linux LVM

    Disk /dev/sdb: 107.3 GB, 107374182400 bytes
    255 heads, 63 sectors/track, 13054 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 7296 58605088+ 8e Linux LVM

    Disk /dev/sdc: 21.4 GB, 21474836480 bytes
    255 heads, 63 sectors/track, 2610 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdc1 1 2610 20964793+ 8e Linux LVM

  9. #9
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,377
    Hmm,
    by doing so the uuid probably changed.
    The strange thing is, that it says three uuids changed, but you only modified one partition.

    Which partitions should be in that vg? sda1, sdb1, sdc1?
    You must always face the curtain with a bow.

  10. #10
    Just Joined!
    Join Date
    Oct 2012
    Posts
    18
    Needed 2 under sdb
    SO sda1, sdb1, sdb2 and sdc1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •