Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174881

Re: Extending Debian partition under VMware

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Extending Debian partition under VMware
Date 2016-11-19 14:20 +0100
Message-ID <sFdIK-5os-7@gated-at.bofh.it> (permalink)
References <sFbnA-3PN-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Extending Debian partition under VMware Jorge Expósito <jorgeska@gmail.com> - 2016-11-19 11:50 +0100
  Re: Extending Debian partition under VMware Dan Ritter <dsr@randomstring.org> - 2016-11-19 14:20 +0100
    Re: Extending Debian partition under VMware Jorge Expósito <jorgeska@gmail.com> - 2016-11-19 20:20 +0100
  Re: Extending Debian partition under VMware Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-11-19 14:50 +0100

csiph-web