Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 576686

Summary: vgck appears to do nothing
Product: Red Hat Enterprise Linux 5 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: LVM and device-mapper development team <lvm-team>
Status: CLOSED DUPLICATE QA Contact: Corey Marthaler <cmarthal>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: agk, dwysocha, heinzm, iannis, jbrassow, mbroz, prockai
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-23 15:34:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Corey Marthaler 2010-03-24 20:27:07 UTC
Description of problem:
We have this cmd and a man page for it but when I attempt to use it nothing appears to happen.

[root@hayes-01 ~]# vgck hayes

[root@hayes-01 ~]# echo $?
0

[root@hayes-01 ~]# lvs -a -o +devices
  LV       VG         Attr   LSize  Origin Snap%  Move Log Copy%  Convert Devices              
  LogVol00 VolGroup00 -wi-ao 64.56G                                       /dev/sda2(0)         
  LogVol01 VolGroup00 -wi-ao  9.81G                                       /dev/sda2(2066)      
  bar      foo        -wi-a-  7.00T                                       /dev/etherd/e1.1p1(0)
  bar      foo        -wi-a-  7.00T                                       /dev/etherd/e1.1p2(0)
  bar      foo        -wi-a-  7.00T                                       /dev/etherd/e1.1p3(0)

[root@hayes-01 ~]# dd if=/dev/zero of=/dev/etherd/e1.1p2 count=5
5+0 records in
5+0 records out
2560 bytes (2.6 kB) copied, 0.000447 seconds, 5.7 MB/s

[root@hayes-01 ~]# pvscan
  Couldn't find device with uuid 's120lz-OHaL-sxZo-QSud-3VMp-Ko1Q-fCpxxc'.
  Couldn't find device with uuid 's120lz-OHaL-sxZo-QSud-3VMp-Ko1Q-fCpxxc'.
  PV /dev/etherd/e1.1p1   VG foo          lvm2 [2.96 TB / 0    free]
  PV unknown device       VG foo          lvm2 [2.96 TB / 0    free]
  PV /dev/etherd/e1.1p3   VG foo          lvm2 [2.96 TB / 1.87 TB free]
  PV /dev/sda2            VG VolGroup00   lvm2 [74.38 GB / 0    free]
  Total: 4 [2.94 TB] / in use: 4 [2.94 TB] / in no VG: 0 [0   ]

[root@hayes-01 ~]# vgck foo
  Couldn't find device with uuid 's120lz-OHaL-sxZo-QSud-3VMp-Ko1Q-fCpxxc'.
  Couldn't find device with uuid 's120lz-OHaL-sxZo-QSud-3VMp-Ko1Q-fCpxxc'.

[root@hayes-01 ~]# echo $?
0

Version-Release number of selected component (if applicable):
2.6.18-190.el5

lvm2-2.02.56-8.el5    BUILT: Fri Feb 12 02:40:43 CST 2010
lvm2-cluster-2.02.56-7.el5    BUILT: Mon Feb  8 10:24:29 CST 2010

Comment 1 Milan Broz 2010-06-23 15:34:04 UTC

*** This bug has been marked as a duplicate of bug 185526 ***