Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

vgscan(8) [centos man page]

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

NAME
vgscan - scan all disks for volume groups and rebuild caches SYNOPSIS
vgscan [-d|--debug] [-h|-?|--help] [--ignorelockingfailure] [--mknodes] [-P|--partial] [-v|--verbose] DESCRIPTION
vgscan scans all SCSI, (E)IDE disks, multiple devices and a bunch of other disk devices in the system looking for LVM physical volumes and volume groups. Define a filter in lvm.conf(5) to restrict the scan to avoid a CD ROM, for example. In LVM2, vgscans take place automatically; but you might still need to run one explicitly after changing hardware. OPTIONS
See lvm(8) for common options. --mknodes Also checks the LVM special files in /dev that are needed for active logical volumes and creates any missing ones and removes unused ones. --cache Scan devices for LVM physical volumes and volume groups and instruct the lvmetad daemon to update its cached state accordingly. SEE ALSO
lvm(8), vgcreate(8), vgchange(8) Sistina Software UK LVM TOOLS 2.02.105(2)-RHEL7 (2014-03-26) VGSCAN(8)

Check Out this Related Man Page

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

NAME
pvscan - scan all disks for physical volumes SYNOPSIS
pvscan [-d|--debug] [-h|--help] [-v|--verbose] [--version] [--ignorelockingfailure] [-e|--exported] [-n|--novolumegroup] [-s|--short] [-u|--uuid] pvscan [-d|--debug] [-h|--help] --cache [--major major --minor minor | DevicePath ] ... DESCRIPTION
pvscan scans all supported LVM block devices in the system for physical volumes. OPTIONS
See lvm(8) for common options. -e, --exported Only show physical volumes belonging to exported volume groups. -n, --novolumegroup Only show physical volumes not belonging to any volume group. -s, --short Short listing format. -u, --uuid Show UUIDs (Uniform Unique Identifiers) in addition to device special names. --cache [ --major major --minor minor | DevicePath ] ... Scan one or more devices and instruct the lvmetad daemon to update its cached state accordingly. Called internally by udev rules. All devices listed explicitly are processed regardless of any device filters set in lvm.conf. SEE ALSO
lvm(8), pvcreate(8), pvdisplay(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) PVSCAN(8)
Man Page

15 More Discussions You Might Find Interesting

1. AIX

IDE DISK ERR2 and LVM SA STALEPP errors in errpt

Hi, I'm getting the errors below in the errpt report for a IBM Blade server. I'm guessing there's a problem with one of the disks but don't know how I can confirm this. Can anyone offer any suggestions? Regards Gareth (4 Replies)
Discussion started by: m223464
4 Replies

2. HP-UX

disk adding through lvm

Hi dear(s) Can u explain how to add a disk through lvm with commands. I need to add a 9 gb scsi HS disk to a Hp D class 9000 server. (2 Replies)
Discussion started by: sreekumar.R
2 Replies

3. Filesystems, Disks and Memory

HP-UX Disk crash?

Hi, First post. I am not to experienced in the Unix or HP-UX world but I'm learning. We have some problem with a HP rx4640 server. During boot it states the following: Checking for LVM volume groups and Activating (if any exist) Volume group "/dev/vg00" has been successfully changed. vgchange:... (7 Replies)
Discussion started by: hoff
7 Replies

4. AIX

Odm & Lvm

Can i have BIG help on ODM and LVM??? I m new to AIX..... Devang (2 Replies)
Discussion started by: 10aix
2 Replies

5. HP-UX

list of devices

Hi, I need to rediracte all the names of the devices (only disks) to a file. Thanks:confused: (3 Replies)
Discussion started by: yoavbe
3 Replies

6. Linux

LVM (volume manager) and virtual disks

:eek: Hi guys, I'm pulling my hair out over this one. I am trying to set up a virtual server environment. ( I am using VirtualBox, but I think this is irrelevant to this problem.) I have downloaded a pre-packaged Linux virtual disk, with which I have successfully started a virtual instance of a... (4 Replies)
Discussion started by: otheus
4 Replies

7. AIX

Permanentky deleting data from disk drives for a decommissioned server.

I am about to retire several servers and need to delete the company confidential data from the internal disks under LVM control. Is there a proven and easy way to accomplish this ? Thanks for all the help in advance. (4 Replies)
Discussion started by: thenomad
4 Replies

8. HP-UX

LVM helper

Have you ever had a need to know which lvols were on which disks? Maybe you needed to expand an index filesystem and wanted to make sure you did not expand onto a disk with a data filesystem. Here is a script to see how each lvol is laid out on each disk. (For VGs with many PVs it may be easier to... (3 Replies)
Discussion started by: keelba
3 Replies

9. Red Hat

Create volume using LVM over 2 physical disks

I wanted to know how we can combine volumes over 2 physical drives. # 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 ... (16 Replies)
Discussion started by: ikn3
16 Replies

10. Red Hat

LVM Memory Usage

Hello I am using LVM to create volumes. After creating the volumes using "lvcreate" and then formating them as "ext3". I mounted these volumes to find around 40 -50GB space wasted. Any suggestions why? # df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb1 ... (5 Replies)
Discussion started by: ikn3
5 Replies

11. Solaris

Disks missing from /devices folder. Not sure why.

Help Please! I picked up a V440 and it has 4 disks. I installed Solaris fine to disk 3, but I cannot see the other disks in Solaris. I have run probe-scsi-all from OBP and I see the other disks and they have names in devalias AFAIK. It's just in Solaris they do not appear. I have run... (6 Replies)
Discussion started by: greg1975
6 Replies

12. 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

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. AIX

[Tip] FS-Manipulation in 7.1.3-Clusters

In principle it is possible to create FSes on shared volume groups with cluster methods (also known as C-SPOC), either from the command line or using the respective SMIT menus. In practice, however, many options are missing in the C-SPOC variants. For instance, it is not possible to add a... (6 Replies)
Discussion started by: bakunin
6 Replies

15. Red Hat

RedHat LVM Error

hello guys, I just had some issues with a script it is giving some errors or warning like LV name root what do i need to do to remove this directory from the existing logical volume Thanks (3 Replies)
Discussion started by: DOkuwa
3 Replies