Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   df showing rootfs (http://www.linux-archive.org/gentoo-user/85204-df-showing-rootfs.html)

Willie Wong 05-09-2008 07:43 PM

df showing rootfs
 
Having just upgraded to baselayout2 and openrc, I found that when I
run df, I get

Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 8008068 6827336 1180732 86% /
/dev/root 8008068 6827336 1180732 86% /
udev 10240 88 10152 1% /dev
none 257012 0 257012 0% /dev/shm
rc-svcdir 1024 56 968 6% /lib/rc/init.d
/dev/hda6 401572 139560 262012 35% /var
/dev/hda7 29735368 28433384 1301984 96% /home

Note the first two lines are identical. Is this the way it is
supposed to be? Or did I miss a configuration variable somewhere
when I etc-update'd?

Thanks,

Willie
--
- How many surrealists does it take to change a light bulb?
- Two: one to hold the giraffe, the other to fill the bathtub with
lots of brightly colored machine tools.
Sortir en Pantoufles: up 518 days, 18:17
--
gentoo-user@lists.gentoo.org mailing list

Paul Colquhoun 05-11-2008 10:12 AM

df showing rootfs
 
On Sat, 10 May 2008, Willie Wong wrote:
> Having just upgraded to baselayout2 and openrc, I found that when I
> run df, I get
>
> Filesystem 1K-blocks Used Available Use% Mounted on
> rootfs 8008068 6827336 1180732 86% /
> /dev/root 8008068 6827336 1180732 86% /
> udev 10240 88 10152 1% /dev
> none 257012 0 257012 0% /dev/shm
> rc-svcdir 1024 56 968 6% /lib/rc/init.d
> /dev/hda6 401572 139560 262012 35% /var
> /dev/hda7 29735368 28433384 1301984 96% /home
>
> Note the first two lines are identical. Is this the way it is
> supposed to be? Or did I miss a configuration variable somewhere
> when I etc-update'd?


Just to let you know you are not alone.


$ uname -a
Linux tux 2.6.24-gentoo-r2 #1 SMP PREEMPT Tue Feb 12 18:54:03 EST 2008
x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD
GNU/Linux


$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 10008136 1208624 8799512 13% /
/dev/sda3 10008136 1208624 8799512 13% /
udev 10240 200 10040 2% /dev
shm 1029084 0 1029084 0% /dev/shm
rc-svcdir 1024 88 936 9% /lib64/rc/init.d
/dev/sda5 10008136 412576 9595560 5% /var
/dev/sda6 10008136 6799800 3208336 68% /usr
/dev/sda7 166998544 851032 166147512 1% /data
/dev/sdb2 7816780 1789648 6027132 23% /var/spool/news
/dev/sdb3 39068880 27590744 11478136 71% /usr/portage
/dev/sdb4 146508292 127278184 19230108 87% /home
/dev/mapper/vg00-backup
398266496 338484192 59782304 85% /backup



--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
--
gentoo-user@lists.gentoo.org mailing list

Justin 05-11-2008 12:11 PM

df showing rootfs
 
Paul Colquhoun schrieb:

On Sat, 10 May 2008, Willie Wong wrote:


Having just upgraded to baselayout2 and openrc, I found that when I
run df, I get

Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 8008068 6827336 1180732 86% /
/dev/root 8008068 6827336 1180732 86% /
udev 10240 88 10152 1% /dev
none 257012 0 257012 0% /dev/shm
rc-svcdir 1024 56 968 6% /lib/rc/init.d
/dev/hda6 401572 139560 262012 35% /var
/dev/hda7 29735368 28433384 1301984 96% /home

Note the first two lines are identical. Is this the way it is
supposed to be? Or did I miss a configuration variable somewhere

when I etc-update'd?




Just to let you know you are not alone.


$ uname -a
Linux tux 2.6.24-gentoo-r2 #1 SMP PREEMPT Tue Feb 12 18:54:03 EST 2008
x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD
GNU/Linux



$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 10008136 1208624 8799512 13% /
/dev/sda3 10008136 1208624 8799512 13% /
udev 10240 200 10040 2% /dev
shm 1029084 0 1029084 0% /dev/shm
rc-svcdir 1024 88 936 9% /lib64/rc/init.d
/dev/sda5 10008136 412576 9595560 5% /var
/dev/sda6 10008136 6799800 3208336 68% /usr
/dev/sda7 166998544 851032 166147512 1% /data
/dev/sdb2 7816780 1789648 6027132 23% /var/spool/news
/dev/sdb3 39068880 27590744 11478136 71% /usr/portage
/dev/sdb4 146508292 127278184 19230108 87% /home
/dev/mapper/vg00-backup
398266496 338484192 59782304 85% /backup





For me it is the same. Could it be that this is new in the new coreutils?

Graham Murray 05-11-2008 01:18 PM

df showing rootfs
 
Justin <justin@j-schmitz.net> writes:

> For me it is the same. Could it be that this is new in the new coreutils?

For me it started after the upgrade from baselayout-1 to baselayout-2.
--
gentoo-user@lists.gentoo.org mailing list

Willie Wong 05-11-2008 03:08 PM

df showing rootfs
 
On Sun, May 11, 2008 at 02:18:47PM +0100, Penguin Lover Graham Murray squawked:
> For me it started after the upgrade from baselayout-1 to baselayout-2.

Same here.

W
--
omega says hi
i think he might be sulking
because he has fur
~S
Sortir en Pantoufles: up 520 days, 13:42
--
gentoo-user@lists.gentoo.org mailing list

"Dirk Heinrichs" 05-11-2008 05:17 PM

df showing rootfs
 
Am Sonntag, 11. Mai 2008 schrieb Graham Murray:
> Justin <justin@j-schmitz.net> writes:
> > For me it is the same. Could it be that this is new in the new coreutils?
>
> For me it started after the upgrade from baselayout-1 to baselayout-2.

Interesting. I never saw it look different. What's the problem?

Bye...

Dirk

Daniel Iliev 05-11-2008 07:44 PM

df showing rootfs
 
On Fri, 9 May 2008 15:43:35 -0400
Willie Wong <wwong@Princeton.EDU> wrote:

> Having just upgraded to baselayout2 and openrc, I found that when I
> run df, I get
>
> Filesystem 1K-blocks Used Available Use% Mounted on
> rootfs 8008068 6827336 1180732 86% /
> /dev/root 8008068 6827336 1180732 86% /
> udev 10240 88 10152 1% /dev
> none 257012 0 257012 0% /dev/shm
> rc-svcdir 1024 56 968 6% /lib/rc/init.d
> /dev/hda6 401572 139560 262012 35% /var
> /dev/hda7 29735368 28433384 1301984 96% /home
>
> Note the first two lines are identical. Is this the way it is
> supposed to be? Or did I miss a configuration variable somewhere
> when I etc-update'd?
>
> Thanks,
>
> Willie

Are you, guys, doing some funky remounts like switch_root or
pivot_root (perhaps in initrd or initfs)?

On a "normal" system I get:
==
localhost ~ # uname -r
2.6.24-gentoo-r4
localhost ~ # df -h | head -n2
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 6,6G 4,8G 1,8G 74% /
==

On a system with initfs, where I do "switch_root" because of "root on
lvm2" case I get:
==
localhost ~ # uname -r
2.6.24-gentoo-r4-acpi
localhost ~ # df -h | head -2
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg1-root 485M 446M 40M 92% /
==


--
Best regards,
Daniel
--
gentoo-user@lists.gentoo.org mailing list

Alan McKinnon 05-11-2008 07:59 PM

df showing rootfs
 
On Sunday 11 May 2008, Daniel Iliev wrote:
> > Filesystem * * * * * 1K-blocks * * *Used Available Use% Mounted on
> > rootfs * * * * * * * * 8008068 * 6827336 * 1180732 *86% /
> > /dev/root * * * * * * *8008068 * 6827336 * 1180732 *86% /
> > udev * * * * * * * * * * 10240 * * * *88 * * 10152 * 1% /dev
> > none * * * * * * * * * *257012 * * * * 0 * *257012 * 0% /dev/shm
> > rc-svcdir * * * * * * * * 1024 * * * *56 * * * 968 * 6%
> > /lib/rc/init.d /dev/hda6 * * * * * * * 401572 * *139560 * *262012
> > *35% /var /dev/hda7 * * * * * * 29735368 *28433384 * 1301984 *96%
> > /home
> >
> > Note the first two lines are identical. Is this the way it is
> > supposed to be? Or did I miss a configuration variable somewhere
> > when I etc-update'd?
> >
> > Thanks,
> >
> > Willie
>
> Are you, guys, doing some funky remounts like switch_root or
> pivot_root (perhaps in initrd or initfs)?

No, I get it too since the upgrade to baselayout-2

I have a small / partition, everything else on lvm, drivers needed at
kernel load time compiled in, no initrd

--
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list

Willie Wong 05-11-2008 09:35 PM

df showing rootfs
 
On Sun, May 11, 2008 at 10:44:39PM +0300, Penguin Lover Daniel Iliev squawked:
> On Fri, 9 May 2008 15:43:35 -0400
> Willie Wong <wwong@Princeton.EDU> wrote:
>
> > Having just upgraded to baselayout2 and openrc, I found that when I
> > run df, I get
> >
> > Filesystem 1K-blocks Used Available Use% Mounted on
> > rootfs 8008068 6827336 1180732 86% /
> > /dev/root 8008068 6827336 1180732 86% /
> > udev 10240 88 10152 1% /dev
> > none 257012 0 257012 0% /dev/shm
> > rc-svcdir 1024 56 968 6% /lib/rc/init.d
> > /dev/hda6 401572 139560 262012 35% /var
> > /dev/hda7 29735368 28433384 1301984 96% /home
> >
> > Note the first two lines are identical. Is this the way it is
> > supposed to be? Or did I miss a configuration variable somewhere
> > when I etc-update'd?
> >
> > Thanks,
> >
> > Willie
>
> Are you, guys, doing some funky remounts like switch_root or
> pivot_root (perhaps in initrd or initfs)?
>

Not that I know of. I am definitely not using initfs or initrd. Don't
know about switch_root or pivot_root (where would those come up?)

I am curious why it reads "rootfs" and "/dev/root" in the output of df
instead of "/dev/hda2" as I have it in my /etc/fstab, and why there
are two entries.

W
--
M: Hot almond milk. Best stuff on earth.
Sortir en Pantoufles: up 520 days, 20:07
--
gentoo-user@lists.gentoo.org mailing list

Daniel Iliev 05-11-2008 10:05 PM

df showing rootfs
 
On Sun, 11 May 2008 21:59:35 +0200
Alan McKinnon <alan.mckinnon@gmail.com> wrote:

> On Sunday 11 May 2008, Daniel Iliev wrote:
> > Are you, guys, doing some funky remounts like switch_root or
> > pivot_root (perhaps in initrd or initfs)?
>
> No, I get it too since the upgrade to baselayout-2
>
> I have a small / partition, everything else on lvm, drivers needed at
> kernel load time compiled in, no initrd
>

I downloaded openrc + baselayout-2 and did some digging on the
decompressed files, but didn't find anything "strange". Just the
opposite - at first glance the new scripts dealing with the root fs
appear to be not as complex as those in baselayout-1. The only thing,
which I could put a note on, was that baselayout-2 provides a
new /etc/fstab file.

So, please, check what your /etc/fstab reads about "/" in case you have
accidentally overwritten it by answering "yes" to etc-update or
dispatch-conf.


--
Best regards,
Daniel
--
gentoo-user@lists.gentoo.org mailing list


All times are GMT. The time now is 03:13 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.