From: "KE Liew" <ke.liew@gmail.com>
To: xfs@oss.sgi.com
Subject: Re: mount: Function not implemented
Date: Fri, 14 Dec 2007 07:19:58 +0100 [thread overview]
Message-ID: <f0e429340712132219i7ccff209h7b098dc7f694bcb2@mail.gmail.com> (raw)
In-Reply-To: <f0e429340712132137j27b92e3ew8cadffef0208edd5@mail.gmail.com>
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 parent reply other threads:[~2007-12-14 6:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-13 15:46 mount: Function not implemented KE Liew
2007-12-13 22:47 ` David Chinner
2007-12-14 4:06 ` Eric Sandeen
2007-12-14 5:28 ` David Chinner
2007-12-14 5:37 ` KE Liew
2007-12-14 6:19 ` KE Liew [this message]
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=f0e429340712132219i7ccff209h7b098dc7f694bcb2@mail.gmail.com \
--to=ke.liew@gmail.com \
--cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox