Bug 576686 - vgck appears to do nothing
Summary: vgck appears to do nothing
Keywords:
Status: CLOSED DUPLICATE of bug 185526
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: lvm2
Version: 5.5
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: LVM and device-mapper development team
QA Contact: Corey Marthaler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-24 20:27 UTC by Corey Marthaler
Modified: 2010-11-09 13:20 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-23 15:34:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.