A
A
alexdora2017-01-14 15:39:22
LVM
alexdora, 2017-01-14 15:39:22

How to create LVM on Root Server Hetzner?

Ubuntu 16.01 LTS minimal, which they install automatically.
It is necessary to create a group under XEN virtual machines. In general, I don’t understand LVM well, but I don’t understand all the docks that I read. Here is a breakdown of their drive:


Disk /dev/sda: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel of the type: dos
Disk identifier: 0x33180fec the
Device the Boot Etpu Start End Sectors Size Id the Type
/ dev / sda1 2048 67110911 67108864 32G fd is the Linux raid the autodetect
/ dev / sda2 67,110,912 68,159,487 1,048,576 512M fd is the Linux raid the autodetect
/ dev / sda3 68159488 1000213167 932053680 444.4 G fd Linux raid autodetect
Disk /dev/sdb: 477 GiB, 512110190592 bytes, 1000215216 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x4b36d3a9
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 67110911 67108864 fd is the Linux raid 32G the autodetect
/ dev / sdb2 67,110,912 68,159,487 1,048,576 fd is the Linux raid 512M the autodetect
/ dev / sdb3 68,159,488 1,000,213,167 932,053,680 fd is the Linux raid 444.4G the autodetect
Disk / dev / md1: 511.4 MiB, 536,281,088 bytes, 1,047,424 Sectors the
Units: Sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md2: 444.3 GiB, 477077241856 bytes, 931791488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/md0: 32 GiB, 34326183936 bytes, 67043328 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Can someone explain step by step what needs to be done. Main task:
Make 10GB disks for the system itself and make the shared disk large for several virtual machines.
You can of course go by creating img images, but you don’t really want to create an image with a total volume of 200GB. Then the main carrier system through the ass will work with this image, and problems arise with resizing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
oni__ino, 2017-02-14
@oni__ino

Can Hetzner boot from an external iso image? If I understand correctly, you can read it here .
XenServer during installation itself will create all the necessary partitions, 20GB for system data, logs and everything else under LVM storage for virtual disks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question