how to increase the partition /dev/sda2 partition.df -h :Filesystem      Size  Used Avail Use% Mounted on/dev/sda2       7.0G  3.7G  3.0G  56% /devtmpfs        432M  172K  432M   1% /devtmpfs           432M     0  432M   0% /dev/shmIOInterceptor   7.0G  3.7G  3.0G  56% /primary/iointerceptor/mountdirfdisk -l :Disk /dev/sda: 42.9 GB, 42949672960 bytes255 heads, 63 sectors/track, 5221 cylinders, total 83886080 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x0007c01dDevice Boot      Start         End      Blocks   Id  System/dev/sda1            2048     2056191     1027072   82  Linux swap / Solaris/dev/sda2   *     2056192    16777215     7360512   83  LinuxI've also edited the virtual machine settings to make hard disk size from 8GB(initially allocated) to 40GB, now how should i increase above mentioned partition? searched over Google but didn't get how to do this?EDIT:Created new partition /dev/sda3. fdisk -l  after creating new partition/dev/sda1            2048     2056191     1027072   82  Linux swap / Solaris/dev/sda2   *     2056192    16777215     7360512   83  Linux/dev/sda3        16777216    41943039    12582912   83  LinuxBut when used resize2fs /dev/sda3. It showed below errorresize2fs 1.41.9 (22-Aug-2009)resize2fs: Bad magic number in super-block while trying to open /dev/sda3Couldn't find valid filesystem superblock.Pradi
How to increase size of /dev/sda2 in suse running on vmware
partition;hard disk;vmware;suse