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 [2023-06-18 Sun wk24 15:35] – [NFS] baumkphome_server:home_server_setup:other_services:back-up_server_old [2025-01-03 Fri wk01 08:55] (current) – [LVM] baumkp
Line 1: Line 1:
-{{tag>linux debian backup LVM filesystem server}}+{{tag>linux debian backup LVM filesystem server NFS mount showmount}}
 ======Back-up Server Old Setup====== ======Back-up Server Old Setup======
 This has been more difficult than I would have thought. I have used rsnapshot the past couple of years (2020-21), but have never really been happy with it for many reasons. The main reason is that it has never worked well, the rsync is reasonably fast, but the rsnapshot takes far too long. Other problems include; difficulties in set-up, and concerns will reliability. Recently I noticed that Debian no longer includes it in its repositories as of Debian 11 due to poor maintenance.....  So I have no moved to Restic, which is described here: [[home_server:home_server_setup:other_services:back-up_server]]. This has been more difficult than I would have thought. I have used rsnapshot the past couple of years (2020-21), but have never really been happy with it for many reasons. The main reason is that it has never worked well, the rsync is reasonably fast, but the rsnapshot takes far too long. Other problems include; difficulties in set-up, and concerns will reliability. Recently I noticed that Debian no longer includes it in its repositories as of Debian 11 due to poor maintenance.....  So I have no moved to Restic, which is described here: [[home_server:home_server_setup:other_services:back-up_server]].
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  ^ +^ 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]]
 =====NFS===== =====NFS=====
 To check available server drives use ''sudo showmount -e 192.168.1.5'' To check available server drives use ''sudo showmount -e 192.168.1.5''