LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 12-26-2022, 02:56 AM   #1
aggnzkb
LQ Newbie
 
Registered: Dec 2022
Posts: 1

Rep: Reputation: 0
How can I reassign the rest of space available on my Linux Virtual machine?


From Virtual Box I have expanded its size from 10 GB to 30GB, so now I have 20 GB of free space. The problem is that when I try to reassign space with
Code:
cfdisk
it seems like there is no free space available.


What I want is to expand the second partition (/dev/sda2) to allocate the rest of the space available.

First i know i need to create a third partition with the new space, but my problem is that I am not able to do it.

I need more space on my virtual machine to install new tools and because of this problem a can't do it.
 
Old 12-26-2022, 04:39 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,770

Rep: Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933
What distribution is running on the guest?
Is it using lvm?

Post the output of the command
lsblk
 
Old 12-26-2022, 04:41 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,147

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
Make that "lsblk -f"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Creating Servers via REST API on RDO Mitaka via Chrome Advanced REST Client LXer Syndicated Linux News 0 04-24-2016 11:57 PM
[SOLVED] Please help a non-technical newb deactivate/reassign a malfunctioning F7 button. drTronic Linux - Newbie 1 12-26-2009 03:17 AM
reassign /var space to / vikesh.u Ubuntu 2 09-09-2009 01:34 AM
PHP - dynamically create folder and reassign ownership adymroxx Programming 6 05-02-2009 04:48 PM
Reassign mouse buttons FrozenBacon Slackware 1 03-26-2007 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 02:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration