LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-12-2014, 06:40 AM   #1
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Rep: Reputation: 2
HDD size problem


i add new hard drives
HDD = 3 TERRA

Code:
root@debian:~# fdisk -l

Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
191 heads, 5 sectors/track, 6136683 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x17b9c867

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048  4294967294  2147482623+  83  Linux


but in df -h its says it is just 2 TERRA

Code:
root@debian:~# df -h
Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                  212G  1.6G  199G   1% /
udev                                                     10M     0   10M   0% /dev
tmpfs                                                   3.2G  280K  3.2G   1% /run
/dev/disk/by-uuid/c39afcd4-8634-4a67-a3d4-821e7e506ca5  212G  1.6G  199G   1% /
tmpfs                                                   5.0M     0  5.0M   0% /run/lock
tmpfs                                                   8.1G     0  8.1G   0% /run/shm
/dev/sda1                                               2.0T   33M  2.0T   1% /cache01
in saidar also the same ... so what is the problem ???
 
Old 09-12-2014, 06:44 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
fdisk is used to create and manipulate old-style MBR partition tables, which have a hard partition size limit of 2 Tb.

As you can see from the output form fdisk, the drive reports the number of sectors to be 5860533168, but your partition (/dev/sda1) only covers sectors 2048 - 4294967294. To use the entire drive, you'll have to switch to a GUID partition table (GPT), which also means using a different partitioning tool (like parted).
 
Old 09-12-2014, 06:52 AM   #3
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
so i cant use reiserfs ??
 
Old 09-12-2014, 07:00 AM   #4
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
ok i used gdisk+reiserfs

and problem solved
now i have

/dev/sdf1 2.8T 33M 2.8T 1% /cache05

but my next question is , gdisk dont make problem with squid cache ??
thanks.
 
Old 09-12-2014, 07:43 AM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,345

Rep: Reputation: Disabled
Squid is an application. It deals with files in a file system, and does not care about partitions or partition types.
 
Old 09-12-2014, 07:59 AM   #6
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
Thank you .
 
  


Reply



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
Increase my HDD size wickyk Linux - Newbie 2 05-12-2011 03:49 PM
hdd size problem spx2 Linux - Newbie 5 01-11-2006 03:10 AM
HDD size limit voyciz Linux - Hardware 3 01-10-2005 07:23 PM
HDD size not being recognized joker20 Slackware 2 11-13-2004 01:59 AM
HDD only half the size it should be...? cpuwiz Linux - Hardware 1 12-05-2002 12:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration