Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am asking for help on how to properly mount the extra hard disk space. Here is my situation.

Running fdisk -l, give this result

root@ ~]# fdisk -l

Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        1058     8393962+  82  Linux swap / Solaris
/dev/sda3            1059        7457    51399967+  83  Linux

But on checking on the directadmin and mount command, i see this result.

/dev/sda1   99M 12M 82M 13% /boot
/dev/sda3   48G 9.4G    36G 21% /

From what I can see, the /dev/sda2 is not mounted. Or in my understanding, I have over 1500GB of space that I cannot used? Am I right with this assumption?

What am i going to do so that the remaining disk space will be seen on directadmin and it can be used for my mysql and domain files? As I have over 1TB of xml files that will be parsed and transfered to mysql database.

Please help me. I am new to this thing. Any help would be appreciated. Thanks.


locked by HopelessN00b Apr 3 '15 at 17:28

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as off-topic by HopelessN00b Apr 3 '15 at 17:28

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

That's your swap partition; it shouldn't be mounted.

Your missing space is due to the fact that a lot of space on the disk is simply not used by any of the partitions; you'll want to extend your root partition or create a new partition to utilize the space.

Thanks Shane. So my option eiter to extend the root(sda1) or create a new partition. Which of the two would you recommend(the easiest and secured)? Considering that space should be used for mysql and my php/web files? thanks. (My question maybe dumb. I'm new to this. Please be.) – Jan Mark Nov 19 '12 at 7:12
@JanMark Your root partition is /dev/sda3, not /dev/sda1. – Michael Hampton Nov 19 '12 at 16:00
@JanMark My recommendation during the OS install would have been to mount the extra partition on /var. If you do that now, you're looking at needing to migrate data from the root volume's /var over to the new parition. So, the simplest solution is probably to simply extend sda3 - grab a gparted live CD, boot to it, and expand that partition and filesystem to use the free space. – Shane Madden Nov 19 '12 at 16:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.