Download your favorite Linux distribution at LQ ISO.
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 05-28-2009, 01:54 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Mounting disk space

Hi guys i am very new to linux, hence would like to check with you guys and hope for some assistance.

Firstly i have a dell server running Linux enterprise V3, now i have a HDD of 146 Gb but when i do a df -h, this is my output

[root@localhost root]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 2.0G 1.8G 104M 95% /
/dev/sda3 190M 12M 169M 7% /boot
none 250M 0 250M 0% /dev/shm
/dev/sda8 1012M 33M 928M 4% /tmp
/dev/sda5 9.7G 2.6G 6.6G 29% /usr
/dev/sda6 9.7G 3.5G 5.7G 38% /var
/dev/sda2 2.5G 2.4G 16M 100% /folder1

from my fdisk -l

[root@localhost root]# fdisk -l

Disk /dev/sda: 146.6 GB, 146695782400 bytes
255 heads, 63 sectors/track, 17834 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 5 40131 de Dell Utility
/dev/sda2 6 332 2626627+ 83 Linux
/dev/sda3 * 333 357 200812+ 83 Linux
/dev/sda4 358 17834 140384002+ f Win95 Ext'd (LBA)
/dev/sda5 358 1631 10233373+ 83 Linux
/dev/sda6 1632 2905 10233373+ 83 Linux
/dev/sda7 2906 3166 2096451 83 Linux
/dev/sda8 3167 3297 1052226 83 Linux
/dev/sda9 3298 3427 1044193+ 82 Linux swap

from this i see /dev/sda4 358 17834 140384002+ f Win95 Ext'd (LBA) which i found out from some threads here that this is the dell portion where you can create more partition from.

Now i am not sure as to how i can "cut" out more space from
/dev/sda4 358 17834 140384002+ f Win95 Ext'd (LBA)
to add on to my "folder1"

else if that is not possible/difficult, can i mount /dev/sda4 358 17834 140384002+ f Win95 Ext'd (LBA) in order to have more disk space?

Thanks in advance, have a nice day
Old 05-28-2009, 02:04 AM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Be nice to know exactly which distro, try

I'd also check with Dell what's in the two non-linux partitions (Dell, Windows 95).
I suspect the first one is probably reqd (maybe), but the 2nd is (prob) just dell MS drivers/recovery.
If you're only going to be running Lunx, you can probably trash that and reuse it.
Again, ask Dell first.
Old 05-28-2009, 10:41 AM   #3
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,378

Rep: Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414Reputation: 1414
/dev/sda4 358 17834 140384002+ f Win95 Ext'd (LBA)
The above is your Extended Parition which now contains logical partitions sda5 - sda9. You can create another logical partition and move the data from sda2 to the new partition.
Old 05-28-2009, 11:00 AM   #4
Senior Member
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Why are you setting up so many partitions anyway? You have a total of 8 partitions already (sda4 doesn't count), and you've only used about 20% of your drive.

You can continue to create partitions using any of the many tools that do that; they'll be numbered sda10 to sdaXX, depending on how many partitions you add.
Old 05-28-2009, 11:14 AM   #5
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208

Rep: Reputation: 46
Just curiosity, you said you are using Linux Enterprise V3. I'm assuming that means RedHat, correct? Since I think Dell will install that on some servers. (could be wrong)

/dev/sda1 1 5 40131 de Dell Utility
should be your Dell hardware diagnostics utility drive and might be used to recover the system. (I'm assuming it's the same as on my Dell laptop.)

/dev/sda4 358 17834 140384002+ f Win95 Ext'd (LBA)
is your extended partition which actually contains partitions 5 through 9 (since a hard drive can only have 4 primary partitions, the 4th is a container for the logical partitions). With rough math, it looks like 5-9 already take up all available space left in the extended area.

So, you can't really cut out more space from 4 (since it doesn't really take up space on it's own, it is a container for the rest) and add it to another partition. If you specifically need space for things that have to exist in folder1... What you can do...

Create a symbolic link in folder1 which points to a directory you create on another partition for this purpose, where you have more space.

Alternative: there are disk partitioning tools that are supposed to be able to resize partitions. But, I don't have a lot experience with that.

Last edited by nuwen52; 05-28-2009 at 11:18 AM.


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
partition space and disk space usage and free don't match nsic Linux - Newbie 3 02-22-2013 01:57 PM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 01:33 PM
add space to / when from spare space on disk ctsiow Linux - General 4 11-07-2007 08:55 AM
Cedega "Disk space required for the installation exceeds available disk space" Solved Spewdemon Member Success Stories 1 10-18-2007 07:19 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:25 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