Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:other_services:back-up_server_old [2025-01-03 Fri wk01 08:35] – [LVM] baumkphome_server:home_server_setup:other_services:back-up_server_old [2025-01-03 Fri wk01 08:55] (current) – [LVM] baumkp
Line 76: Line 76:
 =====LVM===== =====LVM=====
 With the availability of Gparted to adjust partitions on the run I do not know if LVM is required any more. It does however look like a flexible system. With the availability of Gparted to adjust partitions on the run I do not know if LVM is required any more. It does however look like a flexible system.
-|<80px 60px 20px 20px 20px 20px 80px>|+|<800px 60px 20px 20px 20px 20px 20px>|
 ^ Command      example    ^  LVM  ^  PV  ^  VG  ^  LG  ^ Description (from man) ^ ^ Command      example    ^  LVM  ^  PV  ^  VG  ^  LG  ^ Description (from man) ^
-| s            ''pvs''            |  ✘  |  ✔  |  ✔  |  ✔  | Display information about physical volumes | +| s | ''pvs'' |  ✘  |  ✔  |  ✔  |  ✔  | Display information about physical volumes | 
-| display      ''pvdisplay''      |  ✘  |  ✔  |  ✔  |  ✔  | Display various attributes of physical volume(s) | +| display | ''pvdisplay'' |  ✘  |  ✔  |  ✔  |  ✔  | Display various attributes of physical volume(s) | 
-| create       ''pvcreate''       |  ✘  |  ✔  |  ✔  |  ✔  | Initialize physical volume(s) for use by LVM | +| create | ''pvcreate'' |  ✘  |  ✔  |  ✔  |  ✔  | Initialize physical volume(s) for use by LVM | 
-| move         ''pvmove''         |  ✘  |  ✔  |  ✔  |  ✘  | Move extents from one physical volume to another | +| move | ''pvmove'' |  ✘  |  ✔  |  ✔  |  ✘  | Move extents from one physical volume to another | 
-| rename       ''vgrename''       |  ✘  |  ✘  |  ✔  |  ✔  | Rename a volume group | +| rename | ''vgrename'' |  ✘  |  ✘  |  ✔  |  ✔  | Rename a volume group | 
-| change       ''lvchange''       |  ✔  |  ✔  |  ✔  |  ✔  | Change the attributes of logical volume(s) | +| change | ''lvchange'' |  ✔  |  ✔  |  ✔  |  ✔  | Change the attributes of logical volume(s) | 
-| extend       ''lvextend''       |  ✘  |  ✘  |  ✔  |  ✔  | Add space to a logical volume | +| extend | ''lvextend'' |  ✘  |  ✘  |  ✔  |  ✔  | Add space to a logical volume | 
-| reduce       ''lvreduce''       |  ✘  |  ✘  |  ✔  |  ✔  | Reduce the size of a logical volume | +| reduce | ''lvreduce'' |  ✘  |  ✘  |  ✔  |  ✔  | Reduce the size of a logical volume | 
-| resize       ''lvresize''       |  ✘  |  ✔  |  ✘  |  ✔  | Resize a logical volume | +| resize | ''lvresize'' |  ✘  |  ✔  |  ✘  |  ✔  | Resize a logical volume | 
-| split        ''vgsplit''        |  ✘  |  ✘  |  ✔  |  ✘  | Move physical volumes into a new or existing volume group | +| split | ''vgsplit'' |  ✘  |  ✘  |  ✔  |  ✘  | Move physical volumes into a new or existing volume group | 
-| merge        ''vgmerge''        |  ✘  |  ✘  |  ✔  |  ✘  | Merge volume groups | +| merge | ''vgmerge'' |  ✘  |  ✘  |  ✔  |  ✘  | Merge volume groups | 
-| convert      ''vgconvert''      |  ✘  |  ✘  |  ✔  |  ✘  | Change volume group metadata format | +| convert | ''vgconvert'' |  ✘  |  ✘  |  ✔  |  ✘  | Change volume group metadata format | 
-| import       ''vgimport''       |  ✘  |  ✘  |  ✔  |  ✘  | Register exported volume group with system | +| import | ''vgimport'' |  ✘  |  ✘  |  ✔  |  ✘  | Register exported volume group with system | 
-| export       ''vgexport''       |  ✘  |  ✘  |  ✔  |  ✘  | Unregister volume group(s) from the system | +| export | ''vgexport'' |  ✘  |  ✘  |  ✔  |  ✘  | Unregister volume group(s) from the system | 
-| importclone |  ''vgimportclone''  |  ✘  |  ✘  |  ✔  |  ✘  | Import a VG from cloned PVs | +| importclone | ''vgimportclone''  |  ✘  |  ✘  |  ✔  |  ✘  | Import a VG from cloned PVs | 
-| cfgbackup    ''vgcfgbackup''    |  ✘  |  ✘  |  ✔  |  ✘  | Backup volume group configuration(s) | +| cfgbackup | ''vgcfgbackup''  |  ✘  |  ✘  |  ✔  |  ✘  | Backup volume group configuration(s) | 
-| cfgrestore   ''vgcfgrestore''   |  ✘  |  ✘  |  ✔  |  ✘  | Restore volume group configuration | +| cfgrestore | ''vgcfgrestore'' |  ✘  |  ✘  |  ✔  |  ✘  | Restore volume group configuration | 
-| ck           ''vgck''           |  ✘  |  ✔  |  ✔  |  ✘  | Check the consistency of volume group(s) | +| ck | ''vgck'' |  ✘  |  ✔  |  ✔  |  ✘  | Check the consistency of volume group(s) | 
-| scan         ''vgscan''         |  1  |  ✔  |  ✔  |  ✔  | Search for all volume groups +| scan | ''vgscan'' |  1  |  ✔  |  ✔  |  ✔  | Search for all volume groups | 
-| mknodes      ''vgmknode''        ✘  |  ✘  |  ✔  |  ✘  |  +| remove | ''vgremove'' |  ✘  |  ✔  |  ✔  |  ✔  | Remove volume group(s) |
-| remove       ''vgremove''       |  ✘  |  ✔  |  ✔  |  ✔  | Remove volume group(s) +
-| dump        |  ''dump''            ✔  |  ✘  |  ✘  |  ✘  |  |+
 1. ''diskscan'' 1. ''diskscan''
  \\  \\
Line 106: Line 104:
   *[[https://linuxhandbook.com/lvm-guide/|The Complete Beginner's Guide to LVM in Linux]]   *[[https://linuxhandbook.com/lvm-guide/|The Complete Beginner's Guide to LVM in Linux]]
   *[[https://linuxconfig.org/using-lvm-to-manage-physical-volumes-volume-groups-and-logical-volumes-rhcsa-objective-preparation|Using LVM to manage physical volumes, volume groups, and logical volumes]]   *[[https://linuxconfig.org/using-lvm-to-manage-physical-volumes-volume-groups-and-logical-volumes-rhcsa-objective-preparation|Using LVM to manage physical volumes, volume groups, and logical volumes]]
-  *[[https://www.howtogeek.com/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/|How to Manage and Use LVM (Logical Volume Management) in Ubuntu]]+  *[[https://www.howtogeek.com/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/|How to Manage and Use LVM (Logical Volume Management) in Ubuntu]]
   *[[https://www.cyberciti.biz/faq/linux-mount-an-lvm-volume-partition-command/|Linux mount an LVM volume / partition command]]   *[[https://www.cyberciti.biz/faq/linux-mount-an-lvm-volume-partition-command/|Linux mount an LVM volume / partition command]]
 =====NFS===== =====NFS=====