All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Some suggestions about lvminitrd_create
@ 2002-05-15  4:03 Jonathan Buzzard
  2002-05-16  9:27 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Buzzard @ 2002-05-15  4:03 UTC (permalink / raw)
  To: Linux-LVM

Just a couple of suggestions firstly it would be nice if it checked
for /boot/System.map-'uname -r' rather than for just /boot/System.map.
When you have more than one kernel floating about this is handy.

Second suggestion it would be nice if a -t option existed to allow a
choice in the type of filesystem the initrd is created in. Not everyone
is using ext2 these days :)

JAB.

-- 
Jonathan A. Buzzard                 Email: jonathan@buzzard.org.uk
Northumberland, United Kingdom.       Tel: +44(0)1661-832195

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Some suggestions about lvminitrd_create
  2002-05-15  4:03 [linux-lvm] Some suggestions about lvminitrd_create Jonathan Buzzard
@ 2002-05-16  9:27 ` Heinz J . Mauelshagen
  2002-05-16 10:09   ` Bas
  0 siblings, 1 reply; 6+ messages in thread
From: Heinz J . Mauelshagen @ 2002-05-16  9:27 UTC (permalink / raw)
  To: linux-lvm

On Wed, May 15, 2002 at 09:56:31AM +0100, Jonathan Buzzard wrote:
> 
> Just a couple of suggestions firstly it would be nice if it checked
> for /boot/System.map-'uname -r' rather than for just /boot/System.map.
> When you have more than one kernel floating about this is handy.

Yep, that's what the "-F" option aims to support.

> 
> Second suggestion it would be nice if a -t option existed to allow a
> choice in the type of filesystem the initrd is created in. Not everyone
> is using ext2 these days :)

Well, why do you want to use a different filesystem on a relatively tiny
and little populated ram disk?

> 
> JAB.
> 
> -- 
> Jonathan A. Buzzard                 Email: jonathan@buzzard.org.uk
> Northumberland, United Kingdom.       Tel: +44(0)1661-832195
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Some suggestions about lvminitrd_create
  2002-05-16  9:27 ` Heinz J . Mauelshagen
@ 2002-05-16 10:09   ` Bas
  2002-05-16 10:22     ` Patrick Caulfield
  0 siblings, 1 reply; 6+ messages in thread
From: Bas @ 2002-05-16 10:09 UTC (permalink / raw)
  To: linux-lvm

> >
> > Just a couple of suggestions firstly it would be nice if it checked
> > for /boot/System.map-'uname -r' rather than for just /boot/System.map.
> > When you have more than one kernel floating about this is handy.
>
> Yep, that's what the "-F" option aims to support.
>
> >
> > Second suggestion it would be nice if a -t option existed to allow a
> > choice in the type of filesystem the initrd is created in. Not everyone
> > is using ext2 these days :)
>
> Well, why do you want to use a different filesystem on a relatively tiny
> and little populated ram disk?

Because once you choose to use XFS, you don't need ext2 utils anymore, so
why would you want to install ext2utils ?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Some suggestions about lvminitrd_create
  2002-05-16 10:09   ` Bas
@ 2002-05-16 10:22     ` Patrick Caulfield
  2002-05-17  0:04       ` Francis SOUYRI
  0 siblings, 1 reply; 6+ messages in thread
From: Patrick Caulfield @ 2002-05-16 10:22 UTC (permalink / raw)
  To: linux-lvm

On Thu, May 16, 2002 at 05:10:58PM +0200, Bas wrote:
> > >
> > > Just a couple of suggestions firstly it would be nice if it checked
> > > for /boot/System.map-'uname -r' rather than for just /boot/System.map.
> > > When you have more than one kernel floating about this is handy.
> >
> > Yep, that's what the "-F" option aims to support.
> >
> > >
> > > Second suggestion it would be nice if a -t option existed to allow a
> > > choice in the type of filesystem the initrd is created in. Not everyone
> > > is using ext2 these days :)
> >
> > Well, why do you want to use a different filesystem on a relatively tiny
> > and little populated ram disk?
> 
> Because once you choose to use XFS, you don't need ext2 utils anymore, so
> why would you want to install ext2utils ?

You really want to use XFS for an initrd??

<fx tests:>

