Received: with ECARTIS (v1.0.0; list xfs); Wed, 25 Jun 2008 21:49:22 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.0-r574664 Received: from cuda.sgi.com (cuda1.sgi.com [192.48.168.28]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id m5Q4nBQs011251 for ; Wed, 25 Jun 2008 21:49:12 -0700 X-ASG-Debug-ID: 1214455812-047403450000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from web34508.mail.mud.yahoo.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with SMTP id 9C0E8D5634C for ; Wed, 25 Jun 2008 21:50:12 -0700 (PDT) Received: from web34508.mail.mud.yahoo.com (web34508.mail.mud.yahoo.com [66.163.178.174]) by cuda.sgi.com with SMTP id nRFxQBXb0GEMkwME for ; Wed, 25 Jun 2008 21:50:12 -0700 (PDT) Received: (qmail 14477 invoked by uid 60001); 26 Jun 2008 04:50:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=Z5XNcKtXQj35PLl4/ORiEnDMi/xhcDU9DX6NBt0RYXlbn3Y5zHSRi7K2uqa5F7hBpVly92531FiJ/IeZ9yOHitVdP1xtFT0TEiJX/4v0oUfjueRzwW+/29x88pr9xxgTlWFfGbbHtYpVmz8o89ZnAfTtfOz/W1q5E1O5CQLmvHc=; Received: from [96.14.164.210] by web34508.mail.mud.yahoo.com via HTTP; Wed, 25 Jun 2008 21:50:11 PDT X-Mailer: YahooMailWebService/0.7.199 Date: Wed, 25 Jun 2008 21:50:11 -0700 (PDT) From: Mark Reply-To: MusicMan529@yahoo.com X-ASG-Orig-Subj: XFS w/ extern journal as root on Linux? Subject: XFS w/ extern journal as root on Linux? To: xfs@oss.sgi.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <732501.9968.qm@web34508.mail.mud.yahoo.com> X-Barracuda-Connect: web34508.mail.mud.yahoo.com[66.163.178.174] X-Barracuda-Start-Time: 1214455812 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.54359 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV 0.91.2/6021/Wed Feb 27 15:55:48 2008 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 16549 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: musicman529@yahoo.com Precedence: bulk X-list: xfs Well, I tried to convert my non-/home space to XFS with an external journal, but Linux consistently choked on it. I passed "rootfstype=xfs root=/dev/sdb5 rootflags=logdev=/dev/sda2" on the kernel command line (via GRUB) but it panicked every time. Here is a transcript of the boot panic from an unmodified kernel: ~~~~~~~~~~~~~~~~~ md: Autodetecting RAID arrays. md: Scanned 0 and added 0 devices. md: autorun ... md: ... autorun DONE. XFS: Invalid device [/dev/sda2], error=-2 VFS: Cannot open root device "sdb5" or unknown-block(8,21) Please append a correct "root=" boot option; here are the available partitions: 0800 390711384 sda driver: sd 0801 1005448 sda1 0802 3008880 sda2 0803 30005640 sda3 0804 1 sda4 0805 356688328 sda5 0b00 1048575 sr0 driver: sr 0810 488386584 sdb driver: sd 0811 146488671 sdb1 0812 4008217 sdb2 0813 3004155 sdb3 0814 1 sdb4 0815 334882926 sdb5 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,21) ~~~~~~~~~~~~~~~~~ Judging from the output, it seems not to be able to open the log device /dev/sda2. I slipped in a couple statements in xfs_vfsops.c to watch for function entries and successful exits. I saw where xfs_blkdev_get() was called twice, the first time successfully (probably corresponding to /dev/sdb5), the second time unsuccessfully (/dev/sda2). Yet, the partition list at the end of the panic shows /dev/sda2 as recognized and available. Is this a known issue? As an acceptable substitute, I moved /usr to XFS with an external journal. Staying with the deadline scheduler, it's a noticeable difference. OOo launches in about 4 seconds. -- Mark "What better place to find oneself than on the streets of one's home village?" --Capt. Jean-Luc Picard, "Family"