Quantcast
Channel: Resize Ubuntu /dev/sda1 partition in vmware - Server Fault
Viewing all articles
Browse latest Browse all 3

Resize Ubuntu /dev/sda1 partition in vmware

$
0
0

I recently started using an appliance vm, I noticed that the /dev/sda1 partition has about 55% already. I changed the size of the virtual hard disk from 10gig to 100gig so I'm looking to expand the partition /dev/sda1 using the /dev/sda3

I tried to run a resize2fs /dev/sda1 but the result was

resize2fs 1.42.13 (17-May-2015)
The filesystem is already 11718400 (4k) blocks long.  Nothing to do!

Here is the info from the server

Welcome to Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-131-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

0 packages can be updated.
0 updates are security updates.


Last login: Mon Jul 30 23:44:23 2018
root@appliance:~# fdisk -l
Disk /dev/sda: 100 GiB, 107374182400 bytes, 209715200 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
Disklabel type: dos
Disk identifier: 0xe0e421e7

Device     Boot    Start       End   Sectors  Size Id Type
/dev/sda1  *        2048  16383966  16381919  7.8G 83 Linux
/dev/sda3       16384000 209715199 193331200 92.2G 8e Linux LVM
root@opsview-appliance:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            2.0G     0  2.0G   0% /dev
tmpfs           396M   23M  373M   6% /run
/dev/sda1       7.6G  4.1G  3.5G  55% /
tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
tmpfs           396M     0  396M   0% /run/user/0
root@appliance:~# 

Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>