From owner-freebsd-hardware@FreeBSD.ORG Tue Jun 4 04:48:44 2013 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 72EAAD03 for ; Tue, 4 Jun 2013 04:48:44 +0000 (UTC) (envelope-from jguojun@sbcglobal.net) Received: from nm29.access.bullet.mail.sp2.yahoo.com (nm29.access.bullet.mail.sp2.yahoo.com [98.139.44.156]) by mx1.freebsd.org (Postfix) with ESMTP id 4F3621AA1 for ; Tue, 4 Jun 2013 04:48:44 +0000 (UTC) Received: from [98.139.44.102] by nm29.access.bullet.mail.sp2.yahoo.com with NNFMP; 04 Jun 2013 04:48:43 -0000 Received: from [98.139.44.73] by tm7.access.bullet.mail.sp2.yahoo.com with NNFMP; 04 Jun 2013 04:48:43 -0000 Received: from [127.0.0.1] by omp1010.access.mail.sp2.yahoo.com with NNFMP; 04 Jun 2013 04:48:43 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 702851.44646.bm@omp1010.access.mail.sp2.yahoo.com Received: (qmail 41957 invoked by uid 60001); 4 Jun 2013 04:48:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1370321323; bh=D6ZSoO4vNB5Y5+E5nmrCoS1g1Yfldt4y6aMNWBTRPa8=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=OmTrvr8x7sHlismAdxHT4F1IXq2SsSRbpU4j4yrV3ZiGmZA1X+8xicM8JKnWKT30xdZ2Uqvg1NN3r0PHR0eAtfhIL2HAJy8QvkUxRX0vloKUlYU3eU3Z6N/b2ndo/vGek6/+XU7kmKo8ulLqT51HlwnC900r89ZcxrWhG1FLejA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=WFqf5poLPEBXZpZDwRURdkhnsruuOYWkHwc1wEhzTjo2uehwPvz0V9rz45Pmi02W6zIrwb4Qz6kgHfanqj2MjvKI+SbHytkbFPxBkCYVuBZdewqSozYPS6M4PcSFBqPczhOzXHgJRAQalLUqekc2tefGl9y0VCfo1n4e3rfExFs=; X-YMail-OSG: IsiDl.oVM1lOS0_RZoMzAvmIpchCl7Kapkuhkd2_rdDBCgw Dxoi.Uft7qzKM_QelcF821aPfVghwAIrUdLUsLI8JoEZ1sgV1VDtKdDt050j i7GXoOYpr8bY40R9nL1l0RdDvTcCiDBic.0MPuPWYiPgkjlrHdbYnG4g4tS6 dxx80c_uEQviEc1hJVU2W59EzU6fkHA.zNRmheCAE.cF3gXguqYnA6FI7pVR WD1Jyy.FmP9Rg0mGVoCE7bT30GrOM27HZNe.U7Je3_PaeYaN0wqEL63oe5Ja _.5pC4UJHgX8KnCL_7M0sSpbodrWmoRudUOsb5RSLvY7Ms7GTMGFU6ekQxdW Fiua8EIlS5YgiFap_Xnv6aC0MGqoKblOpOqyo_u_8Dd5RiZ7O_tbRSvEZJj7 UAAXBU1kd8d9pfhUE07av72Ew0wwusAN8ve8eFbvyUX81WbV2M504h.cV1D0 hKfhapw1RsR9SvLB4tt7VyGSeX6tQPgtIdEeCrtEeu20Z7ri_Lf4wujO__8b SMLd10ZtDdicxb7XYqps_SrZ6sDFFCBGjO7OAQyOe2A75NprA7d8- Received: from [75.37.5.212] by web180902.mail.ne1.yahoo.com via HTTP; Mon, 03 Jun 2013 21:48:43 PDT X-Rocket-MIMEInfo: 002.001, QSBjb3VwbGUgb2YgdGhpbmdzIHlvdSBuZWVkIHRvIGJlIHN1cmUgYmVmb3JlIGdvaW5nIHRvIGdldCBkaXNrIG1vdW50ZWQuCgojMS4gTWFrZSBzdXJlIHlvdXIgZGlza3Mgd2VyZSBub3QgY29uZmlndXJlZCBhcyBSQUlEIDAgLS0gc3RyaXBwaW5nLCBpZiBpdCB3YXMsIAp5b3UgTVVTVCBoYXZlIHlvdXIgcHJvbWlzZSB0eDIyMDAgY2FyZCBpbnN0YWxsZWQgdG8gZ2V0IHRob3NlIGRpc2sgb25saW5lLiBJZiAKbm90LCBjaGVjayAjMi4KCiMyLiBUaGVyZSBpcyBhIHByb2JsZW0gb24gR1BUIChHVUlEIFBhcnQBMAEBAQE- X-Mailer: YahooMailRC/729 YahooMailWebService/0.8.145.547 References: <1370269490.96590.YahooMailNeo@web125102.mail.ne1.yahoo.com> Message-ID: <1370321323.41914.YahooMailRC@web180902.mail.ne1.yahoo.com> Date: Mon, 3 Jun 2013 21:48:43 -0700 (PDT) From: Jin Guojun Subject: Re: Mounting old filesystems? To: Weaned on BSD , "freebsd-hardware@freebsd.org" In-Reply-To: <1370269490.96590.YahooMailNeo@web125102.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jun 2013 04:48:44 -0000 A couple of things you need to be sure before going to get disk mounted. #1. Make sure your disks were not configured as RAID 0 -- stripping, if it was, you MUST have your promise tx2200 card installed to get those disk online. If not, check #2. #2. There is a problem on GPT (GUID Partition Table) detection on either gpart or GPT utilities. Prior to FreeBSD starting using GPT, the information on sector 1 (LBA 1) is ignored, which may be garbage. Once GPT/GEOM utilities are deployed, old BSD drives are in trouble to be recognized by newer FreeBSD because sector 1 was filling some random data to confuse the GPT utilities. If you are sure you do not have DAID 0 configured on your drives, back up sector 0-32 on those drives, and zero out sector 1 (only 1 sector), then your drive should be recognized by newer FreeBSD. Assuming you are familiar with DD command to achieve the goal on disk drives. Please let us know if you need help on using DD. -Jin ________________________________ From: Weaned on BSD To: "freebsd-hardware@freebsd.org" Sent: Mon, June 3, 2013 7:25:00 AM Subject: Mounting old filesystems? Hi, I've two drives from FreeBSD 4.9 days that I'd like to recover from under 9.1. My drives are Seagate ST380013AS that once upon a time were in a raid under windows. There was a promise tx2200 card in the box but the drives were attached directly to the motherboard. FreeBSD was installed as root on an ide drive and the SATA drives were used as just data disks (maybe a swap file on one drive). Unfortunately after powering on for the first time in a couple of years my boot drive appears to be toast. And the SATA drives don't appear to be mountable under 9.1. Kernel boot shows messages like this ada0: ATA-6 SATA 1.x device ada0: 150.000MB/s transfers (SATA, UDMA5, PIO 8192bytes) ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 7680MB (15728640 512 byte sectors: 255H 63S/T 979C) Root mount waiting for: GRAID REPEATED MANY TIMES Root mount waiting for: GRAID GEOM_RAID: Promise: Force volume start due to timeout. GEOM_RAID: Promise: Disk ada0 state changed from NONE to ACTIVE. Root mount waiting for: GRAID GEOM_RAID: Promise: Subdisk kjihgfedcba`_^]\\[ZYXWVUTSRQPONM:1-ada0 state changed from NONE to ACTIVE. GEOM_RAID: Promise: Volume started. GEOM_RAID: Promise: Volume kjihgfedcba`_^]\\[ZYXWVUTSRQPONM state changed from STARTING to DEGRADED. GEOM_RAID: Promise: Provider raid/r0 for volume kjihgfedcba`_^]\\[ZYXWVUTSRQPONM created. Fdisk output for the drive shows ******* Working on device /dev/ada0 ******* parameters extracted from in-core disklabel are: cylinders=155061 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=155061 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: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 156296322 (76316 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: but glabel status shows Name Status Components gptid/34ac6b51-cbbe-11e2-b979-00123fa0b359 N/A da0p1 ufsid/4716b39c60b5c15d N/A raid/r0s1d So does 9.1 think my disk is in a raid ? And if so how do I mount to recover the data? If I recall correctly for both drives I'd use the entire disk for a partition. I have two of these drives and have powered only one up at boot. Thanks for any ideas on recovery! _______________________________________________ freebsd-hardware@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hardware To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org"