Weaned on BSD
2013-06-03 14:25:02 UTC
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: <ST380013AS 3.19> 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: <General USB Flash Disk 1100> 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:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
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!
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: <ST380013AS 3.19> 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: <General USB Flash Disk 1100> 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:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
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!