Adding new storage https://www.softaculous.com/board/index.php?tid=15933 <![CDATA[Adding new storage]]> https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47986 Can't open /dev/md2 exclusively.  Mounted filesystem?]]> Tue, 26 Nov 2019 13:24:15 GMT https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47986 <![CDATA[Adding new storage]]> https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47985
Code
pvcreate /dev/md2


Then create the VG with this PV (you can add more PV later if you need to expand)

Code

vgcreate vgStorage /dev/md2


(Replace vgStorage with your desired name for the VG if you like)

You can check with the following commands:

pvdisplay (gives information about your PV and the created VG inside)

vgdisplay (gives information about your VG´s)

In this example vgStorage is the name to enter in Virtualizor add storage page.


]]>
Tue, 26 Nov 2019 12:52:47 GMT https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47985
<![CDATA[Adding new storage]]> https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47984
Quote From : wolke November 26, 2019, 12:20 pm


just create the VG on the /home partition and give Virtualizor the name of the VG,


What would the command be to do that, or just add a new VG directory inside /home?]]>
Tue, 26 Nov 2019 12:38:48 GMT https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47984
<![CDATA[Adding new storage]]> https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47983
just create the VG on the /home partition and give Virtualizor the name of the VG,
]]>
Tue, 26 Nov 2019 12:20:24 GMT https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47983
<![CDATA[Adding new storage]]> https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47982
Quote From : wolke November 26, 2019, 12:05 pm
Which Storage? Which Virtualization Platform?


LVM Based Storage for KVM]]>
Tue, 26 Nov 2019 12:08:59 GMT https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47982
<![CDATA[Adding new storage]]> https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47981 ]]> Tue, 26 Nov 2019 12:05:50 GMT https://www.softaculous.com/board/index.php?tid=15933&tpg=1#p47981 <![CDATA[]]> https://www.softaculous.com/board/index.php?tid=15933&tpg=0#p47980 here but I'm not sure that my partition are set right.

this is the schema of my drives, they are in raid1
Code
NAME    MAJ:MIN RM    SIZE RO TYPE  MOUNTPOINT
sdb      8:16  0    2.7T  0 disk
├─sdb4    8:20  0    1.7T  0 part
│ └─md3  9:3    0    1.7T  0 raid1 /home
├─sdb2    8:18  0    512M  0 part
│ └─md1  9:1    0    511M  0 raid1 /boot
├─sdb5    8:21  0      1M  0 part
├─sdb3    8:19  0      1T  0 part
│ └─md2  9:2    0 1023.9G  0 raid1 /
└─sdb1    8:17  0    16G  0 part
  └─md0  9:0    0    16G  0 raid1 [SWAP]
sda      8:0    0    2.7T  0 disk
├─sda4    8:4    0    1.7T  0 part
│ └─md3  9:3    0    1.7T  0 raid1 /home
├─sda2    8:2    0    512M  0 part
│ └─md1  9:1    0    511M  0 raid1 /boot
├─sda5    8:5    0      1M  0 part
├─sda3    8:3    0      1T  0 part
│ └─md2  9:2    0 1023.9G  0 raid1 /
└─sda1    8:1    0    16G  0 part
  └─md0  9:0    0    16G  0 raid1 [SWAP]


So I am asking which would be the best way to add the storage?]]>
Tue, 26 Nov 2019 12:04:48 GMT https://www.softaculous.com/board/index.php?tid=15933&tpg=0#p47980