Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I ordered dedicated server with Linux Debian Wheezy preinstalled with "Paralles Plesk Panel". Provider states I have 2x1TB drives.

Yet my avaible disk space is just 100GB. Do I lack a partition? I don't know how to interpretate df -k the 79% usage where there's only 69 GB used as du -ch / shows.

Do I have all space avaible to use? If not how to set it?

$ sudo parted -l
Model: ATA ST1000NM0011 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
1      1049kB  100GB  100GB  primary  ext3         boot


Error: /dev/sdb: unrecognised disk label 

$ sudo fdisk -l
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
34 heads, 38 sectors/track, 1512016 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00091ca1

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   195352516    97675234+  83  Linux

$ sudo df -k
Filesystem                                             1K-blocks     Used Available Use% Mounted on
rootfs                                                  96141036 71813500  19443776  79% /
udev                                                       10240        0     10240   0% /dev
tmpfs                                                    1644412      184   1644228   1% /run
/dev/disk/by-uuid/2b0af891-91af-448e-a5d3-8cba9de4ce5d  96141036 71813500  19443776  79% /
tmpfs                                                       5120        0      5120   0% /run/lock
tmpfs

$ sudo du -ch / | grep total
69G     total
share|improve this question

closed as off-topic by Iain, Falcon Momot, Jenny D, Dave M, Ward Oct 8 '13 at 13:39

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Falcon Momot, Jenny D, Dave M, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
i think you need to partition the 2x1TB drives. To do partitioning you need to use parted rather than doing with fdisk. Also post the o/p of mount command –  ZVIK Oct 8 '13 at 5:52
    
As my question was put on hold, is it possible to move it to SuperUser SE site? I agree thats novice question. –  Ultra Oct 8 '13 at 15:52
add comment

1 Answer 1

up vote 0 down vote accepted

You just need to create new partitions with the remaining space on the disks. If you are running raid then you need to create pairs of exact same sized partitions and add them to the raid. Here is the option list for fdisk(8)

$ sudo fdisk /dev/sda

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Use the n-action to create a new partition and follow the on screen instructions. If you just want to create one partition with the remaining space the default values from fdisk will probably do, but be sure to be safe so you won't destroy the first/current partition. When you are done, use the w-action to write the table to disk and exit. You can now add the disks to raid or create a filesystem.

share|improve this answer
    
I dont run RAID. –  Ultra Oct 8 '13 at 6:07
    
@Ultra Then you can just create a filesystem with mkfs. E.g. mkfs -t ext4 /dev/sda2 –  pkhamre Oct 8 '13 at 6:08
    
Doesn't it's filesystem needs to match already existing ext3 file system? And what about /dev/sdb ? :-) –  Ultra Oct 8 '13 at 6:09
2  
If you are just creating a new filesystem it does not need to match anything. For /dev/sdb, do the same with mkfs. When you are done you can mount it, mount /dev/sda2 /some/mount/point or mount /dev/sdb2 /some/other/mount/point. –  pkhamre Oct 8 '13 at 6:20
1  
Every comment here helped me to discover useful commands (fdisk mainly) and use them to solve my problem. I had disk space but no partitions created. I have followed howtogeek.com/106873/… to solve my issue –  Ultra Oct 8 '13 at 16:17
show 5 more comments

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