Oracle VM VirtualBox from 20gb to 40 gb
Posted: 6. Nov 2012, 13:59
I have Window 7 Professional with Oracle VM VirtualBox version 4122 r80657 with Linux Centos 6 Servers.
I increased my Oracle VM VirtualBox from 20gb to 40 gb.
I tried to copy a large folder from my old Centos 5 Server to this new Centos 6 server and it said there was not enough space.
When I look at the machine its says under the Drive information:
Type Normal (VDI)
Virtual Size 40 GB
Actual Size 14 GB
Details Dynamically allocated storage.
df -kh .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_centos6webserver-lv_root
17G 14G 1.8G 89% /
vgdisplay vg_centos6webserver
--- Volume group ---
VG Name vg_centos6webserver
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 19.51 GiB
PE Size 4.00 MiB
Total PE 4994
Alloc PE / Size 4994 / 19.51 GiB
Free PE / Size 0 / 0
VG UUID IbyHuz-uNpx-ZgX5-pGnr-4P5r-R5MR-b0PWoP
I created /dev/sda3 and it is empty and when I look in fdisk I see this
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 2611 20458496 8e Linux LVM
/dev/sda3 2611 5221 20966162+ 83 Linux
So my question is how do I make so that I can increase the LVM drive with the empty space on sda3 ???
I am new to linux so need help. I think I am doing something silly or missed something somewhere but any help would be appresiated.
Cheers
I increased my Oracle VM VirtualBox from 20gb to 40 gb.
I tried to copy a large folder from my old Centos 5 Server to this new Centos 6 server and it said there was not enough space.
When I look at the machine its says under the Drive information:
Type Normal (VDI)
Virtual Size 40 GB
Actual Size 14 GB
Details Dynamically allocated storage.
df -kh .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_centos6webserver-lv_root
17G 14G 1.8G 89% /
vgdisplay vg_centos6webserver
--- Volume group ---
VG Name vg_centos6webserver
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 19.51 GiB
PE Size 4.00 MiB
Total PE 4994
Alloc PE / Size 4994 / 19.51 GiB
Free PE / Size 0 / 0
VG UUID IbyHuz-uNpx-ZgX5-pGnr-4P5r-R5MR-b0PWoP
I created /dev/sda3 and it is empty and when I look in fdisk I see this
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 2611 20458496 8e Linux LVM
/dev/sda3 2611 5221 20966162+ 83 Linux
So my question is how do I make so that I can increase the LVM drive with the empty space on sda3 ???
I am new to linux so need help. I think I am doing something silly or missed something somewhere but any help would be appresiated.
Cheers