|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix | |
Partition Malfunction??
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||||
|
Linux Lobbyist
|
Hey fellow Linux nerds.
So I'm a recent converter to the Linux philosophy. I'm running Ubuntu Hardy solely now, as all the research I did convinced me Windows was an OS made by crooks. Anyway, not the point. I created a gparted live CD so that I could do my final partition of the NTFS Windows partition into my ext3. First off, I had to do something a bit different. For the sake of my 36GB music collection, I had no choice but to copy it from the NTFS to my ext3 partition. Unfortunately when I installed Ubuntu I didn't make a big enough ext3 partition to house it. So I had to first make the ext3 partition big enough to copy over my music, yet not erase the NTFS or I would have lost it all. THEN I had to go back and format the rest of the NTFS. It took basically twice as long as it should have lol. Here's my problem... I have a 250GB Maxtor hard drive, and only had about 100GB of stuff in total that should be on it after formatting the NTFS and having Linux, my music, and some backup files. But I click on properties on my Filesystem folder and it says I have 69GB left of 170GB. Err, what happened to that other 80GB of space? When I open gparted in Ubuntu, it shows that I do in fact have a 250GB hard drive but shows that only 60GB remain. How big is Ubuntu? And is there something wrong here?
__________________
Matty-Bass But you already knew that ![]() Quote:
|
||||||||||||||
|
|
|
|
#2 (permalink) | |||||||||
|
Unix Evangelist
|
Execute 'df -h'. It will show you the correct info about the space remaining.
__________________
C'e solo l'Inter
|
|||||||||
|
|
|
|
|
#3 (permalink) | ||||||||||||||
|
Linux Lobbyist
|
This is what I get in terminal when I execute "df"... df-h didn't do anything.
Code:
Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 126711188 48921260 72640776 41% / varrun 1037728 100 1037628 1% /var/run varlock 1037728 0 1037728 0% /var/lock udev 1037728 64 1037664 1% /dev devshm 1037728 228 1037500 1% /dev/shm lrm 1037728 38176 999552 4% /lib/modules/2.6.24-16-generic/volatile h /dev/sdb2 77973488 66576864 11396624 86% /media/MATT KRAUS
__________________
Matty-Bass But you already knew that ![]() Quote:
|
||||||||||||||
|
|
|
|
#4 (permalink) | |||||||||
|
Unix Evangelist
|
there must be a space between 'df' and '-h', as it is an option.
__________________
C'e solo l'Inter
|
|||||||||
|
|
|
|
|
#5 (permalink) | ||||||||||||||
|
Linux Lobbyist
|
Aha!
Code:
Filesystem Size Used Avail Use% Mounted on /dev/sda2 121G 47G 70G 41% / varrun 1014M 104K 1014M 1% /var/run varlock 1014M 0 1014M 0% /var/lock udev 1014M 64K 1014M 1% /dev devshm 1014M 688K 1013M 1% /dev/shm lrm 1014M 38M 977M 4% /lib/modules/2.6.24-16-generic/volatile /dev/sdb2 75G 64G 11G 86% /media/MATT KRAUS cdrom (shortcut) cdrom0 floppy (shortcut) floppy0 EDIT UHOH. That's my iPod. ARGH!!!!!!!
__________________
Matty-Bass But you already knew that ![]() Quote:
|
||||||||||||||
|
|
|
|
#6 (permalink) | ||||||||||||||
|
Linux Lobbyist
|
Yeah I jumped to conclusions and deleted the sdb thing in the media folder to find out that was my iPod. DAMNIT.
So I had to reformat my iPod and thank god I still had all my music on the hard drive. Anyway I still don't know what happened to that extra space.
__________________
Matty-Bass But you already knew that ![]() Quote:
|
||||||||||||||
|
|
|
|
#7 (permalink) | |||||||||
|
Unix Evangelist
|
'du -ch ~' will calculate the total used space in your home folder. Also see how much space occupy /tmp and /var
__________________
C'e solo l'Inter
|
|||||||||
|
|
|
|
|
#8 (permalink) | ||||||||||||||
|
Linux Lobbyist
|
44G total used in Home
177.2kb in Tmp 681 mb in Var, some contents unreadable
__________________
Matty-Bass But you already knew that ![]() Quote:
|
||||||||||||||
|
|
|
|
#9 (permalink) | |||||||||
|
Unix Evangelist
|
Sorry for making you execute all these commands, they were useless, though you'll need them in future. I thought the problem was in the linux partition, but after reading the 1st post one more time, I realized your problem is about ntfs. Well, don't worry, everything is normal here. There are still problems with the correct space calculation of the ntfs partition in linux, maybe they will find a fix with time. You see, ntfs is proprietary and all the specs are not yet opened, that's why is hard to make it work. Just use it as usually and don't look at the space.
__________________
C'e solo l'Inter
|
|||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|