Hi all,
i resized my raw disk in proxmox.
but im unsure how to enlarge it in my linux vm, it has no logical volume
how do i extend vda1 to the full size without loosing data
the original size was 50 gig it has to become 350gig
i resized my raw disk in proxmox.
but im unsure how to enlarge it in my linux vm, it has no logical volume
Code:
[B]root@igeni[/B]:[B]~[/B]# df -hFilesystem Size Used Avail Use% Mounted on
/dev/vda1 49G 1.8G 44G 4% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 487M 4.0K 487M 1% /dev
tmpfs 100M 368K 100M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 497M 0 497M 0% /run/shm
none 100M 0 100M 0% /run/user
Code:
[B]root@igeni[/B]:[B]~[/B]# fdisk /dev/vda
Command (m for help): p
Disk /dev/vda: 375.8 GB, 375809638400 bytes
255 heads, 63 sectors/track, 45689 cylinders, total 734003200 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 identifier: 0x000e33d3
Device Boot Start End Blocks Id System
/dev/vda1 * 2048 102762495 51380224 83 Linux
/dev/vda2 102764542 104855551 1045505 5 Extended
/dev/vda5 102764544 104855551 1045504 82 Linux swap / Solaris
how do i extend vda1 to the full size without loosing data
the original size was 50 gig it has to become 350gig