I am running Ubuntu server 14. I have two 2 Terabyte Seagate drives raided to make a 4 terabytes. However when I mount the logical drive and run sudo lshw -c disk it shows as having 3999 GB of room. However when I run df command it shows only 2113 gb. I used ext4 when formatting it. I followed this guide to add my drives.

  • Which RAID level did you use? – Aizuddin Zali Oct 9 '15 at 14:13
  • link italic bold codeRaid 0 – Larry Oct 9 '15 at 15:07
  • Software RAID or Hadware RAID? If hardware RAID, what is the hardware vendor and type? – Aizuddin Zali Oct 9 '15 at 15:08
  • hardware, I am using a 3ware 9xxx card bios – Larry Oct 9 '15 at 15:11
  • can you query the hardware about the RAID level and RAID member capacity? Do you have LVM? Have you check in fdisk if all sectors already allocated? – Aizuddin Zali Oct 9 '15 at 15:14

Maybe you have something else configured than raid0. Looks a bit like raid1 cause 2113gb/1024=2,06TB wich might be because of some spare sectors.

If you want to have full size you would need raid0 (stripe), that gives you maximum speed and no extra data safety.

Raid-Levels on Wikipedia

After verifying the correct Raid Type we need to check on the device and how the system sees it.

In your case we have a hardware controller that normally gives raid-arrays as normal drives to the system. I.e. /dev/sdc /dev/sdd etc.

use: sudo lshw -c disk to see the devices Ubuntu sees.

In your case we see that the raid is presented as /dev/sdc

If you have the desktop envirement setup you could simply use gparted (sudo apt-get install gparted). That looks simply like the diskmanager in Windows and is quite selfexplaining.

If you do not have the desktop set up and running a terminal mode server use sudo fdisk /dev/sdc to enter the terminal partitioning tool.

If you have not setup a LVM this will be the guide to follow: How to resize / enlarge / grow a non-LVM ext4 partition Just replace the /dev/??? with your /dev/sdc to match it your configuration.


Hope this will do the trick for you.

  • yes i used raid 0 due to needing the size and not the redundancy. – Larry Oct 9 '15 at 15:09
  • Do you use a hardware raid controller or software or fake-raid of bios feature over normal dual chnnel sata? – KRAER Oct 9 '15 at 15:14
  • Does cat /proc/mdstat gives any hints on your configuration? – KRAER Oct 9 '15 at 15:16
  • i have not looked yet would i use nano to view? – Larry Oct 9 '15 at 15:31
  • I am using hardware by 3ware. – Larry Oct 9 '15 at 15:32

The issue is with your disk layout. From the fdisk -l,

Total sectors = 7812456448
Used Sectors = 4294967294 - 2048 = 4294965246
Free Sectors = Total sectors - Used Sectors

To extend and use all sectors:

Follow this nice answer How to resize partition

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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