Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] PERFORCE change 78002 by Sergey A. Lipnevich for review

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: "Jeremy Blosser (emrys)" <jblosser-smgl AT firinn.org>
  • To: SM-Commit Daemon <sm-commit AT lists.ibiblio.org>
  • Subject: Re: [SM-Commit] PERFORCE change 78002 by Sergey A. Lipnevich for review
  • Date: Wed, 19 Apr 2006 09:57:53 -0500

On Apr 19, Perforce Review Daemon [p4review AT smee.org] wrote:
> Change 78002 by sergey_lipnevich@laptop on 2006/04/19 05:53:12
>
> Initialize LVM stuff before mounting root

What kind of testing did you do on this? In my previous experience LVM
wants a writeable /etc/lvm or it fails. (That's running it without any
kind of initrd, just using LVM for the non-/ mounts.)

> Affected files ...
>
> ... //sgl/grimoires/devel/smgl/init.d/init.d/mountall.sh#12 edit
> ... //sgl/grimoires/devel/smgl/init.d/init.d/mountroot.sh#2 edit
>
> Differences ...
>
> ==== //sgl/grimoires/devel/smgl/init.d/init.d/mountall.sh#12 (xtext) ====
>
> @@ -58,13 +58,6 @@
> mount -a -t /proc
> evaluate_retval
>
> - if optional_executable /sbin/vgscan && optional_executable
> /sbin/vgchange ; then
> - echo -n "Scanning for and initializing all available LVM volume
> groups..."
> - /sbin/vgscan --ignorelockingfailure --mknodes &&
> - /sbin/vgchange -ay --ignorelockingfailure
> - evaluate_retval
> - fi
> -
> checkfs
>
> if optional_executable /sbin/swapon ; then
>
> ==== //sgl/grimoires/devel/smgl/init.d/init.d/mountroot.sh#2 (xtext) ====
>
> @@ -51,6 +51,16 @@
> raidstart --all
> fi
>
> + #
> + # Enable logical volumes for LVM and create device nodes
> + #
> + if optional_executable /sbin/vgscan && optional_executable
> /sbin/vgchange ; then
> + echo -n "Scanning for and initializing all available LVM volume
> groups..."
> + /sbin/vgscan --ignorelockingfailure --mknodes &&
> + /sbin/vgchange -ay --ignorelockingfailure
> + evaluate_retval
> + fi
> +
> echo "Mounting root file system read only..."
> mount -n -o remount,ro /
> evaluate_retval || exit 1

Attachment: pgpQJZ7djGqZ5.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page