LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-13-2009, 02:22 PM   #1
NiceLittleRabbit
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Rep: Reputation: 0
Mounting a 1.5 Tb Hard Drive but showing only 138 Gb: where's the catch?


Hello,

I am pretty newbie to Linux. I have a Debian server up and running and I have tried to add an extra hard drive for backup purposes.

I have created a new (and only) primary partition on my new 1.5 Tb hard drive and set it to type 83 (ext3), all of this using fsdisk. I have written the whole lot onto the hard drive.

When I check the partition table (by running again fsdisk) it tells me there's only one primary partition, type ext3 and 1.5 Tb.

#fdisk /dev/sdd | p

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xde08ed32


Device Boot Start End Blocks Id System
/dev/sdd1 1 182401 1465136001 83 Linux


Then I have created a /backup folder (by typing '#mkdir /backup' as root)

I mount /dev/sdd1 onto /backup:

#mount /dev/sdd1 /backup

I then type

#df -h

And I get:

/dev/sdd1 138G 138G 0 100% /backup

And indeed, there are 138Gb used and I cannot write anything else on the hard drive (Disk is full).

Summarizing, I purchased, installed and formatted a 1.5Tb hard drive, but when mounted only 138Gb are visible/available.

Can anyone help me, please?

Thanks in advance,

Nice Little Rabbit lost in the Linux World, but hopefully not alone
 
Old 12-13-2009, 02:36 PM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Sorry, but no one's able to guess details about your system without you help.
Distro/kernel version/etc?
 
Old 12-13-2009, 02:38 PM   #3
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
I believe you may have a BIOS problem. Is this an older motherboard?

You might try using the search function and searching for 137GB. You might want to look through this thread, as well: http://www.linuxquestions.org/questi...ighlight=137gb
 
Old 12-13-2009, 03:54 PM   #4
NiceLittleRabbit
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Additional system information

Hello,

My motherboard is 1 year old, ASUS P5KPL-AM

Distro: Debian Lenny

Kernel: 2.6.30 handmade (but from the debian kernel .config, did not change much really just wanted to have the hand on it)

I already have several RAID partitions of 500Mb mounted, but all simple partitions I want to mount are 138Gb independent of their real capacity:

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 138G 5.5G 126G 5% /
tmpfs 501M 8.0K 501M 1% /lib/init/rw
udev 10M 760K 9.3M 8% /dev
tmpfs 501M 0 501M 0% /dev/shm
/dev/sdc1 138G 2.8G 128G 3% /save
/dev/md2 459G 390G 46G 90% /home3
/dev/md0 780G 324G 417G 44% /home

/dev/sda1 and /dev/sdc1 are 150Gb partitions, of which only 138Gb are showing.

Please let me know if you need any additional information

Thanks
 
Old 12-13-2009, 04:43 PM   #5
NiceLittleRabbit
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Original Poster
Rep: Reputation: 0
BIOS check & dmesg

Hello,

I have checked the BIOS and did not find any HPA restriction.

Dmesg attached
Attached Files
File Type: txt dmesg.txt (30.6 KB, 15 views)
 
Old 12-13-2009, 04:51 PM   #6
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Code:
[    4.378763] Driver 'sd' needs updating - please use bus_type methods
[    4.378921] sd 0:0:0:0: [sda] 2930277168 512-byte hardware sectors: (1.50 TB/1.36 TiB)
[    4.378935] sd 0:0:0:0: [sda] Write Protect is off
[    4.378938] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    4.378959] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.379053]  sda:<6>ide-cd: hda: ATAPI 48X DVD-ROM DVD-R/RAM CD-R/RW drive, 2048kB Cache
[    4.379174] Uniform CD-ROM driver Revision: 3.20
[    4.387663] sd 0:0:1:0: [sdb] 3907029168 512-byte hardware sectors: (2.00 TB/1.81 TiB)
[    4.387678] sd 0:0:1:0: [sdb] Write Protect is off
[    4.387681] sd 0:0:1:0: [sdb] Mode Sense: 00 3a 00 00
[    4.387701] sd 0:0:1:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.387802]  sdb: sda1 sda2
[    4.388044] sd 0:0:0:0: [sda] Attached SCSI disk
[    4.388106] sd 1:0:0:0: [sdc] 3907029168 512-byte hardware sectors: (2.00 TB/1.81 TiB)
[    4.388120] sd 1:0:0:0: [sdc] Write Protect is off
[    4.388123] sd 1:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[    4.388143] sd 1:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.388228]  sdc: sdc1 sdc2 sdc3 sdc4
[    4.409739] sd 1:0:0:0: [sdc] Attached SCSI disk
[    4.409779] sd 1:0:1:0: [sdd] 2930277168 512-byte hardware sectors: (1.50 TB/1.36 TiB)
[    4.409794] sd 1:0:1:0: [sdd] Write Protect is off
[    4.409797] sd 1:0:1:0: [sdd] Mode Sense: 00 3a 00 00
[    4.409817] sd 1:0:1:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    4.409907]  sdd: sdb1 sdb2 sdb3 sdb4
[    4.410164] sd 0:0:1:0: [sdb] Attached SCSI disk
[    4.418802]  sdd1
[    4.418966] sd 1:0:1:0: [sdd] Attached SCSI disk
[    4.849390] md: raid1 personality registered for level 1
[    4.855773] md: md0 stopped.
[    4.868786] md: bind<sdb2>
[    4.868949] md: bind<sdc2>
[    4.879688] raid1: raid set md0 active with 2 out of 2 mirrors
[    4.881228] md0: detected capacity change from 0 to 850173100032
[    4.881232]  md0: unknown partition table
[    4.886690] md: md1 stopped.
[    4.944072] md: bind<sdc3>
[    4.944235] md: bind<sdb3>
[    4.954994] raid1: raid set md1 active with 2 out of 2 mirrors
[    4.955271]  md1: unknown partition table
 
Old 12-15-2009, 11:18 AM   #7
NiceLittleRabbit
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Original Poster
Rep: Reputation: 0
What should I do with the quote?

Hello Worm5252,

Should the quote help me solve this problem?

Thanks
 
Old 12-15-2009, 10:52 PM   #8
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Did you cut and paste that, or did you type it in manually? This line makes no sense:
Code:
sdd: sdb1 sdb2 sdb3 sdb4
I don't understand how /dev/sdd can have partitions /dev/sdb1 etc. I would think they would be /dev/sdd1, etc. Also, I see that you have a 780G /home so the kernel has no problem with it. Have you tried making the first partition on /dev/sdd something small, say 20GB and then putting the rest on the second partition?

Just trying to get a handle out of what you have and why.
 
Old 12-21-2009, 05:16 PM   #9
NiceLittleRabbit
LQ Newbie
 
Registered: Aug 2009
Posts: 21

Original Poster
Rep: Reputation: 0
Found the issue

Hello,

Finally the stupidest thing had happened: had forgotten to format the HD

Sorry about that. It certainly does not explain however why it says sdd: sdb1 sdb2 sdb3 sdb4

I did not make those up, just a copy and paste ... I'll keep investigating

Thanks
 
  


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
hard drive showing as full but isn't msound Linux - General 1 07-30-2007 09:21 AM
hard drive not showing lungsucker Linux - General 1 02-27-2006 04:35 PM
External hard drive not showing up? newtwolinux Linux - Newbie 3 05-16-2005 10:49 AM
hard drive not showing h0p3sf411 Mandriva 13 03-15-2004 02:23 PM
20G hard drive only showing up as 4G... BrianK Linux - Hardware 10 01-27-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:50 AM.

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