Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
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.


  Search this Thread
Old 02-22-2019, 01:42 PM   #1
LQ Newbie
Registered: Feb 2019
Posts: 2

Rep: Reputation: Disabled
How to add more virtual disk space in RHEL?

My host OS is Ubuntu and on top of that I'm running RHEL7.5 workstation on virtualbox.

I originally created the disk space to be 47GB, but needed more.

So, I did :

Then I added the gpart iso to boot to help with partitioning:

Then partitioned:

But the space doesn't come up..

It looks like the extra space was added in /dev/sda2, but I can't even mount it. Whenever I do "sudo mount /dev/sda2 /mnt" I get an mount: unknown filesystem type "l2vm_member".

I want the extra 25GB in /dev/sda2 added into the /dev/mapper/rhel-root directory - can someone explain to me like a 5 year old how I can do this?

Last edited by Pleasehelpthisnoob; 02-22-2019 at 05:49 PM.
Old 02-22-2019, 03:38 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,617

Rep: Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775Reputation: 2775
I just responded to another LVM thread - it referenced this article. See how you go with that.
Old 02-22-2019, 03:46 PM   #3
Senior Member
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora, Alpine, Cirros, OpenSuse/SLES
Posts: 2,708

Rep: Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695Reputation: 695
unknown filesystem type "l2vm_member"
This means that sda2 is a physical volume. You can’t mount it, but if it is in a volume group, you can either extend the sizes of existing logical volumes or create new ones. For details, I suggest you find an LVM tutorial like

How did you increase the disk space?

On the RHEL VM, run the commands lsblk, pvs, vgs and lvs and post the result. They list all block devices, physical volumes, volume groups and logical volumes.
Old 02-25-2019, 08:57 AM   #4
Registered: Feb 2010
Location: North of Boston, Mass (North Shore/Cape Ann)
Distribution: CentOS 7.0 (and kvm/qemu)
Posts: 69

Rep: Reputation: 22
Remember, there are two parts to increasing disk space.

The first part is to tell the hypervisor to give more disk space to your VM.

The second part is to tell the VM that the hypervisor has given it more space.

You've probably got several file systems, well, which one gets all or some of the space?
You've got to create a new file system for your new disk; and/or modify existing file systems that it is no longer this big but that big, etc. etc.

The link someone gave in this thread addresses the how -- I'm pointing out it's reasonable.
In Linux it's reasonably easy; I've done it several times. Thank God for LVM!
Having done on a Macintosh, it's simple, just moving a slider bar <.yikes>, you don't even have to reboot.
On Windows, it's a bizaare PowerShell almost Twilight-Zone visitation.

Best to you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to add more space to hard disk drive in LinuxMint 14 vinodvinu Linux - Newbie 10 12-09-2012 05:34 AM
how to add virtual hard disk parmanentally, if i add like this.... nandunay Linux - Server 0 06-09-2012 01:29 AM
add space to / when from spare space on disk ctsiow Linux - General 4 11-07-2007 07:55 AM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon Member Success Stories 1 10-18-2007 06:19 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 12:46 PM.

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