Editing Pvscan

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lc}}<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>
+
<code>pvscan</code> list all physical volumes. For scanning for new [[LUN]]s use: <code>[[rescan-scsi-bus.sh]]</code>
  
pvscan
 
  No matching physical volumes found
 
 
pvscan -v
 
    Wiping internal VG cache
 
    Wiping cache of LVM-capable devices
 
  No matching physical volumes found
 
  
 +
<code>pvscan -vvv</code>
  
* <code>pvscan -vvv</code>
 
* <code>pvscan --cache</code>
 
* <code>pvscan --cache --activate ay 256:10</code>
 
  
  pvscan
+
== See also ==
  PV /dev/sdb2                                      VG VG_NAME1        lvm2 [<446.60 GiB / 32.00 MiB free]
+
* <code>[[pvs]]</code>
  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  ]
 
 
 
 
 
== Related commands ==
 
 
* <code>[[lvmdiskscan]]</code>
 
* <code>[[lvmdiskscan]]</code>
 
 
== See also ==
 
 
* {{Linux block devices}}
 
* {{Linux block devices}}
 
* {{Fibre Channel}}
 
* {{Fibre Channel}}
Line 33: Line 13:
  
 
[[Category:Linux]]
 
[[Category:Linux]]
[[Category:LVM]]
 

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: