Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
home_server:home_server_setup:other_services:back-up_server_old [2022-08-27 Sat wk34 09:31] – [LVM] baumkp | home_server:home_server_setup:other_services:back-up_server_old [2023-06-18 Sun wk24 15:35] – [NFS] baumkp |
---|
| cfgbackup | ''vgcfgbackup'' | ✘ | ✘ | ✔ | ✘ | | | cfgbackup | ''vgcfgbackup'' | ✘ | ✘ | ✔ | ✘ | |
| cfgrestore | ''vgcfgrestore'' | ✘ | ✘ | ✔ | ✘ | | | cfgrestore | ''vgcfgrestore'' | ✘ | ✘ | ✔ | ✘ | |
| ck | ''vgck'' | ✘ | ✘ | ✔ | ✘ | | | ck | ''vgck'' | ✘ | ✔ | ✔ | ✘ | |
| scan | ''vgscan'' | ✘ | ✘ | ✔ | ✘ | | | scan | ''vgscan'' | 1 | ✔ | ✔ | ✔ | |
| mknodes | ''vgmknode'' | ✘ | ✘ | ✔ | ✘ | | | mknodes | ''vgmknode'' | ✘ | ✘ | ✔ | ✘ | |
| remove | ''vgremove'' | ✘ | ✘ | ✔ | ✘ | | | remove | ''vgremove'' | ✘ | ✔ | ✔ | ✔ | |
| dump | ''vgdump'' | ✘ | ✘ | ✔ | ✘ | | | 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: |
* ''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 |
| |