LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 05-11-2007, 08:40 PM   #1
Yxven
LQ Newbie
 
Registered: May 2007
Posts: 7

Rep: Reputation: 0
Hard drive use discrepancy


I'm using ubuntu dapper drake, and I want to reformat everything and install kubuntu fiesty fawn.
I repartitioned my second hard-drive (because it had some gimp fat32 partition for some reason), and then I copied all the data I wanted to keep onto it. Nautilus says that's 31.9 GB worth.

I booted from the kubuntu cd and was in the process of installing when I noticed that it only said 7.64 GB were being used on that hard drive.

I rebooted into ubuntu to check. Nautilus says there's 31.9 GB on that harddrive, but QTparted says there's only 7.64 GB.


Is my data on the 2nd harddrive despite what qtparted says? Will my data be there after I completely reformat the first harddrive and install kubuntu on the first harddrive?

Also, why does Nautilus split my second harddrive into hdb1 and hdb2? I formated it as one partition.
Plus, natilus says there's only 116.9 GB between hdb1 & hdb2, when qtparted says there's 149.05.

Also, I apologize if this has been asked before. I did search, but those posts didn't make any sense to me.
 
Old 05-11-2007, 09:05 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,792

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
I'm not much of a fan of the GUIs, but I'm having a bit of a problem working out what you're saying. Let's see the output from the following commands entered at a (Dapper) terminal
Code:
sudo fdisk -l
df -hT
(that's a lower case ell in te first command; will require your password)
 
Old 05-11-2007, 09:21 PM   #3
Yxven
LQ Newbie
 
Registered: May 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Disk /dev/hda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 6421 51576651 7 HPFS/NTFS
/dev/hda2 6422 24194 142761622+ 83 Linux
/dev/hda3 24195 24321 1020127+ 82 Linux swap / Solaris

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 19457 156288321 83 Linux
yxven@Banana-jr-2000:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/hda2 ext3 135G 85G 43G 67% /
varrun tmpfs 252M 132K 252M 1% /var/run
varlock tmpfs 252M 4.0K 252M 1% /var/lock
udev tmpfs 252M 148K 252M 1% /dev
devshm tmpfs 252M 0 252M 0% /dev/shm
lrm tmpfs 252M 19M 234M 8% /lib/modules/2.6.15-28-386/volatile
/dev/hda1 ntfs 50G 13G 37G 26% /media/hda1
/dev/hda1 fuse 50G 13G 37G 26% /media/hda1

hda1 is a window's partition I'm going to get rid of.
 
Old 05-11-2007, 09:44 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,792

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
Pity - I was expecting you to have the second drives partition mounted. Mount it and let's see the the df again - pls use code tags in the reply; makes it read-able.
 
Old 05-11-2007, 10:11 PM   #5
Yxven
LQ Newbie
 
Registered: May 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry

Code:
Filesystem Type    Size Used Avail Use% Mounted on
/dev/hda2     ext3    135G   85G   43G  67% /
varrun       tmpfs    252M  132K  252M   1% /var/run
varlock      tmpfs    252M  4.0K  252M   1% /var/lock
udev         tmpfs    252M  148K  252M   1% /dev
devshm       tmpfs    252M     0  252M   0% /dev/shm
lrm          tmpfs    252M   19M  234M   8% /lib/modules/2.6.15-28-386/volatile
/dev/hda1     ntfs     50G   13G   37G  26% /media/hda1
/dev/hda1     fuse     50G   13G   37G  26% /media/hda1
/dev/hdb1     ext3    147G  188M  140G   1% /media/hdb1
Now hdb1 is empty and my files are gone (although they're elsewhere on the hard drive).
Nautilus still reports hdb2, although I can't seem to mount it.
 
Old 05-11-2007, 10:33 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,792

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
Quote:
Originally Posted by Yxven
Now hdb1 is empty and my files are gone (although they're elsewhere on the hard drive).
Do you want to explain the bit in brackets in that sentence ???. Which hard drive ???.

Presuming you have done no reformatting/repartitionining between the posts above, there is no hdb2; hdb1 occupies the entire drive.
As for the data, who knows, but it sure don't look like it's on that second drive.
I'd be inclined to re-copy the data, unmount and re-mount it, then have a look to see if it's still there (on hdb1).
 
Old 05-11-2007, 10:36 PM   #7
Yxven
LQ Newbie
 
Registered: May 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry, I meant to say it's still on the first hard drive.

I will try copying it on then mounting/ remounting.
 
Old 05-12-2007, 03:11 AM   #8
Yxven
LQ Newbie
 
Registered: May 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you. It works now.
 
Old 05-12-2007, 04:05 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,792

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
Hey, I didn't do anything, you did...
Just basic problem determination.

Glad it all worked out.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
hard disk size discrepancy rattlesocks Linux - Software 2 05-05-2007 08:38 AM
Copy Fedora 5 Hard Drive to another Hard Drive Using Knoppix 5.1.1 lud477 Linux - Software 2 03-17-2007 05:06 PM
Copying files from internal Hard drive to USB 2.0 Hard Drive is NOT Behaving tubatodd Ubuntu 4 02-19-2007 04:32 PM
Installing grub to external USB hard drive for later use as internal hard drive dhave Linux From Scratch 2 12-10-2005 08:48 AM
Hard Drive Size Discrepancy? Deathwind Linux - General 6 05-12-2004 07:50 AM


All times are GMT -5. The time now is 08:24 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration