LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-24-2004, 09:41 AM   #1
..:eMa:..
Member
 
Registered: Sep 2003
Location: Italy - Milan
Posts: 61

Rep: Reputation: 15
How TO View Partitions


I would like to know how is partitioned my disk...
...I suppose that someone steal me 80GB !!!

ThKs!
 
Old 05-24-2004, 09:59 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
To view your partition table, use the fdisk command.
Log-in as root and type:
Code:
fdisk -l
 
Old 05-24-2004, 11:33 AM   #3
..:eMa:..
Member
 
Registered: Sep 2003
Location: Italy - Milan
Posts: 61

Original Poster
Rep: Reputation: 15
OK !!!
I've partitioned my disk...
Un put /(4Gb) , /home (29GB), /var (5GB) , /usr(5GB) under different partitions and mounted as directory...
But if I view disk space available under /home (with MC) show 3,70/4 available...

Why?
 
Old 05-24-2004, 11:56 AM   #4
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
please do a "df -h"
 
Old 05-24-2004, 01:39 PM   #5
..:eMa:..
Member
 
Registered: Sep 2003
Location: Italy - Milan
Posts: 61

Original Poster
Rep: Reputation: 15
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 -1318760787137k 1.0k 0.0k 30% /
 
Old 05-24-2004, 05:22 PM   #6
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
yes - there's something wrong. is it an older pc? be sure that the disk is recognized right (look at dmesg output). C/H/S or LBA are important.
disk.com (put on a floppy) is a useful program to see if the bios is able to handle the disk correct.
maybe you should copy your data out of home (can you still access it?), unmount and reformat that partition. i use parted for such things but cfdisk or other work too.
 
Old 05-25-2004, 01:29 AM   #7
muxman
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 203

Rep: Reputation: 32
The df command is part of the coreutils package. You need to upgrade that package. Either upgrade just that or do a system update, but just that package should fix it.


apt-get install coreutils


That should get you the latest version of coreutils and fix that problem. I had that same problem with my Woody install.
 
Old 05-25-2004, 08:16 AM   #8
..:eMa:..
Member
 
Registered: Sep 2003
Location: Italy - Milan
Posts: 61

Original Poster
Rep: Reputation: 15
disk.com ?
Where I find it ?

I wasn't able to understand the solution...
The disk is recognized as is. DMES dosen't generate wrong message...

After that, if I fix with:
apt-get install coreutils

My disk was recognize for its full space?
Or
df -h
Told me wrong message?

ThkS 4 All!!!

eMa
 
Old 05-25-2004, 10:26 AM   #9
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
i can't tell if dmesg shows the right thing - i have not seen it !!!
i also can't tell anything about your prob, since i've got no info!

woudn't you - like - to give us some info helping you to solve this problem?

your df shows up messy, and there's just one partition there, but you said you
had 4 partitonions above? i'm confused about that!

mritch.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to view contents of various partitions on disk skvasistha Linux - Software 1 11-23-2004 08:53 AM
View Windows partitions wiggywag Libranet 8 11-24-2003 02:33 PM
how to view my raid device and partitions x2000koh Linux - Newbie 1 07-21-2002 09:55 PM
How can I view the Raid Device and Partitions x2000koh Linux - General 1 07-12-2002 05:34 AM
To view the partitions in the machine saravanan1979 Linux - Hardware 4 05-29-2002 10:03 AM

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

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