Difference between revisions of "Pvscan"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
<code>pvscan</code> list all physical volumes. For scanning for new [[LUN]]s use: <code>[[rescan-scsi-bus.sh]]</code>
+
<code>pvscan</code> is a [[LVM]] command to list all physical volumes. For scanning for new [[LUN]]s use: <code>[[rescan-scsi-bus.sh]]</code>
 +
 
 +
pvscan
 +
  No matching physical volumes found
  
  

Revision as of 18:20, 22 April 2020

pvscan is a LVM command to list all physical volumes. For scanning for new LUNs use: rescan-scsi-bus.sh

pvscan
 No matching physical volumes found


  • pvscan -vvv
  • pvscan --cache
  • pvscan --cache --activate ay 256:10
 pvscan
 PV /dev/sdb2                                       VG VG_NAME1        lvm2 [<446.60 GiB / 32.00 MiB free]
 PV /dev/sdc                                        VG VG_NAME2   lvm2 [<9.10 TiB / 0    free]
 WARNING: Device /dev/mapper/3600a09803831417a5a244f5665797a4d has size of 8804682957 sectors which is smaller than corresponding PV size of 12884901888 sectors. Was device resized?
 One or more devices used as PVs in VG VG_NAME1 have changed sizes.
 PV /dev/mapper/3600a09803831417a5a244f5665797a4d   VG VG_NAME2      lvm2 [<6.00 TiB / <2.00 TiB free]
 Total: 3 [15.53 TiB] / in use: 3 [15.53 TiB] / in no VG: 0 [0   ]


See also

scan: pvscan vgscan
LVM: lvs lvmscan lvm fullreport lvmreport lvmconfig lvmdump lvmcheck lvm dumpconfig
Scan: pvs vgs lvs pvscan vgscan
PV: pvcreate pvremove pvscan pvremove pvscan pvs pvchange pvck pvdisplay pvresize
LV: lvdisplay lvcreate lvremove, lvresize, lvextend, lvreduce, lvrename
VG: vgdisplay,vgcreate,vgremove, vgextend, vgreduce, vgscan, vgchange, vgrename, vgcfgbackup, vgcfgrestore, vgimportclone, vgck
Check commands: pvck vgck

Advertising: