LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-29-2007, 07:00 AM   #1
genix
LQ Newbie
 
Registered: Jul 2007
Distribution: slackware
Posts: 23

Rep: Reputation: 15
i dont need a technician, i need an exorcist!!


I got a really strange problem.

My gf's computer is a shitty ubuntu box and when i run df -h on it it's saying that /dev/sda1 has 16G available and 13G is used. However when i run fdisk on it, its giving the correct size of the drive as 320G. Problem is that its also showing that its using nearly ALL of the cylinders for that partition
meaning its using nearly the full 295G
df -h
Code:
Filesystem            Size Used Avail Use% Mounted on
/dev/sda1              30G   13G   16G  46% /
varrun                502M  104K  502M   1% /var/run
fdisk -l
Code:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       38539   309564486   83  Linux
/dev/sda2           38540       38913     3004155   83  Linux
Then to make a final check i ran qtparted to look at the situation graphically , and it says that there is ONE 298G partition with 14G used. Then Just to make sure i started to write as much data to the partition as i could to see if df is lying to me and NO, it wont let me write more than 30G to that partition. wtf??.SUMMARY: df says 30G and sure os wont let me write more than that, then fdisk gives me the CORRECT size of disk and at the same time tells me that sda1 is using nearly all the cylinders, AND qtparted says sda1 is taking up 298G.
I hate Ubuntu as much as the next gentoo/slackware user, but this is supernatural stuff. If no one can help me, i think ill call a priest.
 
Old 11-29-2007, 07:17 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
oops......posted twice

Last edited by pixellany; 11-29-2007 at 09:26 AM. Reason: duplicate
 
Old 11-29-2007, 07:19 AM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
can you talk your g/f into using a diff distro?

2) was this previously a ms box and if so did you run partition magic or some other partition tool on it b4 ubuntu was installed.......it may not be ubuntu's fault I think.

3) I am a ex slacker myself.....if you have dsl...d/load live cds of pclinuxos Mdv suse etc and maybe she will think you are an angel.
 
Old 11-29-2007, 07:34 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I would agree that something is wrong, but it is not likely the fault of Ubuntu. For something like this, all Linuxes should be pretty much the same.

Here's a hunch: If you create a partition but don't format it, what does df do?---ie is it possible there is an issue with the formatting?

Just did an experiment: I created a new partition, but df does not give correct info until the partition is formatted and mounted. Thus I suspect that the issue is something to do with the filesystem---How about running fsck?

If this were my system, I would install Ubuntu in a 10GB partition, create another partition (100GB?) for data, and then leave the rest blank (unpartitioned) for future changes.

Finally I don't know why gentoo/slackware users would hate Ubuntu---unless perhaps they are elitists...
 
Old 11-29-2007, 07:51 AM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
when you say crappy PC>. how old is the PC ? there was a certain Hardware limitation where some systems cannot see more than 32GB of a Hard drive.. no matter how large the drive.

http://www.allensmith.net/Storage/HDDlimit/63Sector.htm

so how does the BIOS on that system see the drive ?
 
Old 11-29-2007, 08:37 AM   #6
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,499
Blog Entries: 2

Rep: Reputation: 68
try to run, in single user mode, "fsck.ext3 -nf /dev/sda1" to be sure there is nothing wrong with the filesystem, as the partition table looks fine. The "-n will not change the filesystem (dry-run) and the -f option will force the check, no matter what the filesystem flag says.

But at end, I think farslayer give you the best hint/diagnostic: a crappy BIOS.
 
Old 11-29-2007, 09:04 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by pixellany View Post
Finally I don't know why gentoo/slackware users would hate Ubuntu---unless perhaps they are elitists...
I'm a slackware user but don't hate Ubuntu, I just dislike Debian and it's derivatives... And Gentoo, ughh.. don't get me started on them..
 
Old 11-29-2007, 04:06 PM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
I like and use Slackware and Ubuntu. Oh, and XP Pro, so I guess I don't know anything about operating systems.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Book Review: PC Technician Street Smarts LXer Syndicated Linux News 0 08-18-2007 05:30 AM
I dont get it? derek61718 Linux - Newbie 2 07-06-2006 05:26 AM
Okay I dont know what to do now. Guts Linux - Newbie 19 03-16-2005 03:17 PM
new to linux dont what distro to use dont no much command xman2007 Linux - Newbie 3 01-02-2004 05:32 PM
Things dont work when you dont understand withoutaclue Linux - Newbie 3 03-12-2003 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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