[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Extending Debian partition under VMware



On Sat, Nov 19, 2016 at 11:28:57AM +0100, Jorge Expósito wrote:
> I've extended the virtual drive on VMware from 7 Gb to 8 Gb.
> Rebooted my guest Debian with Gparted and extended the drive with the 1
> extra Gb successfuly.
> Rebooting again and starting my virtualized Debian I make a  fdisk -l and
> it seems that the extra Gb is actually there.
> 
> Device     Boot  Start      End  Sectors  Size Id Type
> /dev/sda1  *      2048   499711   497664  243M 83 Linux
> /dev/sda2       501758 16777215 16275458  7,8G  5 Extended
> /dev/sda5       501760 16777215 16275456  7,8G 8e Linux LVM

These are the underlying partitions...

> But if I run df -h it seems that it is not.
> 
> S.ficheros     Tamaño Usados  Disp Uso% Montado en
> /dev/dm-0        6,3G   4,8G  1,1G  82% /
> udev              10M      0   10M   0% /dev
> tmpfs            202M   5,6M  196M   3% /run
> tmpfs            504M   4,0K  504M   1% /dev/shm
> tmpfs            5,0M      0  5,0M   0% /run/lock
> tmpfs            504M      0  504M   0% /sys/fs/cgroup
> /dev/sda1        236M    32M  192M  15% /boot

and these are the filesystems built inside those partitions.

> What's the problem?

The next step is to resize the filesystem to fill the partition.

Each filesystem type has a specific tool to do that; for
ext2/3/4, the tool is resize2fs. Some filesystem types are not
resizable.

Use `mount` to figure out what filesystem types are in use.

-dsr-


Reply to: