Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pvck(8) [debian man page]

PVCK(8) 						      System Manager's Manual							   PVCK(8)

NAME
pvck - check physical volume metadata SYNOPSIS
pvck [-d|--debug] [-h|--help] [-v|--verbose] [--labelsector] PhysicalVolume [PhysicalVolume...] DESCRIPTION
pvck checks physical volume LVM metadata for consistency. OPTIONS
See lvm for common options. --labelsector sector By default, 4 sectors of PhysicalVolume are scanned for an LVM label, starting at sector 0. This parameter allows you to specify a different starting sector for the scan and is useful for recovery situations. For example, suppose the partition table is corrupted or lost on /dev/sda, but you suspect there was an LVM partition at approximately 100 MB. This area of the disk may be scanned by using the --labelsector parameter with a value of 204800 (100 * 1024 * 1024 / 512 = 204800): pvck --labelsector 204800 /dev/sda Note that a script can be used with --labelsector to automate the process of finding LVM labels. SEE ALSO
lvm(8), pvcreate(8), pvscan(8) vgck(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) PVCK(8)

Check Out this Related Man Page

PVCK(8) 						      System Manager's Manual							   PVCK(8)

NAME
pvck - check physical volume metadata SYNOPSIS
pvck [-d|--debug] [-h|--help] [-v|--verbose] [--labelsector] PhysicalVolume [PhysicalVolume...] DESCRIPTION
pvck checks physical volume LVM metadata for consistency. OPTIONS
See lvm for common options. --labelsector sector By default, 4 sectors of PhysicalVolume are scanned for an LVM label, starting at sector 0. This parameter allows you to specify a different starting sector for the scan and is useful for recovery situations. For example, suppose the partition table is corrupted or lost on /dev/sda, but you suspect there was an LVM partition at approximately 100 MB. This area of the disk may be scanned by using the --labelsector parameter with a value of 204800 (100 * 1024 * 1024 / 512 = 204800): pvck --labelsector 204800 /dev/sda Note that a script can be used with --labelsector to automate the process of finding LVM labels. SEE ALSO
lvm(8), pvcreate(8), pvscan(8) vgck(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) PVCK(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to automate check outs from version control?

I'm in a fustrating situation where I am repeatidly checking code, editing, synchronizing, finding something is broke, reverting all my changes and starting over. This if often easier than trying to merge my changes with someone who has beat me to the checkin. Is there a way I can mitigate... (5 Replies)
Discussion started by: siegfried
5 Replies

2. Shell Programming and Scripting

automate ftpget to multiple hosts

Hi Folks, I have scanned the threads all day and have not found anything close enugh to what I need. I'm probably more confused now than before. Here's what I'm trying to do: 1. automate for running in the early am. (I think I can handle the cron part) 2. get the newest file from a... (5 Replies)
Discussion started by: huntfishtrap
5 Replies

3. UNIX for Advanced & Expert Users

Corrupted journal in a Linux LVM How to recover

Not real Linux expert but here is the problem. Shutdown this machine and then it would not reboot. From everything I can tell it looks like the journal file in the logical volume is corrupted. I have tried everything I can think of to get the volume mounted. Anybody have any ideas on how... (19 Replies)
Discussion started by: ccj4467
19 Replies

4. Red Hat

add lvm space from a regular partition

Hi, I have red hat enterprise 4. I would like to add more space on my lvm from the first partition that is not lvm type. Here's the config # fdisk -l Disk /dev/sda: 73.4 GB, 73406611456 bytes 255 heads, 63 sectors/track, 8924 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes... (6 Replies)
Discussion started by: itik
6 Replies

5. Red Hat

LVM vgexport

Hi all I am working on a scenario to safely mount a SAN volume from a RHEL 5 host (HOSTA) to another RHEL 5 host (HOSTB) in case if HOSTA crashes.I have used LVM vgexport and vgimport utilities which are not helpful in case of system crash. Everytime you have to deactivate volume groume on HOSTA... (7 Replies)
Discussion started by: gill27
7 Replies

6. Linux

LVM extent size

Hi guys. What is the LVM default extent size? is it changeable? is it different between distributions?:confused: (7 Replies)
Discussion started by: majid.merkava
7 Replies

7. Red Hat

LVM Help

Hi, I have extended the logical drive on my SMART ARRAY on a BL460 C class blade from 72G to 300G (disk upgrade RAID0+1). It went fine and the new larger disks have now sync'ed up. I now need to create additional disk space on my linux OS (RH) via LVM but I am unable to see the additional... (9 Replies)
Discussion started by: Duffs22
9 Replies

8. HP-UX

Remove Faulty disk from HP-UX LVM VG

Requirement to remove a faulty mirrored disk from hp-ux LVM <root@pdwp1s>/etc # vgdisplay -v /dev/vg00 vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c2t0d0": The specified path does not correspond to physical volume attached to this volume group vgdisplay: Warning: couldn't... (9 Replies)
Discussion started by: Shirishlnx
9 Replies

9. Slackware

Linux on LVM

Dear all, I found, in Slackware, without using physical/raw partition Linux can be booted & OS will be in LVM but in general people use /boot from physical/raw partition to boot the RedHat linux System & root and other file systems would be in LVM. My doubt is how a system will be booted without... (5 Replies)
Discussion started by: Tlogine
5 Replies

10. AIX

Script Checking LVM Mirror not Working

Hi, I need to know who can I create an script in order to check server mirror in AIX. I got this script !/usr/bin/ksh # # Check if a VG is mirrored. # # lsattr -El <lvname> -a strictness -a copies # If copies=2 and scrictness=y, then VG is mirrored # # LVs are retrieved via 'lsvg -l... (5 Replies)
Discussion started by: fede_mont
5 Replies

11. HP-UX

LVM: is possible to replace a disk?

Scenario1: VG00 lvm,not mirrored,2 disk of 36GB vg size VG00 size is under 30G. Is possible to remove a disk of 36GB and replace "on fly" with a disk of 300GB on VG00? Thanks (6 Replies)
Discussion started by: Linusolaradm1
6 Replies

12. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

13. Red Hat

Moving filesystems into LVM - query.

Hi Guys, Looking for advice really this time, I have just completed building a server. As it was a fresh build and was just a standard RHEL 6.6 server which would run TSM I just went for partitioning up the disks as I built it. The disks are 3 500Gb disks in a RAID5 configuration giving just... (5 Replies)
Discussion started by: gull04
5 Replies

14. UNIX for Dummies Questions & Answers

How to create LVM snapshots?

Please suggest me how do I create LVM snapshots in linux. Best regards, Vishal (5 Replies)
Discussion started by: admin_db
5 Replies

15. AIX

AIX - stale partition

Hi everybody, I have a little problem with my AIX 6.1, PowerHA 6.1 LVM mirror. After problem with SAN pathing of our one Datacenter, I have LV at stale state. # lsvg cpsdata2vg VOLUME GROUP: cpsdata2vg VG IDENTIFIER: 00fb518c00004c0000000169445f4c2c VG STATE: ... (6 Replies)
Discussion started by: Necronomic
6 Replies