Received: with ECARTIS (v1.0.0; list xfs); Thu, 13 Dec 2007 22:26:10 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.0-r574664 (2007-09-11) on oss.sgi.com X-Spam-Level: ** X-Spam-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_20,HTML_MESSAGE autolearn=no 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 lBE6Q1ZI003375 for ; Thu, 13 Dec 2007 22:26:08 -0800 X-ASG-Debug-ID: 1197613573-29db021a0000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from wa-out-1112.google.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 4941D1142820 for ; Thu, 13 Dec 2007 22:26:13 -0800 (PST) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.183]) by cuda.sgi.com with ESMTP id m6P67k5DtPHCAkhQ for ; Thu, 13 Dec 2007 22:26:13 -0800 (PST) Received: by wa-out-1112.google.com with SMTP id k22so1679582waf.18 for ; Thu, 13 Dec 2007 22:26:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=q9EsHIaE3eTioLbhWVwV/QqKmZgpmixIfvvBPZL+zzc=; b=LM6jmOQa1rxblqvwRjmYOQkK0wqCuciPVGQ/EbTfH0YWpnJJUbQZ2ingICY+hNzCePf18EvAnk76u23KHD/NAa+qVSd2tiEszPS2MhvkPcWIWm7FzMrP/r5LW1NZVEaXlLamxxLxlcN19HbMCzoy+oGWC9HYNwP1PjvZvj++Ajg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=PkDU977/Pnu+MXCtbXqNXOwAbHmtjpVfJvSgBoHz6sZ4V8nIsbBoKWNd5lohxWJ8f+SgjbwY8va9HeyRzarindOZUStoHC0g5BiOUEEKUKdPptbvFlAdcDvlMFAtlMvYP8KVEgx96Q46TpSKUgPx7nfYlYyeCDLBouLXBHhvOpM= Received: by 10.114.59.1 with SMTP id h1mr1788694waa.39.1197613198966; Thu, 13 Dec 2007 22:19:58 -0800 (PST) Received: by 10.115.74.17 with HTTP; Thu, 13 Dec 2007 22:19:58 -0800 (PST) Message-ID: Date: Fri, 14 Dec 2007 07:19:58 +0100 From: "KE Liew" To: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: mount: Function not implemented Subject: Re: mount: Function not implemented In-Reply-To: MIME-Version: 1.0 References: <20071213224749.GJ4396912@sgi.com> <47620148.2060401@sandeen.net> <20071214052833.GM4396912@sgi.com> X-Barracuda-Connect: wa-out-1112.google.com[209.85.146.183] X-Barracuda-Start-Time: 1197613573 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: -1.08 X-Barracuda-Spam-Status: No, SCORE=-1.08 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=3.0 tests=HTML_10_20, HTML_MESSAGE X-Barracuda-Spam-Report: Code version 3.1, rules version 3.1.36564 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 HTML_MESSAGE BODY: HTML included in message 0.94 HTML_10_20 BODY: Message is 10% to 20% HTML X-Virus-Scanned: ClamAV 0.91.2/5115/Thu Dec 13 09:46:23 2007 on oss.sgi.com X-Virus-Status: Clean Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-length: 922 X-archive-position: 13943 X-ecartis-version: Ecartis v1.0.0 Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com X-original-sender: ke.liew@gmail.com Precedence: bulk X-list: xfs Just for document purposes... sandeen mentioned to do, dd if=/dev/hdb bs=512 count=128 | hexdump -C | grep XFSB 00000000 58 46 53 42 00 01 00 00 00 00 00 00 00 3a 38 b0 |XFSB.........:8.| 00007e00 58 46 53 42 00 00 10 00 00 00 00 00 03 a3 88 a0 |XFSB............| 128+0 records in 128+0 records out 65536 bytes (66 kB) copied, 0.0283236 seconds, 2.3 MB/s So recreating the partition should work. First we backup the sectors. dd if=/dev/hdb bs=512 count=256 of=backup_sectors Then the partition is recreated using fdisk /dev/hdb, option n -> p (primary -> 1 for partition 1 -> default first cylinder 1 -> default last cylinder 30401 -> (w)rite table to disk and exit. :) Running xfs_check /dev/hdb1 returns no errors, which was hoped. Mounting the partition shows ALL files present! So everything is working back to normal. Thanks to XFS team and sandeen! :) KwangErn [[HTML alternate version deleted]]