Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #476
Difficulty: Medium
A Zettabyte (ZB) is 1,180,591,620,717,411,303,424 bytes.
True or False?
Linux & Unix Commands - Search Man Pages

lvmdiskscan(8) [bsd man page]

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

NAME
       lvmdiskscan - scan for all devices visible to LVM2

SYNOPSIS
       lvmdiskscan [-d|--debug] [-h|-?|--help] [-l|--lvmpartition] [-v|--verbose]

DESCRIPTION
       lvmdiskscan  scans  all SCSI, (E)IDE disks, multiple devices and a bunch of other block devices in the system looking for LVM physical vol-
       umes.  The size reported is the real device size.  Define a filter in lvm.conf(5) to restrict the scan to avoid a CD ROM, for example.

OPTIONS
       See lvm for common options.

       -l, --lvmpartition
	      Only reports Physical Volumes.

SEE ALSO
       lvm(8), lvm.conf(5), pvscan(8), vgscan(8)

Sistina Software UK					 LVM TOOLS 2.02.95(2) (2012-03-06)					    LVMDISKSCAN(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)

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Unable to mount/find new drives

Hi, I work offshore and we have a system that records excessive amounts of data (Terabytes), therefore we changed the 16 x 400GB drives to 16 x 1TB drives. However, since doing this, upon bootup, the system does not recognize the new drives. These drives are external drives in a chassis which is... (5 Replies)
Discussion started by: shamrocks
5 Replies

2. Linux

Add new HD to system: Mandriva

Hi there all, *again* :P well I have a problem. I added a new HD in my system specially for my VMachines. in the bios I see the HD come up (its an old IDE HD that is inserted as slave) So I would think that I should see him as /dev/hdb but I dont see him at all in fdisk or what so ever. I... (3 Replies)
Discussion started by: draco
3 Replies

3. Red Hat

Disk partitioning commands for RHEL5

I'm new to Linux 5, going through initial phases of installation and setting up devices, etc,, and much to my surprise discovered also an existence of a 2nd hard drive to try to initialize and partition perhaps using any built-in command i.e. "fdisk" or similar, but I couldn't get the command to... (4 Replies)
Discussion started by: su
4 Replies

4. UNIX for Advanced & Expert Users

Linux on vmware won't boot due to corrupt library file!

We have an issue here: The libc.so.6 file (link) is corrupted and it causes the system unbootable. It even doesn't boot to single user mode. How can we boot the system to fix the library file? Or is there any other solutions for this issue? Here are some boot messages:... (6 Replies)
Discussion started by: aixlover
6 Replies

5. Linux

mount usb

Hi Guys,am unable to mount usb in Cenos..I did all those options.....kindly let me know the commands...as soon as possible... (1 Reply)
Discussion started by: Rajesh_Apple
1 Replies

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

7. Linux

Creating /boot partition for LVM VG

Hi, I have a server booted into sysresccd (mini-linux OS) with 1 40 GB disk attached I am trying to create a volume group and restore another server into the new one However, when I try to create a partition for /boot it seems that my VG in LVM is not recognized anymore These are the... (2 Replies)
Discussion started by: galuzan
2 Replies

8. Shell Programming and Scripting

Script to unmount and mount by UUID

Hi, Need a bit of help on this one as I am a scripting noob. I have a linux based NAS that mounts USB hard drives in an inconsistent location and to make matters worse, seems to lose the mount for an unknown reason and doesn't remount automatically unless the drive is removed and re-inserted.... (4 Replies)
Discussion started by: gtr33m
4 Replies

9. Shell Programming and Scripting

Automating partitioning setup of /dev/sda on /dev/sdc

Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc How would I parse the below information and initialize variables (an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions? Something along the lines of: sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies

10. UNIX for Beginners Questions & Answers

Understanding volumes and hard drives

Ok so i thought i was smart but i can tell I need some help. I am playing around with understanding lvm and adding disks to a linux box. I added a disk and then ran what i thought were commands to add this disk to the box but I think I messed up and would like some help. My question is did i... (5 Replies)
Discussion started by: cptkirkh
5 Replies

Featured Tech Videos