Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : OVH public cloud adding additional disk.



Threaded Mode | Print  

 OVH public cloud adding additional disk. (5 Replies, Read 5520 times)
seandex
Group: Member
Post Group: Working Newbie
Posts: 71
Status:
Hello
OVH offers addtional disk order on each servers.
but it's going to be separate to /dev/vdb, when the main is /dev/vda.
is there anyway to merge vdb to vda so i can use all at /vz?
or is there anyway to bring /vdb available space space in virtualizor?
looking forward to hear some great news since Virtualizor don't support below 1GB vps creation.

thanks alot.
IP: --   

OVH public cloud adding additional disk.
asim_shaikh
Group: Member
Post Group: Elite Member
Posts: 381
Status:
Quote
Hello
OVH offers addtional disk order on each servers.
but it's going to be separate to /dev/vdb, when the main is /dev/vda.
is there anyway to merge vdb to vda so i can use all at /vz?
or is there anyway to bring /vdb available space space in virtualizor?
looking forward to hear some great news since Virtualizor don't support below 1GB vps creation.
thanks alot.


Hi,

If you dont have any VPSs on your server then you can follow these steps to utilize all the free space available in one or more disks on your server for creating VPSs :
You will first need to move your contents (mainly templates) from /vz/ directory to a temporary location (other than /vz).
You will need to create a Volume Group consisting of /dev/vda and /dev/vdb, so now your VG will have the entire free disk space available on your server.
Now you can create LV from that VG utilizing all the space from the VG as shown in the guide below :

https://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/LV_create.html

After the LV is created you can mount it on "/vz" and then move the /vz contents back.


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com
IP: --   

OVH public cloud adding additional disk.
seandex
Group: Member
Post Group: Working Newbie
Posts: 71
Status:
Quote From : asim_shaikh November 15, 2016, 6:15 am
Quote
Hello
OVH offers addtional disk order on each servers.
but it's going to be separate to /dev/vdb, when the main is /dev/vda.
is there anyway to merge vdb to vda so i can use all at /vz?
or is there anyway to bring /vdb available space space in virtualizor?
looking forward to hear some great news since Virtualizor don't support below 1GB vps creation.
thanks alot.


Hi,

If you dont have any VPSs on your server then you can follow these steps to utilize all the free space available in one or more disks on your server for creating VPSs :
You will first need to move your contents (mainly templates) from /vz/ directory to a temporary location (other than /vz).
You will need to create a Volume Group consisting of /dev/vda and /dev/vdb, so now your VG will have the entire free disk space available on your server.
Now you can create LV from that VG utilizing all the space from the VG as shown in the guide below :

https://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/LV_create.html

After the LV is created you can mount it on "/vz" and then move the /vz contents back.


thank you very much,

when I try go vgcreate i get the errors like below
----------------------------------------------------------
sudo vgcreate cent /dev/vda1 /dev/vdb1
  Can't open /dev/vda1 exclusively.  Mounted filesystem?
  Unable to add physical volume '/dev/vda1' to volume group 'cent'
------------------------------------------------------------

here is my fdisk

------------------------------------------------------
sudo fdisk -l

Disk /dev/vda: 10.7 GB, 10737418240 bytes
11 heads, 20 sectors/track, 95325 cylinders
Units = cylinders of 220 * 512 = 112640 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003f144

  Device Boot      Start        End      Blocks  Id  System
/dev/vda1  *          10      95326    10484736  83  Linux

Disk /dev/vdb: 10.7 GB, 10737418240 bytes
16 heads, 63 sectors/track, 20805 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcee2fdce

  Device Boot      Start        End      Blocks  Id  System
/dev/vdb1              1      20805    10485688+  8e  Linux LVM
---------------------------------------------------------------
(as you see i did some test on vdb1, it can remove and re-partition)

i can always re-install vps, i don't need to back up system.
please guide me make the 2 disks (in this example, 10gb+10gb to make 20gb available in virtualizor on OVH servers)
it is a sandbox server, not doing virtualizor on 10 gb. i just want to see if this is possible so i can move on to the project.

Thank you so much.
IP: --   

OVH public cloud adding additional disk.
asim_shaikh
Group: Member
Post Group: Elite Member
Posts: 381
Status:
Can you provide us the output if df -h and lvscan ?

You can also open a support ticket here https://softaculous.com/support  and provide us your server details, so that we can guide you accordingly.




-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com
IP: --   

OVH public cloud adding additional disk.
seandex
Group: Member
Post Group: Working Newbie
Posts: 71
Status:
Quote From : asim_shaikh November 16, 2016, 4:54 am
Can you provide us the output if df -h and lvscan ?

You can also open a support ticket here https://softaculous.com/support  and provide us your server details, so that we can guide you accordingly.




df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1      9.8G  1.2G  8.2G  13% /
tmpfs          915M    0  915M  0% /dev/shm

lvscan shows me blank. nothing.

do you still need to access the server? i can give you login information.
Thanks.
IP: --   

OVH public cloud adding additional disk.
asim_shaikh
Group: Member
Post Group: Elite Member
Posts: 381
Status:
Hi,

We have replied to your ticket.



-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 28, 2024, 9:49 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.028