Unsolved
This post is more than 5 years old
1 Rookie
•
53 Posts
0
1625
December 1st, 2015 18:00
Cannot create a Physcial volume by use ScaleIO volume
Here I can use fdisk -l to list the ScaleIO volume on the linux server.But I can not create the PV by use a ScaleIO volume.So I try to format and partition the volume directly. Then I have a question.How can I extend the partition?
No Events found!
ZachBrown
1 Message
2
December 3rd, 2015 09:00
In order to add ScaleIO volumes as PVs you need to add the block type to the allowed types for LVM.
For centOS 7 (and possibly others)
1) Open /etc/lvm/lvm.conf
2) Add the line
below
3) Then go through the normal process of adding PV to a VG
(Refer to pages 316-317 of the ScaleIO User Manual)
I will warn you, that the OS does have to be booted and connected to the network in order for you to be able to mount the full LV. If you extend the root volume with a ScaleIO volume, you will not be able to boot anymore.
littleboy1
1 Rookie
•
53 Posts
0
December 9th, 2015 00:00
Thanks, It works.But if I reboot the machine, the Volume Group created by using ScaleIO volume are gone, disappear.I can found in /dev/.
I add the following line to the /etc/fstab file:
/dev/vg_sio/lv_sio /mnt/sio ext4 _netdev 0 0
And the system boot up print message
littleboy1
1 Rookie
•
53 Posts
0
December 9th, 2015 01:00
And I just not add the volume to PV , only mount the volume ! Here also has problem.
Am I lost some settings?I just follow the User Guide.