From owner-freebsd-questions@FreeBSD.ORG Wed Feb 22 07:38:33 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BE3D16A422 for ; Wed, 22 Feb 2006 07:38:33 +0000 (GMT) (envelope-from dmehler26@woh.rr.com) Received: from ms-smtp-01-eri0.ohiordc.rr.com (ms-smtp-01-smtplb.ohiordc.rr.com [65.24.5.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D1F643D49 for ; Wed, 22 Feb 2006 07:38:32 +0000 (GMT) (envelope-from dmehler26@woh.rr.com) Received: from satellite (cpe-65-31-41-159.woh.res.rr.com [65.31.41.159]) by ms-smtp-01-eri0.ohiordc.rr.com (8.13.4/8.13.4) with SMTP id k1M7cUId001456 for ; Wed, 22 Feb 2006 02:38:30 -0500 (EST) Message-ID: <014901c63781$b2a4ee20$0200a8c0@satellite> From: "Dave" To: Date: Wed, 22 Feb 2006 02:29:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: repost: Incorrect superblock X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dave List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 07:38:33 -0000 Hello, Some urgency on this issue! Here's some additional details not sure the last msg went through. Thanks. Dave. Hello, I've got a 10 gb ide drive that has critical data on one of it's partitions /dev/ad1e. This drive was originally gmirrored in another box it worked fine, it was the master drive. Now i've installed this drive as a slave in another 6.0 box, and now it shows up as ad1 with the partition i want being ad1e. I did a mount it worked fine. So i knew the drive was working, i then unmounted the partition, and tried to dump it to another drive. This didn't work, dump got an error about incorrect superblock. I then did a mount -o ro /dev/ad1e /mnt and i'm getting an error "Incorrect superblock" from mount. I then tried fsck /dev/ad1e and got the same error msg. These partitions were formatted with ufs2 as their filesystem. I then ran bsdlabel ad1 and got a printout of my label, this showed up which gives me hope that this data can be retrieved. An error i'm getting from bsdlabel says that the c: partition does not cover the > entire disk and that may result in utilities not working correctly. Any > help appreciated. Some urgency! Dave. Script started on Sun Feb 19 07:56:47 2006 root@webserver:/dev#ls ad1* ad1 ad1a ad1b ad1c ad1d ad1e ad1f ad1g root@webserver:/dev#fdisk /dev/ad1 ******* Working on device /dev/ad1 ******* parameters extracted from in-core disklabel are: cylinders=19386 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=19386 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 0, size 50000 (24 Meg), flag 80 (active) beg: cyl 0/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 root@webserver:/dev#bsdlabel /dev/ad1 # /dev/ad1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 266240 16 4.2BSD 2048 16384 16648 b: 524288 266256 swap c: 19541024 0 unused 0 0 # "raw" part, don't edit d: 7340032 790544 4.2BSD 2048 16384 28552 e: 8388608 8130576 4.2BSD 2048 16384 28552 f: 2097152 16519184 4.2BSD 2048 16384 28552 g: 921600 18616336 4.2BSD 2048 16384 57608 bsdlabel: partition c doesn't cover the whole unit! bsdlabel: An incorrect partition c may cause problems for standard system utilities exit Script done on Sun Feb 19 08:02:34 2006