# dd if=/dev/zero of=disk bs=1024 count=8192
# mkfs.xfs disk
# mount -oloop disk /mnt
# df /mnt
Filesystem           1k-blocks      Used Available Use% Mounted on
/root/disk                3392        32      3360   1% /mnt

OK you could tune that up a bit but I think ext2 is more approriate for an
initrd and the ext2 utils don't take up /that/ much space: probably much less
than your XFS journals in fact :-)

patrick

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Some suggestions about lvminitrd_create
  2002-05-16 10:22     ` Patrick Caulfield
@ 2002-05-17  0:04       ` Francis SOUYRI
  2002-05-17  2:19         ` Patrick Caulfield
  0 siblings, 1 reply; 6+ messages in thread
From: Francis SOUYRI @ 2002-05-17  0:04 UTC (permalink / raw)
  To: linux-lvm

Patrick Caulfield wrote:

>On Thu, May 16, 2002 at 05:10:58PM +0200, Bas wrote:
>  
>
>>>>Just a couple of suggestions firstly it would be nice if it checked
>>>>for /boot/System.map-'uname -r' rather than for just /boot/System.map.
>>>>When you have more than one kernel floating about this is handy.
>>>>        
>>>>
>>>Yep, that's what the "-F" option aims to support.
>>>
>>>      
>>>
>>>>Second suggestion it would be nice if a -t option existed to allow a
>>>>choice in the type of filesystem the initrd is created in. Not everyone
>>>>is using ext2 these days :)
>>>>        
>>>>
>>>Well, why do you want to use a different filesystem on a relatively tiny
>>>and little populated ram disk?
>>>      
>>>
>>Because once you choose to use XFS, you don't need ext2 utils anymore, so
>>why would you want to install ext2utils ?
>>    
>>
>
>You really want to use XFS for an initrd??
>
><fx tests:>
>
># dd if=/dev/zero of=disk bs=1024 count=8192
># mkfs.xfs disk
># mount -oloop disk /mnt
># df /mnt
>Filesystem           1k-blocks      Used Available Use% Mounted on
>/root/disk                3392        32      3360   1% /mnt
>
>OK you could tune that up a bit but I think ext2 is more approriate for an
>initrd and the ext2 utils don't take up /that/ much space: probably much less
>than your XFS journals in fact :-)
>
>patrick
>
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
>  
>
Hello,

    I use "romfs" for the 'initrd" it take less place in the kernel than 
"ext2" (I use "reiserfs" for "normal" filesystems), the only problem is 
that "romfs" is a read only filesytem but you can use the "tmpfs" like 
this in your "linuxrc" script:

#!/bin/sh
mount -t tmpfs none /etc
mount -t proc none /proc
echo "Scanning for Volume Group..."
/sbin/vgscan
echo "Activating 'root' Volume Group"
/sbin/vgchange -a y /dev/vgroot
umount /proc
umount /etc

I use the "nash" shell from redhat, it take few place and have builtin 
the mount/umount commands.

The LVM is compiled in the kernel and I have these files in my "initrd":

/bin/nash
/bin/sh -> nash
/lib/ld-linux.so.2
/lib/libc.so.6
/lib/liblvm-10.so.1
/sbin/vgchange
/sbin/vgscan

Best regards.

Francis

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] Some suggestions about lvminitrd_create
  2002-05-17  0:04       ` Francis SOUYRI
@ 2002-05-17  2:19         ` Patrick Caulfield
  0 siblings, 0 replies; 6+ messages in thread
From: Patrick Caulfield @ 2002-05-17  2:19 UTC (permalink / raw)
  To: linux-lvm

On Fri, May 17, 2002 at 06:59:36AM +0200, Francis SOUYRI wrote:
> Hello,
> 
>    I use "romfs" for the 'initrd" it take less place in the kernel than 
> "ext2" (I use "reiserfs" for "normal" filesystems), the only problem is 
> that "romfs" is a read only filesytem but you can use the "tmpfs" like 
> this in your "linuxrc" script:

Ah, now that makes a lot of sense.

-- 

patrick

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-17  2:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-15  4:03 [linux-lvm] Some suggestions about lvminitrd_create Jonathan Buzzard
2002-05-16  9:27 ` Heinz J . Mauelshagen
2002-05-16 10:09   ` Bas
2002-05-16 10:22     ` Patrick Caulfield
2002-05-17  0:04       ` Francis SOUYRI
2002-05-17  2:19         ` Patrick Caulfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.