Difference between revisions of "Pvresize"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
{{lc}}
  
 +
<code>pvresize</code> https://linux.die.net/man/8/pvresize
  
  
Line 9: Line 10:
 
   Physical volume "/dev/mapper/3600a09803831417a5a244f5665797a4d" changed
 
   Physical volume "/dev/mapper/3600a09803831417a5a244f5665797a4d" changed
 
   1 physical volume(s) resized / 0 physical volume(s) not resized
 
   1 physical volume(s) resized / 0 physical volume(s) not resized
 +
 +
 +
pvresize /dev/nvme2n1
 +
  Physical volume "/dev/nvme2n1" changed
 +
  1 physical volume(s) resized / 0 physical volume(s) not resized
  
  
 
== Activities ==
 
== Activities ==
 
* [[Extend LVM on qcow2 images]]
 
* [[Extend LVM on qcow2 images]]
 +
* [[Increase EBS size on LVM]]
  
 
== Related commands ==
 
== Related commands ==
 
* <code>[[rescan-scsi-bus.sh]]</code>
 
* <code>[[rescan-scsi-bus.sh]]</code>
 
* <code>[[lvextend]]</code>
 
* <code>[[lvextend]]</code>
 +
* <code>[[fdisk]]</code>
 +
* <code>[[e2fsck]]</code>
 +
* <code>[[pvcreate]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 13:09, 29 November 2023

pvresize https://linux.die.net/man/8/pvresize


pvresize /dev/mapper/3600a09803831417a5a244f5665797a4t
 WARNING: Device /dev/mapper/3600a09803831417a5a244f5665797a4t 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 data_hphq1 have changed sizes.
 Physical volume "/dev/mapper/3600a09803831417a5a244f5665797a4d" changed
 1 physical volume(s) resized / 0 physical volume(s) not resized


pvresize /dev/nvme2n1
  Physical volume "/dev/nvme2n1" changed
  1 physical volume(s) resized / 0 physical volume(s) not resized


Activities[edit]

Related commands[edit]

See also[edit]

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: