X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM, J_CHICKENPOX_72,T_TO_NO_BRKTS_FREEMAIL,UNPARSEABLE_RELAY autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q16AiRRd123010 for ; Mon, 6 Feb 2012 04:44:29 -0600 X-ASG-Debug-ID: 1328525064-04cb6c225e584490001-w1Z2WR Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by cuda.sgi.com with ESMTP id AHL2vnipifo4f5aP (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 06 Feb 2012 02:44:25 -0800 (PST) X-Barracuda-Envelope-From: sgi-linux-xfs@m.gmane.org X-Barracuda-Apparent-Source-IP: 80.91.229.3 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RuM3Y-0000h4-5w for linux-xfs@oss.sgi.com; Mon, 06 Feb 2012 11:44:20 +0100 Received: from bd206cc2.virtua.com.br ([bd206cc2.virtua.com.br]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Feb 2012 11:44:20 +0100 Received: from marcosfrm by bd206cc2.virtua.com.br with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Feb 2012 11:44:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: linux-xfs@oss.sgi.com From: Marcos Mello Subject: Re: Placing the root partition on an XFS filesystem is not supported Date: Mon, 6 Feb 2012 10:44:07 +0000 (UTC) X-ASG-Orig-Subj: Re: Placing the root partition on an XFS filesystem is not supported Lines: 36 Message-ID: References: <4F2B02C4.8070903@sandeen.net> <4F2C2C69.5020103@sandeen.net> <20120206001123.GJ6922@dastard> <4F2F1B28.3060308@sandeen.net> <20120206015430.GK6922@dastard> <4F2F33A8.1050403@sandeen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 189.32.108.194 (Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0) X-Barracuda-Connect: plane.gmane.org[80.91.229.3] X-Barracuda-Start-Time: 1328525065 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-URL: http://192.48.176.15:80/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at sgi.com X-Barracuda-Spam-Score: 0.51 X-Barracuda-Spam-Status: No, SCORE=0.51 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.0 tests=BSF_SC0_SA085, SUBJECT_FUZZY_TION, UNPARSEABLE_RELAY X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.87762 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.41 SUBJECT_FUZZY_TION Attempt to obfuscate words in Subject: 0.00 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 0.10 BSF_SC0_SA085 Custom Rule SA085 Eric Sandeen 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: > >> > >> 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