This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:lvm [2019/03/25 12:42] – [Backup & Recovery Partition Table] tmade | linux:lvm [2019/12/30 14:41] (current) – [Usefull Commands] tmade | ||
---|---|---|---|
Line 68: | Line 68: | ||
lvextend -r -l +100%FREE / | lvextend -r -l +100%FREE / | ||
+ | lvextend -r -L 10G / | ||
| | ||
==== Backup & Recovery Partition Table ==== | ==== Backup & Recovery Partition Table ==== | ||
Line 81: | Line 82: | ||
A „LUN“ (or virtual Disk) can be recognised in a VMware Virtual Maschine (Linux) with the following command: | A „LUN“ (or virtual Disk) can be recognised in a VMware Virtual Maschine (Linux) with the following command: | ||
| | ||
- | echo "- - -" > / | ||
echo "- - -" > / | echo "- - -" > / | ||
+ | echo "- - -" > / | ||
+ | echo "- - -" > / | ||
" | " | ||
Line 144: | Line 146: | ||
pvcreate /dev/sdb1 | pvcreate /dev/sdb1 | ||
pvresize -v -d /dev/sdb1 | pvresize -v -d /dev/sdb1 | ||
- | vgextend system /dev/sdc1 | + | vgextend system / |
- | vgreduce /dev/system | + | vgreduce |
lvcreate --name backups --size 30G server1 | lvcreate --name backups --size 30G server1 | ||
mkfs.ext3 / | mkfs.ext3 / |