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:19] – [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.
-|<60px 60px 20px 20px 20px 20px>|+|<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''            |  ✘  |  ✔  |  ✔  |  ✔  |  +| s | ''pvs'' |  ✘  |  ✔  |  ✔  |  ✔  | Display information about physical volumes 
-| display      ''pvdisplay''      |  ✘  |  ✔  |  ✔  |  ✔  |  +| display | ''pvdisplay'' |  ✘  |  ✔  |  ✔  |  ✔  | Display various attributes of physical volume(s) 
-| create       ''pvcreate''       |  ✘  |  ✔  |  ✔  |  ✔  |  +| create | ''pvcreate'' |  ✘  |  ✔  |  ✔  |  ✔  | Initialize physical volume(s) for use by LVM 
-rename       ''vgrename''       |  ✘  |  ✘   ✔  |  ✔   +move | ''pvmove'' |  ✘  |  ✔   ✔  |  ✘  Move extents from one physical volume to another 
-change       ''lvchange''       |  ✔  |  ✔   ✔  |  ✔  |  +rename | ''vgrename'' |  ✘  |  ✘   ✔  |  ✔  | Rename a volume group 
-move         ''vgmove''         |  ✘   ✔  |  ✔  |  ✘   +change | ''lvchange'' |  ✔   ✔  |  ✔  |  ✔  Change the attributes of logical volume(s) 
-| extend       ''lvextend''       |  ✘  |  ✘  |  ✔  |  ✔  |  +| extend | ''lvextend'' |  ✘  |  ✘  |  ✔  |  ✔  | Add space to a logical volume 
-| reduce       ''lvreduce''       |  ✘  |  ✘  |  ✔  |  ✔  |  +| reduce | ''lvreduce'' |  ✘  |  ✘  |  ✔  |  ✔  | Reduce the size of a logical volume 
-| resize       ''lvresize''       |  ✘  |  ✔  |  ✘  |  ✔  |  +| resize | ''lvresize'' |  ✘  |  ✔  |  ✘  |  ✔  | Resize a logical volume 
-| split        ''vgsplit''        |  ✘  |  ✘  |  ✔  |  ✘  |  +| split | ''vgsplit'' |  ✘  |  ✘  |  ✔  |  ✘  | Move physical volumes into a new or existing volume group 
-| merge        ''vgmerge''        |  ✘  |  ✘  |  ✔  |  ✘  |  +| merge | ''vgmerge'' |  ✘  |  ✘  |  ✔  |  ✘  | Merge volume groups 
-| convert      ''vgconvert''      |  ✘  |  ✘  |  ✔  |  ✘  |  +| convert | ''vgconvert'' |  ✘  |  ✘  |  ✔  |  ✘  | Change volume group metadata format 
-| import       ''vgimport''       |  ✘  |  ✘  |  ✔  |  ✘  |  +| import | ''vgimport'' |  ✘  |  ✘  |  ✔  |  ✘  | Register exported volume group with system 
-| export       ''vgexport''       |  ✘  |  ✘  |  ✔  |  ✘  |  +| export | ''vgexport'' |  ✘  |  ✘  |  ✔  |  ✘  | Unregister volume group(s) from the system 
-| importclone |  ''vgimportclone''  |  ✘  |  ✘  |  ✔  |  ✘  |  +| importclone | ''vgimportclone''  |  ✘  |  ✘  |  ✔  |  ✘  | Import a VG from cloned PVs 
-| cfgbackup    ''vgcfgbackup''    |  ✘  |  ✘  |  ✔  |  ✘  |  +| cfgbackup | ''vgcfgbackup''  |  ✘  |  ✘  |  ✔  |  ✘  | Backup volume group configuration(s) 
-| cfgrestore   ''vgcfgrestore''   |  ✘  |  ✘  |  ✔  |  ✘  |  +| cfgrestore | ''vgcfgrestore'' |  ✘  |  ✘  |  ✔  |  ✘  | Restore volume group configuration 
-| ck           ''vgck''           |  ✘  |  ✔  |  ✔  |  ✘  |  +| ck | ''vgck'' |  ✘  |  ✔  |  ✔  |  ✘  | Check the consistency of volume group(s) 
-| scan         ''vgscan''         |  1  |  ✔  |  ✔  |  ✔  |  | +| scan | ''vgscan'' |  1  |  ✔  |  ✔  |  ✔  | Search for all volume groups 
-| mknodes      ''vgmknode''        ✘  |  ✘  |  ✔  |  ✘  |  +| remove | ''vgremove'' |  ✘  |  ✔  |  ✔  |  ✔  | Remove volume group(s) |
-| remove       ''vgremove''       |  ✘  |  ✔  |  ✔  |  ✔  |  | +
-| 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=====