Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Partition Malfunction??
New Posts  All Forums:Forum Nav:

Partition Malfunction??

post #1 of 9
Thread Starter 
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?
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
post #2 of 9
Execute 'df -h'. It will show you the correct info about the space remaining.
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
post #3 of 9
Thread Starter 
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
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
post #4 of 9
there must be a space between 'df' and '-h', as it is an option.
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
post #5 of 9
Thread Starter 
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
Turns out that sdb2 folder contained my music collection AGAIN... I must have copied it twice somehow. Anyway, can I partition that sdb2 into sba2? It has the following 4 empty folders in it:

cdrom (shortcut)
cdrom0
floppy (shortcut)
floppy0

EDIT

UHOH. That's my iPod. ARGH!!!!!!!
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
post #6 of 9
Thread Starter 
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.
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
post #7 of 9
'du -ch ~' will calculate the total used space in your home folder. Also see how much space occupy /tmp and /var
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
post #8 of 9
Thread Starter 
44G total used in Home

177.2kb in Tmp

681 mb in Var, some contents unreadable
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Athlon X2 3800 Manchester Asus A8N-32 SLi BFG nVidia 7900 GT OC 2 GB OCZ Gold XTC PC-4200 
Hard DriveOptical DriveOSMonitor
Maxtor 250 GB LG Super-multi Ubuntu 8.04 Hardy Heron Viewsonic VA902b 19" 
KeyboardPowerCaseMouse
Logitech G15 Enermax Liberty 620W Antec P180 Logitech G5 
Mouse Pad
n/a 
  hide details  
Reply
post #9 of 9
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.
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
1+8
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Celeron G530 AsRock H61M-VS ASUS 8800 GS 384MB 2x2GB DDR3 1333MHz 
Hard DriveOSMonitorPower
WD Caviar Blue 500GB Gentoo Samsung 226BW HiPro 480W 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Partition Malfunction??