Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-14-2014, 05:00 PM   #1
LQ Newbie
Registered: Apr 2014
Posts: 2

Rep: Reputation: Disabled
Expanding Existing Partitioned Storage: Can I and How?

Can I somehow merge or make available the storage space of /sda2 to /sda1 so as to effectively expand sda1 rather than have a large /dir mounted to it? If not, how can I mount it such that I don't lose everything in my /home/ dir (where most space is needed)?

Secondly: what, in general is considered best practice for mounting a partition for general storage purposes?

I'm relatively new to linux, but not uncomfortable using the command line. On my work computer, I began getting "Low Disk Space" pop ups, which is odd because I have a fair bit of storage and virtually nothing that should take up that much space.

What I gathered was that the boot partition (/dev/sda1) is the only partition being used for storage (if I'm reading this right). See the 2nd partion below.

[jcope@jcope ~]$ df -H
Filesystem             Size   Used  Avail Use% Mounted on
                        16G   7.8G   7.0G  54% /
tmpfs                  4.0G   300k   4.0G   1% /dev/shm
                       8.5G   154M   7.9G   2% /NotBackedUp
                        31G   8.8G    21G  30% /VirtualMachines
/dev/sda1              3.2G   120M   2.9G   4% /boot
                       4.3G   4.0G   103M  98% /home
Here is /dev/sda2. From what I can tell, none of it's storage is being utilized because it's not mounted and doesn't have a file system.

[root@jcope jcope]# fdisk /dev/sda2 -l

Disk /dev/sda2: 316.9 GB, 316850307072 bytes
255 heads, 63 sectors/track, 38521 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xe8070000
Old 04-14-2014, 06:25 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,799

Rep: Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158
As it's a work machine, talk to your helpdesk.
With RHEL you probably don't have the authority to change what needs to be changed. And if it's a SOE rollout, any changes you make will get regressed on the next update.

/dev/sda1 is not your problem - as you suspect /home likely is, and that is a lv in LVM. LVM is a disk virtualization layer on top of the physical disk partitions - the /dev/mapper entries above are your LVM lvs. Redhat have a LVM Administration manual that is very good - moving unallocated space to more convenient spots is one of the things LVM is good at.

Last edited by syg00; 04-14-2014 at 06:26 PM. Reason: Removed double-post


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expanding existing lun space using multipath and lvm felbvts Linux - Enterprise 3 07-29-2014 01:17 PM
How to remount existing folder to newly partitioned devices? mickey.doraemon Linux - Newbie 1 10-03-2012 08:07 PM
Can existing ext3 partition be without partitioned again dh2k Slackware 4 08-11-2008 08:00 PM
Need to know the command which shows all non-partitioned & partitioned hard drive saidul Linux - Newbie 2 12-04-2007 04:02 PM
RHEL 3: Steps of expanding file system (add new SCSI disks) to existing SW RAID & LVM atman1974 Linux - General 2 01-12-2006 09:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:50 AM.

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