Debian This forum is for the discussion of Debian Linux.
|
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.
|
![Reply](https://www.linuxquestions.org/questions/images/buttons/reply.gif) |
05-24-2004, 09:41 AM
|
#1
|
Member
Registered: Sep 2003
Location: Italy - Milan
Posts: 61
Rep:
|
How TO View Partitions
I would like to know how is partitioned my disk...
...I suppose that someone steal me 80GB !!!
ThKs!
|
|
|
05-24-2004, 09:59 AM
|
#2
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
To view your partition table, use the fdisk command.
Log-in as root and type:
|
|
|
05-24-2004, 11:33 AM
|
#3
|
Member
Registered: Sep 2003
Location: Italy - Milan
Posts: 61
Original Poster
Rep:
|
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?
|
|
|
05-24-2004, 11:56 AM
|
#4
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
please do a "df -h"
|
|
|
05-24-2004, 01:39 PM
|
#5
|
Member
Registered: Sep 2003
Location: Italy - Milan
Posts: 61
Original Poster
Rep:
|
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 -1318760787137k 1.0k 0.0k 30% /
|
|
|
05-24-2004, 05:22 PM
|
#6
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
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.
|
|
|
05-25-2004, 01:29 AM
|
#7
|
Member
Registered: Apr 2004
Distribution: Debian
Posts: 203
Rep:
|
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.
|
|
|
05-25-2004, 08:16 AM
|
#8
|
Member
Registered: Sep 2003
Location: Italy - Milan
Posts: 61
Original Poster
Rep:
|
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
|
|
|
05-25-2004, 10:26 AM
|
#9
|
Member
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:11 AM.
|
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
|
|