Initial commit.
This commit is contained in:
48
00-Install-Configure-LVM_file-ah.txt
Normal file
48
00-Install-Configure-LVM_file-ah.txt
Normal file
@@ -0,0 +1,48 @@
|
||||
# -----
|
||||
# - Configure LVM system on file-ah
|
||||
# -----
|
||||
|
||||
# Installiere lvm2 package
|
||||
#
|
||||
apt-get install lvm2
|
||||
|
||||
# kpartx
|
||||
#
|
||||
# reads the partition table and creates device files for the partitions in /dev/mapper .
|
||||
# Each device file represents a disk volume or a disk partition on a device or within an
|
||||
# image file.
|
||||
#
|
||||
# Note:
|
||||
# The 'kpartx' package is primarily used to mount an LCM partition.
|
||||
#
|
||||
apt-get install kpartx
|
||||
|
||||
|
||||
|
||||
# ---
|
||||
# Initialisiere Partition zur Benutzung als LVM Device:
|
||||
# ---
|
||||
|
||||
# for Windows Server 2025
|
||||
#
|
||||
pvcreate /dev/mapper/kvm-system
|
||||
|
||||
|
||||
|
||||
# ---
|
||||
# Erstelle Volume Groups
|
||||
# ---
|
||||
|
||||
# For Windows Server 2025
|
||||
#
|
||||
vgcreate VG-Windows-Server /dev/mapper/kvm-system
|
||||
|
||||
|
||||
|
||||
# ---
|
||||
# Erstelle LVM Partition(en)
|
||||
# ---
|
||||
|
||||
# For Windows Server 2025:
|
||||
#
|
||||
lvcreate -L 1000G -n WinSystem VG-Windows-Server
|
||||
Reference in New Issue
Block a user