LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hard drive use discrepancy (https://www.linuxquestions.org/questions/linux-newbie-8/hard-drive-use-discrepancy-553267/)

Yxven 05-11-2007 08:40 PM

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.

syg00 05-11-2007 09:05 PM

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)

Yxven 05-11-2007 09:21 PM

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.

syg00 05-11-2007 09:44 PM

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.

Yxven 05-11-2007 10:11 PM

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.

syg00 05-11-2007 10:33 PM

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).

Yxven 05-11-2007 10:36 PM

Sorry, I meant to say it's still on the first hard drive.

I will try copying it on then mounting/ remounting.

Yxven 05-12-2007 03:11 AM

Thank you. It works now.

syg00 05-12-2007 04:05 AM

Hey, I didn't do anything, you did... ;)
Just basic problem determination.

Glad it all worked out.


All times are GMT -5. The time now is 06:02 PM.