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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-28-2004, 06:04 AM   #1
malo_umoran
Member
 
Registered: Dec 2003
Distribution: Desktop: Slackware 13.1 &13.37 | Server: Debian 6.0
Posts: 270

Rep: Reputation: 32
40 GB disk ... linux shows only 20 GB


Hi,

I am trying this week to repair some things on my boxes and this is a pretty nice problem which I never had before. I got two weeks ago one new machine with Samsung harddisk 40gb. I really didn't partition disk, but just made one reiserfs and swap partitions and after that I installed Slack 9.1 with kernel 2.6.7.

everything was perfectly ok, until I notified 2-3 days ago, that "df" shows only 20 GB on /dev/hda1 ... instead of 40 GB.

df -h shows the current situation:
Code:
root@freeb:/mnt# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda1              19G   13G  5.8G  70% /
root@freeb:/mnt#
cfdisk shows everything as it should be:
Code:
Disk Drive: /dev/hda
Size: 40060403712 bytes, 40.0 GB
Heads: 255   Sectors per Track: 63   Cylinders: 4870

Name          Flags   Part Type        FS Type         [Label]    Size (MB)
---------------------------------------------------------------------------
hda1          Boot     Primary         Linux ReiserFS              38996.06
hda2                   Primary         Linux swap                   1061.07
hdparm -I also:
Code:
ATA device, with non-removable media
        Model Number:       SAMSUNG SP0411N
        Serial Number:      S01JJ10X456842
        Firmware Revision:  TW100-08
Standards:
        Supported: 7 6 5 4
        Likely used: 7
Configuration:
        Logical         max     current
        cylinders       16383   65535
        heads           16      1
        sectors/track   63      63
        --
        CHS current addressable sectors:    4128705
        LBA    user addressable sectors:   78242976
        LBA48  user addressable sectors:   78242976
        device size with M = 1024*1024:       38204 MBytes
        device size with M = 1000*1000:       40060 MBytes (40 GB)

did anyone have such a problem before?

thanks

M.
 
Old 06-28-2004, 06:27 AM   #2
marlor
Member
 
Registered: May 2004
Distribution: Slackware C
Posts: 274

Rep: Reputation: 30
well, while you were making the partitions you probably didn't set the ending cylinder of your big partition as you last cylinder of your HD. so probably the rest of your harddisk is now unpartitioned.

hope this help you out abit, i don't know if there is a way to partiotion without missing up and without having to reinstall so i can't give you any advise on that.

good luck
 
Old 06-28-2004, 06:32 AM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
I encountered this before, when you format a partition, then use fdusk to make it bigger, the filesystem remains the same size even though the partition is bigger. If you can find a resizing tool for reiserfs, that will probably fix the problem.
 
  


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
disk shows it is full after installing one cd SDP Linux - Software 1 08-01-2005 06:49 PM
nothing shows up after startup in redhat linux 9 vineetsunshine Linux - Software 5 11-02-2004 12:42 AM
Boring' Linux shows signs of growing up jamaso General 0 08-06-2004 12:17 PM
snmp staus shows it running but on trying MRTG, it shows public@ipaddr not giving res swati220781 Linux - Networking 3 07-08-2004 05:32 PM
desktop shows on TV but movie shows black screen litrelord Mandriva 6 07-05-2004 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:44 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