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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-13-2009, 02:22 PM
|
#1
|
LQ Newbie
Registered: Aug 2009
Posts: 21
Rep:
|
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
|
|
|
12-13-2009, 02:36 PM
|
#2
|
Member
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471
Rep:
|
Sorry, but no one's able to guess details about your system without you help.
Distro/kernel version/etc?
|
|
|
12-13-2009, 02:38 PM
|
#3
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
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
|
|
|
12-13-2009, 03:54 PM
|
#4
|
LQ Newbie
Registered: Aug 2009
Posts: 21
Original Poster
Rep:
|
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
|
|
|
12-13-2009, 04:43 PM
|
#5
|
LQ Newbie
Registered: Aug 2009
Posts: 21
Original Poster
Rep:
|
BIOS check & dmesg
Hello,
I have checked the BIOS and did not find any HPA restriction.
Dmesg attached
|
|
|
12-13-2009, 04:51 PM
|
#6
|
Member
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567
Rep:
|
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
|
|
|
12-15-2009, 11:18 AM
|
#7
|
LQ Newbie
Registered: Aug 2009
Posts: 21
Original Poster
Rep:
|
What should I do with the quote?
Hello Worm5252,
Should the quote help me solve this problem?
Thanks
|
|
|
12-15-2009, 10:52 PM
|
#8
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep: 
|
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.
|
|
|
12-21-2009, 05:16 PM
|
#9
|
LQ Newbie
Registered: Aug 2009
Posts: 21
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|