From owner-freebsd-questions@FreeBSD.ORG Sat Dec 16 16:38:24 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DEF916A500 for ; Sat, 16 Dec 2006 16:38:24 +0000 (UTC) (envelope-from fk@zepher.dyndns.org) Received: from rosy.dyndns.org (softbank220038116012.bbtec.net [220.38.116.12]) by mx1.FreeBSD.org (Postfix) with SMTP id E6E1743CBA for ; Sat, 16 Dec 2006 16:38:17 +0000 (GMT) (envelope-from fk@zepher.dyndns.org) Received: (qmail 78364 invoked from network); 16 Dec 2006 16:25:05 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 16 Dec 2006 16:25:05 -0000 To: fk@zepher.dyndns.org In-Reply-To: <20061216224959X.fk@zepher.dyndns.org> References: <457b3f3a.e4Sf+YRQsI6sLl6z%perryh@pluto.rain.com> <20061210152756J.fk@zepher.dyndns.org> <20061216224959X.fk@zepher.dyndns.org> X-Mailer: Mew version 1.94.2 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20061217012504P.fk@zepher.dyndns.org> Date: Sun, 17 Dec 2006 01:25:04 +0900 From: FK X-Dispatcher: imput version 20000228(IM140) Lines: 152 Cc: perryh@pluto.rain.com, freebsd-questions@freebsd.org Subject: Re: How can I fix "Cannot find file system superblock" problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Dec 2006 16:38:24 -0000 Dear listers, Hopefully this may help. To back up the necessary data, all I have to do is $tar -cvzf fk.backup.tgz /usr/home/fk/ assuming that the broken partition /dev/da0s2 is mounted on /, which means all data I need to back up is under /usr/home/fk/. Note: /usr/home/fk/ has lots of files including sub-directories. The data size is about 15MB (6MB after gzip-ped). It is almost precise, since I had had this kind of trouble a few times, I have had a custom to collect precious data in a single place and back up my data occasionally. But ... I will lose one-month-long-worthing data, which is horrible since I have modified a lot of data for the time..... Do I have any practical ways to back up the data without mounting it, given that I could not fix the superblock? -- FK. From: FK Subject: Re: How can I fix "Cannot find file system superblock" problem? Date: Sat, 16 Dec 2006 22:49:59 +0900 Message-ID: <20061216224959X.fk@zepher.dyndns.org> fk> Dear all, fk> fk> Still I can not solove the problem. fk> Maybe it is high time to give up, fk> but before that I wonder, fk> as everybody who has had this kind of trouble does, fk> I could mount it read-only and fk> back up my own data. fk> The data is too precious for me to lose... fk> fk> Thank you for your support. fk> fk> -- fk> FK. fk> fk> From: FK fk> Subject: Re: How can I fix "Cannot find file system superblock" problem? fk> Date: Sun, 10 Dec 2006 15:27:56 +0900 fk> Message-ID: <20061210152756J.fk@zepher.dyndns.org> fk> fk> fk> Dear all members, fk> fk> fk> fk> From: perryh@pluto.rain.com fk> fk> Subject: Re: How can I fix "Cannot find file system superblock" problem? fk> fk> Date: Sat, 09 Dec 2006 14:56:58 -0800 fk> fk> Message-ID: <457b3f3a.e4Sf+YRQsI6sLl6z%perryh@pluto.rain.com> fk> fk> fk> fk> perryh> > #diff -s sb1 sb2 fk> fk> perryh> > Files sb1 and sb2 are identical fk> fk> perryh> > #diff -s sb1 sb3 fk> fk> perryh> > Files sb1 and sb3 are identical fk> fk> perryh> fk> fk> perryh> It might be worthwhile to check one of these identical "alternates" fk> fk> perryh> against the "real" superblock. (AFAIK only the first 512 bytes, or fk> fk> perryh> less, actually matter.) You might also post a dump of the first 512 fk> fk> perryh> bytes and see if anyone notices anything. fk> fk> fk> fk> Thank you for your reply. fk> fk> Following your suggestions, I tried these. fk> fk> fk> fk> #dd if=/dev/da0s2a skip=0 bs=512 count=16 of=sb0 fk> fk> 16+0 records in fk> fk> 16+0 records out fk> fk> 8192 bytes transferred in 0.011918 secs (687360 bytes/sec) fk> fk> fk> fk> #diff -s sb0 sb1 fk> fk> Binary files sb0 and sb1 differ fk> fk> fk> fk> Dump for the master superblock (the first 512 bytes only). fk> fk> #od -x sb0 fk> fk> 0000000 d440 10fa 9b10 09e1 9524 7b55 f334 153f fk> fk> 0000020 f190 0b4a 387c 5d46 1b94 14b0 ae10 0b19 fk> fk> 0000040 4e3c b446 b870 138f 7190 0ab7 ff52 75e6 fk> fk> 0000060 5dac 130e bbf0 0a8a 0000 0000 0000 0000 fk> fk> 0000100 0000 0000 0000 0000 0000 0000 0000 0000 fk> fk> 0000120 1d12 7b57 1a88 113f d610 0a84 a2be 064f fk> fk> 0000140 7eb8 1226 3290 0a44 9e3c 7b57 f870 0f9e fk> fk> 0000160 cb00 0932 cad0 7b57 1764 13e4 31d0 0ad4 fk> fk> 0000200 0000 0000 0000 0000 0000 0000 4bfa 7b58 fk> fk> 0000220 f54c 1243 41e0 0a4e f1a6 41f0 d97c 13ef fk> fk> 0000240 eb00 0ad7 cd24 7b58 d334 10a3 66d0 09c8 fk> fk> 0000260 be3c 6d39 7870 15ab d1b0 0b6f 52be 7b59 fk> fk> 0000300 3eb8 0fe3 4600 0973 0000 0000 0000 0000 fk> fk> 0000320 0000 0000 0000 0000 0000 0000 0000 0000 fk> fk> 0000340 007c 7b5a 3b94 1288 2820 0a65 f890 3fda fk> fk> 0000360 1440 15e3 b780 0b82 81a6 7b5a 197c 10e8 fk> fk> 0000400 ed10 09da 0000 0000 0000 0000 0000 0000 fk> fk> 0000420 2f66 7b5b 1658 138d ed60 0ab5 0000 0000 fk> fk> 0000440 0000 0000 0000 0000 b090 7b5b f440 11ec fk> fk> 0000460 2d70 0a30 0000 0000 0000 0000 0000 0000 fk> fk> 0000500 31ba 7b5c d228 104c cff0 09ad 5e4e 7b5c fk> fk> 0000520 f11c 1491 98e0 0b0f ff52 78a4 5dac 11c6 fk> fk> 0000540 18f0 0a23 e3e8 7b5c 5ca0 13d1 c3d0 0acd fk> fk> 0000560 0000 0000 0000 0000 0000 0000 6512 7b5d fk> fk> 0000600 3a88 1231 d3e0 0a47 0000 0000 0000 0000 fk> fk> 0000620 0000 0000 e63c 7b5d 1870 1091 a8d0 09c1 fk> fk> 0000640 9abe 514e 5eb8 1471 9230 0b04 0000 0000 fk> fk> 0000660 0000 0000 0000 0000 93fa 7b5e 154c 1336 fk> fk> 0000700 5920 0a98 2ae4 26ef 9010 14b5 c730 0b1b fk> fk> 0000720 1524 7b5f f334 1195 8930 0a12 41ba 7b5f fk> fk> 0000740 1228 15db daa0 0b7f 9abe 7b5f 5eb8 10d5 fk> fk> 0000760 8f10 09d4 c2e4 7b5f f010 143a d4a0 0af1 fk> fk> fk> fk> Dump for one of alternative superblock (the first 512 bytes only). fk> fk> #od -x sb1 fk> fk> 0000000 0000 0000 0000 0000 0028 0000 0030 0000 fk> fk> 0000020 0038 0000 0bb8 0000 0000 0000 0000 0000 fk> fk> 0000040 0000 0000 0000 0000 0000 0000 0033 0000 fk> fk> 0000060 4000 0000 0800 0000 0008 0000 0008 0000 fk> fk> 0000100 0000 0000 0000 0000 c000 ffff f800 ffff fk> fk> 0000120 000e 0000 000b 0000 0008 0000 0800 0000 fk> fk> 0000140 0003 0000 0002 0000 0800 0000 0000 0000 fk> fk> 0000160 0000 0000 0800 0000 0040 0000 0000 0000 fk> fk> 0000200 0000 0000 0000 0000 0000 0000 0000 0000 fk> fk> 0000220 bf56 444b a5bf c858 0000 0000 0800 0000 fk> fk> 0000240 4000 0000 0000 0000 0000 0000 0000 0000 fk> fk> 0000260 0000 0000 0000 0000 5c00 0000 6f88 0001 fk> fk> 0000300 0000 0000 0000 0000 0000 0000 0000 0000 fk> fk> 0000320 0100 8000 0000 0000 0000 0000 0000 0000 fk> fk> 0000340 0000 0000 0000 0000 0000 0000 0000 0000 fk> fk> * fk> fk> 0001520 0000 0000 0000 0000 0000 0000 4000 0000 fk> fk> fk> fk> fk> fk> Does my superblock have anything wrong? fk> fk> fk> fk> This dump analysis is beyond my tecknical knowledge. fk> fk> So Thanks a lot for your help! fk> fk> fk> fk> -- fk> fk> FK. fk> fk> _______________________________________________ fk> fk> freebsd-questions@freebsd.org mailing list fk> fk> http://lists.freebsd.org/mailman/listinfo/freebsd-questions fk> fk> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" fk> _______________________________________________ fk> freebsd-questions@freebsd.org mailing list fk> http://lists.freebsd.org/mailman/listinfo/freebsd-questions fk> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"