All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vasily Averin <vvs@parallels.com>
To: grub-devel@gnu.org
Subject: filesystem check on software raid partitions
Date: Sat, 17 Oct 2009 16:19:57 +0400	[thread overview]
Message-ID: <4AD9B66D.2090502@parallels.com> (raw)

Dear all,

I've noticed that grub2 tries to detect filesystem on software raid partitions.
IMHO it isn't correct:
- this partition can have correct filesystem header or superblock, and therefore
it can look at the first glance as one having filesystem. However access to
filesystem data is tricky, you will access wrong data block.

For example I've got grub hang on the ext2 filesystem check of the first
partition of software raid0 partition (see datails in "[patch] deadloop in
grub_ext2_iterate_dir" letter).

- even if filesystem check finishes correctly, it will report the same fs-uuid
as filesystem on raid device, and It can confuse search by uuid command.

Therefore I think grub2 should check partition for raid/lvm/swap before start
of filesystem checks.

thank you,
	Vasily Averin






                 reply	other threads:[~2009-10-17 12:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AD9B66D.2090502@parallels.com \
    --to=vvs@parallels.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.