From: Marcos Mello <marcosfrm@gmail.com>
To: linux-xfs@oss.sgi.com
Subject: Re: Placing the root partition on an XFS filesystem is not supported
Date: Mon, 6 Feb 2012 10:44:07 +0000 (UTC) [thread overview]
Message-ID: <loom.20120206T112757-532@post.gmane.org> (raw)
In-Reply-To: 4F2F33A8.1050403@sandeen.net
Eric Sandeen <sandeen <at> sandeen.net> writes:
> On 2/5/12 7:54 PM, Dave Chinner wrote:
> > On Sun, Feb 05, 2012 at 06:13:28PM -0600, Eric Sandeen wrote:
> >> On 2/5/12 6:11 PM, Dave Chinner wrote:
<snip>
> >>
> >> well, it was worse than that. I can work around the grub-on-a-partition
> >> problem, but what I ran into was grub reading & writing to/from the block
> >> device under a mounted filesystem - corruption and hilarity ensued.
> >
> > Oh, grub2 does worse things than that - grub_probe mounts any device
> > that appears to have a valid superblock so it can find out what
> > devices it needs to list in it's boot menu. I found this out when I
> > built a big DM stripe out of disks that used to have filesystems on
> > them. grub-probe mounted every single device -inside- the stripe
> > and ran log recovery on them, corrupting the new filesystem and
> > quite a bit of data on the DM stripe they were part of....
>
> Ok, your horror story wins from a pain POV ;)
>
> but sounds like someone should have zeroed out a bit more disk
> when setting up the dm stripes :(
>
> I've always thought maybe we needed a libzero.so to zap every known signature
> on disk....
>
Thanks a lot for the explanation folks! It would be nice have this documented on
the XFS FAQ
http://xfs.org/index.php/XFS_FAQ#Q:_Does_GRUB_work_with_XFS.3F
Eric, landed recently in util-linux's libblkid a function for that AFAIK
http://git.kernel.org/?p=utils/util-linux/util-linux.git;a=commitdiff;h=2b89be6c802bdbdf6830dbd060c96e33f179b135
Marcos
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-02-06 10:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-29 12:46 Placing the root partition on an XFS filesystem is not supported Marcos Mello
2012-01-30 9:12 ` Stan Hoeppner
2012-01-30 11:19 ` Marcos Mello
2012-02-02 21:40 ` Eric Sandeen
2012-02-03 14:39 ` Marcos Mello
2012-02-03 18:50 ` Eric Sandeen
2012-02-06 0:11 ` Dave Chinner
2012-02-06 0:13 ` Eric Sandeen
2012-02-06 1:54 ` Dave Chinner
2012-02-06 1:58 ` Eric Sandeen
2012-02-06 3:29 ` Stan Hoeppner
2012-02-06 10:44 ` Marcos Mello [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-02-04 4:17 Richard Scobie
2012-02-04 14:29 ` Marcos Mello
2012-02-05 0:47 ` Eric Sandeen
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=loom.20120206T112757-532@post.gmane.org \
--to=marcosfrm@gmail.com \
--cc=linux-xfs@oss.sgi.com \
/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.