[FreeBSD] 6.3-R diskhandling

Chuck Swiger cswiger at mac.com
Sat Jan 26 17:33:37 PST 2008


Alphons "Fonz" van Werven wrote:
> Ghirai wrote:
>> This article might help: 
>> http://www.clearchain.com/wiki/FreeBSD_%26_Windows_Vista
> 
> Okay, thanks for the link. I was not aware of that.
> 
> However, I do think there's more to it than that. After all, Slackware was
> able to install LILO without any problems whatsoever. Both Vista and Linux
> would boot just fine.

This has been informative-- perhaps someone ought to file a PR about having 
the installer try to preserve this UID in the MBR...?

	-----

[ cue link to somewhat related thread "Re: "ad0: TIMEOUT - WRITE_DMA" type 
errors with 7.0-RC1"  ...in the freebsd-stable mailing list... ]

Gah.  :-)  I'm facing a similar situation coming up, as one of my machines has a:

> Model Family:     Maxtor MaXLine Plus II
> Device Model:     Maxtor 7Y250M0
> Serial Number:    Y65V3WKE
> Firmware Version: YAR51HW0
> User Capacity:    251,000,193,024 bytes
> Device is:        In smartctl database [for details use: -P show]
> ATA Version is:   7
> ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 0
> Local Time is:    Sat Jan 26 19:50:00 2008 EST
> SMART support is: Available - device has SMART capability.
>                   Enabled status cached by OS, trying SMART RETURN STATUS cmd.
> SMART support is: Enabled
> 
> === START OF READ SMART DATA SECTION ===
> SMART overall-health self-assessment test result: PASSED
> 
> General SMART Values:
> Offline data collection status:  (0x80) Offline data collection activity
>                                         was never started.
>                                         Auto Offline Data Collection: Enabled.
> Self-test execution status:      ( 118) The previous self-test completed having
>                                         the read element of the test failed.

[ after a long self-test: ^^^ bad ^^^ ]

> Total time to complete Offline
> data collection:                 ( 363) seconds.
> Offline data collection
> capabilities:                    (0x5b) SMART execute Offline immediate.
>                                         Auto Offline data collection on/off supp
> ort.
>                                         Suspend Offline collection upon new
>                                         command.
>                                         Offline surface scan supported.
>                                         Self-test supported.
>                                         No Conveyance Self-test supported.
>                                         Selective Self-test supported.
> SMART capabilities:            (0x0003) Saves SMART data before entering
>                                         power-saving mode.
>                                         Supports SMART auto save timer.
> Error logging capability:        (0x01) Error logging supported.
>                                         No General Purpose Logging support.
> Short self-test routine
> recommended polling time:        (   2) minutes.
> Extended self-test routine
> recommended polling time:        ( 107) minutes.
> 
> SMART Attributes Data Structure revision number: 16
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_ FAILED RAW_VALUE
>   3 Spin_Up_Time            0x0027   180   180   063    Pre-fail  Always       -        24027
>   4 Start_Stop_Count        0x0032   253   253   000    Old_age   Always       -        430
>   5 Reallocated_Sector_Ct   0x0033   217   217   063    Pre-fail  Always       -        373
>   6 Read_Channel_Margin     0x0001   253   253   100    Pre-fail  Offline      -        0
>   7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always       -        0
>   8 Seek_Time_Performance   0x0027   249   244   187    Pre-fail  Always       -        46905
>   9 Power_On_Minutes        0x0032   240   240   000    Old_age   Always       -        362h+29m
>  10 Spin_Retry_Count        0x002b   253   252   157    Pre-fail  Always       -        0
>  11 Calibration_Retry_Count 0x002b   253   252   223    Pre-fail  Always       -        0
>  12 Power_Cycle_Count       0x0032   253   253   000    Old_age   Always       -        253
> 192 Power-Off_Retract_Count 0x0032   253   253   000    Old_age   Always       -        0
> 193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -        0
> 194 Temperature_Celsius     0x0032   253   253   000    Old_age   Always       -        36
> 195 Hardware_ECC_Recovered  0x000a   253   252   000    Old_age   Always       -        2950
> 196 Reallocated_Event_Count 0x0008   252   252   000    Old_age   Offline      -        1
> 197 Current_Pending_Sector  0x0008   217   217   000    Old_age   Offline      -        364
> 198 Offline_Uncorrectable   0x0008   252   252   000    Old_age   Offline      -        1
> 199 UDMA_CRC_Error_Count    0x0008   199   198   000    Old_age   Offline      -        1
> 200 Multi_Zone_Error_Rate   0x000a   253   252   000    Old_age   Always       -        0
> 201 Soft_Read_Error_Rate    0x000a   253   252   000    Old_age   Always       -        8
> 202 TA_Increase_Count       0x000a   253   252   000    Old_age   Always       -        0
> 203 Run_Out_Cancel          0x000b   253   252   180    Pre-fail  Always       -        1
> 204 Shock_Count_Write_Opern 0x000a   253   252   000    Old_age   Always       -        0
> 205 Shock_Rate_Write_Opern  0x000a   253   252   000    Old_age   Always       -        0
> 207 Spin_High_Current       0x002a   253   252   000    Old_age   Always       -        0
> 208 Spin_Buzz               0x002a   253   252   000    Old_age   Always       -        0
> 209 Offline_Seek_Performnce 0x0024   194   194   000    Old_age   Offline      -        0
>  99 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -        0
> 100 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -        0
> 101 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -        0

...which I have backed up to both an external Firewire drive, and have set up 
a copy of this 250MB Maxtor onto a pair of WDC WD3200AAKS (320GB SATA2) drives 
in a nV RAID-1 mirror on an MSI-7220 (K8N) motherboard.  A clone of the 
FreeBSD 6.2 [32-bit] system worked fine modulo changing the disk device names 
in /etc/fstab, using the stock FreeBSD bootloader.

[ It's since been upgraded to RELENG_7 via 7.0RC1-amd64... ]

The Windows XP-Pro(SP2) clone of the disk boots far enough to display the blue 
sVGA graphics, but never presents a login prompt.  It's not going to be a big 
pain to reinstall of the system if I have to, but I'd be happier getting the 
clone working than having to merge changes in from a failing drive.

Regards,
-- 
-Chuck


More information about the freebsd-questions mailing list