xfs
[Top] [All Lists]

Re: mount: Function not implemented

To: xfs@xxxxxxxxxxx
Subject: Re: mount: Function not implemented
From: "KE Liew" <ke.liew@xxxxxxxxx>
Date: Fri, 14 Dec 2007 07:19:58 +0100
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=
In-reply-to: <f0e429340712132137j27b92e3ew8cadffef0208edd5@mail.gmail.com>
References: <f0e429340712130746i9b24c15j8dd8f53a9da2c4c4@mail.gmail.com> <20071213224749.GJ4396912@sgi.com> <47620148.2060401@sandeen.net> <20071214052833.GM4396912@sgi.com> <f0e429340712132137j27b92e3ew8cadffef0208edd5@mail.gmail.com>
Sender: xfs-bounce@xxxxxxxxxxx
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]]


<Prev in Thread] Current Thread [Next in Thread>