home_server:home_server_setup:other_services:back-up_server_old

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
home_server:home_server_setup:other_services:back-up_server_old [2022-08-27 Sat wk34 09:26] – [LVM] baumkphome_server:home_server_setup:other_services:back-up_server_old [2023-06-18 Sun wk24 15:35] – [NFS] baumkp
Line 77: Line 77:
 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>| |<60px 60px 20px 20px 20px 20px>|
-^ Command  ^  example    ^  LVM  ^  PV  ^  VG  ^  LG  ^ +^ Command     ^  example    ^  LVM  ^  PV  ^  VG  ^  LG  ^ 
-| s        |  ''pvs''        |  ✘  |  ✔  |  ✔  |  ✔  | +| s           |  ''pvs''            |  ✘  |  ✔  |  ✔  |  ✔  | 
-| display  |  ''pvdisplay''  |  ✘  |  ✔  |  ✔  |  ✔  | +| display     |  ''pvdisplay''      |  ✘  |  ✔  |  ✔  |  ✔  | 
-| create   |  ''pvcreate''   |  ✘  |  ✔  |  ✔  |  ✔  | +| create      |  ''pvcreate''       |  ✘  |  ✔  |  ✔  |  ✔  | 
-| rename   |  ''vgrename''   |  ✘  |  ✘  |  ✔  |  ✔  | +| rename      |  ''vgrename''       |  ✘  |  ✘  |  ✔  |  ✔  | 
-| change   |  ''lvchange''   |  ✔  |  ✔  |  ✔  |  ✔  | +| change      |  ''lvchange''       |  ✔  |  ✔  |  ✔  |  ✔  | 
-| move     |  ''vgmove''     |  ✘  |  ✔  |  ✔  |  ✘  | +| move        |  ''vgmove''         |  ✘  |  ✔  |  ✔  |  ✘  | 
-| extend   |  ''lvextend''   |  ✘  |  ✘  |  ✔  |  ✔  | +| extend      |  ''lvextend''       |  ✘  |  ✘  |  ✔  |  ✔  | 
-| reduce   |  ''lvreduce''   |  ✘  |  ✘  |  ✔  |  ✔  | +| reduce      |  ''lvreduce''       |  ✘  |  ✘  |  ✔  |  ✔  | 
-| resize   |  ''lvresize''   |  ✘  |  ✔  |  ✘  |  ✔  | +| resize      |  ''lvresize''       |  ✘  |  ✔  |  ✘  |  ✔  | 
-| split    |  ''vgsplit''    |  ✘  |  ✘  |  ✔  |  ✘  | +| split       |  ''vgsplit''        |  ✘  |  ✘  |  ✔  |  ✘  | 
-| merge    |  ''vgmerge''    |  ✘  |  ✘  |  ✔  |  ✘  |+| merge       |  ''vgmerge''        |  ✘  |  ✘  |  ✔  |  ✘  | 
 +| convert      ''vgconvert''      |  ✘  |  ✘  |  ✔  |  ✘  | 
 +| import      |  ''vgimport''        ✘  |  ✘  |  ✔  |  ✘  | 
 +| export      |  ''vgexport''        ✘  |  ✘  |  ✔  |  ✘  | 
 +| importclone |  ''vgimportclone''  |  ✘  |  ✘  |  ✔  |  ✘  | 
 +| cfgbackup    ''vgcfgbackup''    |  ✘  |  ✘  |  ✔  |  ✘  | 
 +| cfgrestore  |  ''vgcfgrestore''    ✘  |  ✘  |  ✔  |  ✘  | 
 +| ck          |  ''vgck''            ✘  |  ✔  |  ✔  |  ✘  | 
 +| scan        |  ''vgscan''          1  |  ✔  |  ✔  |  ✔  | 
 +| mknodes      ''vgmknode''        ✘  |  ✘  |  ✔  |  ✘  | 
 +| remove      |  ''vgremove''        ✘  |  ✔  |  ✔  |  ✔  | 
 +| dump        |  ''dump''            ✔  |  ✘  |  ✘  |  ✘  | 
 +1. ''diskscan'' 
 + \\
  
 +Links:
   *[[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/howto/40702/how-to-manage-and-use-lvm-logical-volume-management-in-ubuntu/|How to Manage and Use LVM (Logical Volume Management) in Ubuntu]]
 =====NFS===== =====NFS=====
 +To check available server drives use ''sudo showmount -e 192.168.1.5''
 +
  
 To mount a NFS manually:  To mount a NFS manually: 
-  *''sudo mount -t nfs -o rw,vers=4 192.168.1.5:/export/Disk1 /mnt/backup1'' +  *''sudo mount -t nfs -o rw,vers=4 192.168.1.5:/Disk1 /mnt/backup1'' 
-  *''sudo mount -t nfs -o rw,vers=4 192.168.1.5:/export/Disk2 /mnt/backup2''+  *''sudo mount -t nfs -o rw,vers=4 192.168.1.5:/Disk2 /mnt/backup2''
  
 Where: Where:
Line 104: Line 120:
     * ''rw'' : read / write     * ''rw'' : read / write
     * ''vers=4'' : version 4 of nfs     * ''vers=4'' : version 4 of nfs
-  * ''192.168.1.5:/export/Disk1'' is the remote exported NFS mount point+  * ''192.168.1.5:/Disk1'' is the remote exported NFS mount point (/export/Disk1 is no longer accepted syntax in NFS4.)
   * ''/mnt/backup1'' : is the local mount point, note this directory must exist, ideally empty, any existing contents are usually invisible and otherwise ignored   * ''/mnt/backup1'' : is the local mount point, note this directory must exist, ideally empty, any existing contents are usually invisible and otherwise ignored
  
  • /app/www/public/data/pages/home_server/home_server_setup/other_services/back-up_server_old.txt
  • Last modified: 2023-06-18 Sun wk24 15:36
  • by baumkp