Resize Ubuntu /dev/sda1 partition in vmwareHow do I resize the partition of my guest Ubuntu OS in a VMware Fusion VM?how to install windows on a logical partition created by ubuntuHow to disable software raid (mdadm)?Webserver faultSSD linux aligmentmdadm raid1, [1/2] disks failed, safe to reboot?AWS fails to resize an RHEL64 instance upon launchOptimal LVM Setup to Keep Adding Space to Single MountpointVirtualbox disk in CentOS mount/format issueLogical Volume /dev/centos/root is extended but /dev/mapper/centos-root is not
Word for being out at night during curfew
What's the word for the soldier salute?
Why did the ICC decide not to probe alleged US atrocities in Afghanistan?
Definition of Newton's first law
A curve pass via points at TiKz
How do I tell my supervisor that he is choosing poor replacements for me while I am on maternity leave?
How can this pool heater gas line be disconnected?
Is the schwa sound consistent?
Python Pandas Expand a Column of List of Lists to Two New Column
Should these notes be played as a chord or one after another?
What are the implications of the new alleged key recovery attack preprint on SIMON?
What kind of SATA connector is this?
Can a tourist shoot a gun in the USA?
Why does my circuit work on a breadboard, but not on a perfboard? I am new to soldering
Why was Endgame Thanos so different than Infinity War Thanos?
How can I answer high-school writing prompts without sounding weird and fake?
Why was castling bad for white in this game, and engine strongly prefered trading queens?
How does Howard Stark know this?
Usefulness of complex chord names?
What is the relation between semi-supervised self-supervised visual representation learning?
Does Lawful Interception of 4G / the proposed 5G provide a back door for hackers as well?
Surely they can fit?
Drawing lines to nearest point
How do I compare the result of "1d20+x, with advantage" to "1d20+y, without advantage", assuming x < y?
Resize Ubuntu /dev/sda1 partition in vmware
How do I resize the partition of my guest Ubuntu OS in a VMware Fusion VM?how to install windows on a logical partition created by ubuntuHow to disable software raid (mdadm)?Webserver faultSSD linux aligmentmdadm raid1, [1/2] disks failed, safe to reboot?AWS fails to resize an RHEL64 instance upon launchOptimal LVM Setup to Keep Adding Space to Single MountpointVirtualbox disk in CentOS mount/format issueLogical Volume /dev/centos/root is extended but /dev/mapper/centos-root is not
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
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:~#
linux ubuntu hard-drive disk-space-utilization
add a comment |
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:~#
linux ubuntu hard-drive disk-space-utilization
add a comment |
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:~#
linux ubuntu hard-drive disk-space-utilization
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:~#
linux ubuntu hard-drive disk-space-utilization
linux ubuntu hard-drive disk-space-utilization
edited Jul 31 '18 at 16:39
alexander.polomodov
1,0423712
1,0423712
asked Jul 31 '18 at 16:33
FullStackFullStack
111
111
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It looks like /
isn't using LVM, so your approach of creating an additional partition and use it as an LVM PV doesn't work.
Assuming that /dev/sda3
is really empty, you need to
- delete
/dev/sda3
- resize the partition
/dev/sda1
to use all space. This step is important. You can useparted
to do this, as an example. resize2fs
the filesystem on/dev/sda1
(this assumes you are using ext3/4 as filesystem, not e.g. XFS
Before you do any of this, make sure you have a working backup.
Okay I deleted the sda3 and rebooted. When I tried to do the resize2fs /dev/sda1 I the following resize2fs 1.42.13 (17-May-2015) The filesystem is already 11718400 (4k) blocks long. Nothing to do!
– FullStack
Jul 31 '18 at 17:33
a) Don't post error messages in comments. b) Read my answer. You have omitted theresize the partition
step. This is something else then resizing the file system.
– Sven♦
Jul 31 '18 at 18:50
Your response makes no sense. I tried to resize the /dev/sda1 and it failed, i'm new to this sort of operation so i'm asking for what else can I try.
– FullStack
Jul 31 '18 at 19:26
1
@FullStack It makes perfect sense. You tried to resize the filesystem. A file system lives on a partition. Your partition hasn't changed sizes. Therefore your resize of the filesystem fails because it's already filling up the partition.
– yoonix
Jul 31 '18 at 20:07
1
@FullStack: This site is for professional system administrators, so you really should understand what "resize a partition" means. This is very basic knowledge, that is also extremely easy to search for.
– Sven♦
Jul 31 '18 at 20:19
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f924304%2fresize-ubuntu-dev-sda1-partition-in-vmware%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It looks like /
isn't using LVM, so your approach of creating an additional partition and use it as an LVM PV doesn't work.
Assuming that /dev/sda3
is really empty, you need to
- delete
/dev/sda3
- resize the partition
/dev/sda1
to use all space. This step is important. You can useparted
to do this, as an example. resize2fs
the filesystem on/dev/sda1
(this assumes you are using ext3/4 as filesystem, not e.g. XFS
Before you do any of this, make sure you have a working backup.
Okay I deleted the sda3 and rebooted. When I tried to do the resize2fs /dev/sda1 I the following resize2fs 1.42.13 (17-May-2015) The filesystem is already 11718400 (4k) blocks long. Nothing to do!
– FullStack
Jul 31 '18 at 17:33
a) Don't post error messages in comments. b) Read my answer. You have omitted theresize the partition
step. This is something else then resizing the file system.
– Sven♦
Jul 31 '18 at 18:50
Your response makes no sense. I tried to resize the /dev/sda1 and it failed, i'm new to this sort of operation so i'm asking for what else can I try.
– FullStack
Jul 31 '18 at 19:26
1
@FullStack It makes perfect sense. You tried to resize the filesystem. A file system lives on a partition. Your partition hasn't changed sizes. Therefore your resize of the filesystem fails because it's already filling up the partition.
– yoonix
Jul 31 '18 at 20:07
1
@FullStack: This site is for professional system administrators, so you really should understand what "resize a partition" means. This is very basic knowledge, that is also extremely easy to search for.
– Sven♦
Jul 31 '18 at 20:19
add a comment |
It looks like /
isn't using LVM, so your approach of creating an additional partition and use it as an LVM PV doesn't work.
Assuming that /dev/sda3
is really empty, you need to
- delete
/dev/sda3
- resize the partition
/dev/sda1
to use all space. This step is important. You can useparted
to do this, as an example. resize2fs
the filesystem on/dev/sda1
(this assumes you are using ext3/4 as filesystem, not e.g. XFS
Before you do any of this, make sure you have a working backup.
Okay I deleted the sda3 and rebooted. When I tried to do the resize2fs /dev/sda1 I the following resize2fs 1.42.13 (17-May-2015) The filesystem is already 11718400 (4k) blocks long. Nothing to do!
– FullStack
Jul 31 '18 at 17:33
a) Don't post error messages in comments. b) Read my answer. You have omitted theresize the partition
step. This is something else then resizing the file system.
– Sven♦
Jul 31 '18 at 18:50
Your response makes no sense. I tried to resize the /dev/sda1 and it failed, i'm new to this sort of operation so i'm asking for what else can I try.
– FullStack
Jul 31 '18 at 19:26
1
@FullStack It makes perfect sense. You tried to resize the filesystem. A file system lives on a partition. Your partition hasn't changed sizes. Therefore your resize of the filesystem fails because it's already filling up the partition.
– yoonix
Jul 31 '18 at 20:07
1
@FullStack: This site is for professional system administrators, so you really should understand what "resize a partition" means. This is very basic knowledge, that is also extremely easy to search for.
– Sven♦
Jul 31 '18 at 20:19
add a comment |
It looks like /
isn't using LVM, so your approach of creating an additional partition and use it as an LVM PV doesn't work.
Assuming that /dev/sda3
is really empty, you need to
- delete
/dev/sda3
- resize the partition
/dev/sda1
to use all space. This step is important. You can useparted
to do this, as an example. resize2fs
the filesystem on/dev/sda1
(this assumes you are using ext3/4 as filesystem, not e.g. XFS
Before you do any of this, make sure you have a working backup.
It looks like /
isn't using LVM, so your approach of creating an additional partition and use it as an LVM PV doesn't work.
Assuming that /dev/sda3
is really empty, you need to
- delete
/dev/sda3
- resize the partition
/dev/sda1
to use all space. This step is important. You can useparted
to do this, as an example. resize2fs
the filesystem on/dev/sda1
(this assumes you are using ext3/4 as filesystem, not e.g. XFS
Before you do any of this, make sure you have a working backup.
edited Jul 31 '18 at 20:17
answered Jul 31 '18 at 16:44
Sven♦Sven
88.2k10149202
88.2k10149202
Okay I deleted the sda3 and rebooted. When I tried to do the resize2fs /dev/sda1 I the following resize2fs 1.42.13 (17-May-2015) The filesystem is already 11718400 (4k) blocks long. Nothing to do!
– FullStack
Jul 31 '18 at 17:33
a) Don't post error messages in comments. b) Read my answer. You have omitted theresize the partition
step. This is something else then resizing the file system.
– Sven♦
Jul 31 '18 at 18:50
Your response makes no sense. I tried to resize the /dev/sda1 and it failed, i'm new to this sort of operation so i'm asking for what else can I try.
– FullStack
Jul 31 '18 at 19:26
1
@FullStack It makes perfect sense. You tried to resize the filesystem. A file system lives on a partition. Your partition hasn't changed sizes. Therefore your resize of the filesystem fails because it's already filling up the partition.
– yoonix
Jul 31 '18 at 20:07
1
@FullStack: This site is for professional system administrators, so you really should understand what "resize a partition" means. This is very basic knowledge, that is also extremely easy to search for.
– Sven♦
Jul 31 '18 at 20:19
add a comment |
Okay I deleted the sda3 and rebooted. When I tried to do the resize2fs /dev/sda1 I the following resize2fs 1.42.13 (17-May-2015) The filesystem is already 11718400 (4k) blocks long. Nothing to do!
– FullStack
Jul 31 '18 at 17:33
a) Don't post error messages in comments. b) Read my answer. You have omitted theresize the partition
step. This is something else then resizing the file system.
– Sven♦
Jul 31 '18 at 18:50
Your response makes no sense. I tried to resize the /dev/sda1 and it failed, i'm new to this sort of operation so i'm asking for what else can I try.
– FullStack
Jul 31 '18 at 19:26
1
@FullStack It makes perfect sense. You tried to resize the filesystem. A file system lives on a partition. Your partition hasn't changed sizes. Therefore your resize of the filesystem fails because it's already filling up the partition.
– yoonix
Jul 31 '18 at 20:07
1
@FullStack: This site is for professional system administrators, so you really should understand what "resize a partition" means. This is very basic knowledge, that is also extremely easy to search for.
– Sven♦
Jul 31 '18 at 20:19
Okay I deleted the sda3 and rebooted. When I tried to do the resize2fs /dev/sda1 I the following resize2fs 1.42.13 (17-May-2015) The filesystem is already 11718400 (4k) blocks long. Nothing to do!
– FullStack
Jul 31 '18 at 17:33
Okay I deleted the sda3 and rebooted. When I tried to do the resize2fs /dev/sda1 I the following resize2fs 1.42.13 (17-May-2015) The filesystem is already 11718400 (4k) blocks long. Nothing to do!
– FullStack
Jul 31 '18 at 17:33
a) Don't post error messages in comments. b) Read my answer. You have omitted the
resize the partition
step. This is something else then resizing the file system.– Sven♦
Jul 31 '18 at 18:50
a) Don't post error messages in comments. b) Read my answer. You have omitted the
resize the partition
step. This is something else then resizing the file system.– Sven♦
Jul 31 '18 at 18:50
Your response makes no sense. I tried to resize the /dev/sda1 and it failed, i'm new to this sort of operation so i'm asking for what else can I try.
– FullStack
Jul 31 '18 at 19:26
Your response makes no sense. I tried to resize the /dev/sda1 and it failed, i'm new to this sort of operation so i'm asking for what else can I try.
– FullStack
Jul 31 '18 at 19:26
1
1
@FullStack It makes perfect sense. You tried to resize the filesystem. A file system lives on a partition. Your partition hasn't changed sizes. Therefore your resize of the filesystem fails because it's already filling up the partition.
– yoonix
Jul 31 '18 at 20:07
@FullStack It makes perfect sense. You tried to resize the filesystem. A file system lives on a partition. Your partition hasn't changed sizes. Therefore your resize of the filesystem fails because it's already filling up the partition.
– yoonix
Jul 31 '18 at 20:07
1
1
@FullStack: This site is for professional system administrators, so you really should understand what "resize a partition" means. This is very basic knowledge, that is also extremely easy to search for.
– Sven♦
Jul 31 '18 at 20:19
@FullStack: This site is for professional system administrators, so you really should understand what "resize a partition" means. This is very basic knowledge, that is also extremely easy to search for.
– Sven♦
Jul 31 '18 at 20:19
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f924304%2fresize-ubuntu-dev-sda1-partition-in-vmware%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown