Fedora Linux Support Community & Resources Center
  #1  
Old 20th January 2007, 09:26 AM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
Is this data consistent?

Code:
[root:~#] du -hxs /
6.8G    /
[root:~#] df -hxs /
Filesystem            Size  Used Avail Use% Mounted on
/dev/hdd6              21G  6.6G   14G  33% /
[root:~#] fdisk -l | grep hdd6
   Device Boot      Start         End      Blocks   Id  System
/dev/hdd6           62444       93665    15735636   83  Linux
My calculations tell me that the Blocks number tells me /dev/hdd6 is 15GB in size, which is consistent with what I remember having partitioned it to be. GParted also reports what fdisk is telling me.

Interesting gparted and df are reporting the same free space. I've also included what is reported by a SuperKaramba theme for the / partition. I just assume that is using the output of df and du.
Attached Thumbnails
Click image for larger version

Name:	gparted.jpg
Views:	106
Size:	60.5 KB
ID:	11171   Click image for larger version

Name:	karamba.jpg
Views:	83
Size:	19.5 KB
ID:	11172  
__________________
Desktop (64-bit) - F12, Debian Sid, OpenSUSE 11.2, ArchLinux
Reply With Quote
  #2  
Old 20th January 2007, 07:34 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
Here is the full output of fdisk -l

Code:
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        9963    80027766    7  HPFS/NTFS

Disk /dev/hdd: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   *           1       31222    15735636    c  W95 FAT32 (LBA)
/dev/hdd2           31222      158816    64307565+   5  Extended
/dev/hdd5           31222       62444    15735636   83  Linux
/dev/hdd6           62444       93665    15735636   83  Linux
/dev/hdd7           93665       95753     1052226   82  Linux swap / Solaris
/dev/hdd8           95754      158816    31783718+  8e  Linux LVM

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       30401   244196001    5  Extended
/dev/sda5   *           1        2611    20972794+  83  Linux
/dev/sda6            2612        5222    20972826   83  Linux
/dev/sda7            5223        7180    15727603+  83  Linux
/dev/sda8            7181        9138    15727603+  83  Linux
/dev/sda9            9139       11096    15727603+  83  Linux
/dev/sda10          11097       13054    15727603+  83  Linux
/dev/sda11          13055       16971    31463271    7  HPFS/NTFS
/dev/sda12          16972       22192    41937651   8e  Linux LVM
/dev/sda13          22193       26108    31455238+  8e  Linux LVM
/dev/sda14          26109       30401    34483491   8e  Linux LVM
Here is something else I find interesting.

Here is my /boot/grub/menu.lst or at least the portion relevant to FC6

Code:
title Fedora Core (2.6.19-1.2895.fc6)
        root (hd2,4)
        kernel /boot/vmlinuz-2.6.19-1.2895.fc6 vga=795 ro root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.19-1.2895.fc6.img
Does root(hd2,4) reference /dev/hdd6? I would think not as if the root option in the kernel line is set to root=/dev/hdd6, then I get this error.

EDIT: root(hd2,4) can't be /dev/hdd6 if you look at my /boot/grub/device.map. And as you can see from the fdisk above , sda5 is 20GB in size - the size reported by df in the 1st post.

Code:
[root:~#] cat /boot/grub/device.map
# this device map was generated by anaconda
(hd0)     /dev/hda
(hd1)     /dev/hdd
(hd2)     /dev/sda

Yet my /etc/fstab shows this for the root partition

Code:
/dev/hdd6               /                       reiserfs defaults        1 1
EDIT: And gparted also notes sda5 as a root partition (see attachment)
Attached Thumbnails
Click image for larger version

Name:	gparted2.jpg
Views:	73
Size:	76.9 KB
ID:	11177  
__________________
Desktop (64-bit) - F12, Debian Sid, OpenSUSE 11.2, ArchLinux

Last edited by Jongi; 20th January 2007 at 07:49 PM.
Reply With Quote
  #3  
Old 20th January 2007, 08:01 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
When I installed FC6 I did one of two things:

1. Installed it on /dev/hdd6, which was the partition FC5 was on, or

2. Installed it on /dev/sda5 saw that it installed fine and then formatted the partition /dev/hdd6.

I am pretty sure that I went with route 2. I tried to add the below to grub

Code:
title Fedora Core Test
        root (hd1,5)
        kernel /boot/vmlinuz-2.6.19-1.2895.fc6 vga=795 ro root=/dev/hdd6 rhgb quiet
        initrd /boot/initrd-2.6.19-1.2895.fc6.img
This returned an Error 15: File Not Found
__________________
Desktop (64-bit) - F12, Debian Sid, OpenSUSE 11.2, ArchLinux
Reply With Quote
  #4  
Old 20th January 2007, 08:24 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
It would seem that my recollection of how I installed was correct, ie it was option 2 above. So I changed the reference in the fstab to /dev/sda5. Before I did this I boot into Kubuntu and ran:

mount -t reiserfs /dev/hdd6 /mnt/test
ls /mnt/test

mount -t reiserfs /dev/sda5 /mnt/test
ls /mnt/test

It was only with the second set of commands that ls returned anything. So I changed the FC6 fstab within Kubuntu and rebooted into FC6. Now the results show:

Code:
[root:~#] du -hxs /
6.9G    /
[root:~#] df -hxs /
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda5              21G  6.6G   14G  33% /
I'm surprised that the fstab allowed /dev/hdd6 to be mounted as root, yet an ls / was running of the /dev/sda5 partition.
__________________
Desktop (64-bit) - F12, Debian Sid, OpenSUSE 11.2, ArchLinux
Reply With Quote
  #5  
Old 20th January 2007, 08:32 PM
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,850
I get similar results.
Code:
du -hxs /
5.6G    /
Code:
df -hxs /
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5             7.3G  5.1G  1.9G  74% /
A friend explained to me once why there was a difference in the 2 outputs but I can't remember what he said.
__________________
Mark N.

Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p

411874 Get Counted
Reply With Quote
  #6  
Old 20th January 2007, 11:57 PM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
Reading the first post I suppose I wasn't clear that some information was saying that the partition size is 21GB while another was saying it is 15GB.
__________________
Desktop (64-bit) - F12, Debian Sid, OpenSUSE 11.2, ArchLinux
Reply With Quote
  #7  
Old 21st January 2007, 12:06 AM
u-noneinc-s Offline
Registered User
 
Join Date: Jul 2005
Location: Wine Country, California
Posts: 2,850
I see that now, and fdisk -l returns a "relatively correct" value
Code:
/dev/hda5            8760        9733     7823623+  83  Linux
I didn't bother to calculate, but it's close enough for me whereas yours is about 6 GB off
__________________
Mark N.

Perpetual Newbie
--
I wanted to proclaim myself "The Typo King" but there's way too much competion. :p

411874 Get Counted
Reply With Quote
  #8  
Old 24th January 2007, 09:40 AM
Jongi Offline
Registered User
 
Join Date: Oct 2005
Posts: 1,952
How is that the fstab has /dev/hdd6 mounted as the root partition yet an ls of the root partition listed the contents of what was is on /dev/sda5?
__________________
Desktop (64-bit) - F12, Debian Sid, OpenSUSE 11.2, ArchLinux
Reply With Quote
Reply

Tags
consistent, data

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Consistent but Partial "Connection refused" in Fedora 11 gost80 Servers & Networking 0 16th September 2009 09:07 PM
Consistent high load average, F8+MythTV buurin Using Fedora 4 12th January 2009 11:43 PM
udev rules - consistent removable drive device name semu5 Using Fedora 0 6th October 2007 11:58 AM
usb audio not consistent Fedora 6 whitecloud1 Using Fedora 0 18th February 2007 08:52 PM
FC2 install freezes/hangs at random points, but one is consistent orangechicken EOL (End Of Life) Versions 4 30th September 2004 01:26 PM


Current GMT-time: 08:52 (Saturday, 22-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Troy Photos - Keffi Instagram Photos - Fort-de-France