انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


توزیع گنو/لینوکس اوبونتو ۲۰ ساله شد 🎉

نویسنده موضوع: Low level format  (دفعات بازدید: 1540 بار)

0 کاربر و 1 مهمان درحال مشاهده موضوع.

آفلاین mani.zaeim

  • Sr. Member
  • *
  • ارسال: 287
  • جنسیت : پسر
  • Free as in Freedom
Low level format
« : 14 آذر 1390، 03:18 ب‌ظ »
سلام دوستان من برای فرمت کردن یه هارد SATA که SMART مشکل داره می‌خوام Low level format انجام بدم، پیشنهادی دارید؟!

با hdparm انجام دادم اما زمان میبره بیشتر از ۲۴ ساعت طول میکش
for (( i=2400 ; i<1000000 ; i++ )) ; do sudo hdparm --write-sector $i --yes-i-know-what-i-am-doing /dev/sdb 2> /tmp/errorParm.txt >> /tmp/status1.txt ; echo $i >> /tmp/status2.txt;  done;

sudo smartctl -a -d sat,16 /dev/sdb
[
smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.0.0-13-generic] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K1000.C
Device Model:     Hitachi HDS721010CLA332
Serial Number:    JP2940HD0S7S9C
LU WWN Device Id: 5 000cca 373ca91a2
Firmware Version: JP4OA3EA
User Capacity:    1,000,204,886,016 bytes [1.00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  ATA-8-ACS revision 4
Local Time is:    Mon Dec  5 19:46:56 2011 MYT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.

General SMART Values:
Offline data collection status:  (0x84) Offline data collection activity
was suspended by an interrupting command from host.
Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 9812) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
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.
General Purpose Logging supported.
Short self-test routine
recommended polling time: (   1) minutes.
Extended self-test routine
recommended polling time: ( 164) minutes.
SCT capabilities:        (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

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
  1 Raw_Read_Error_Rate     0x000b   100   100   016    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   136   136   054    Pre-fail  Offline      -       93
  3 Spin_Up_Time            0x0007   164   164   024    Pre-fail  Always       -       228 (Average 235)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       1484
  5 Reallocated_Sector_Ct   0x0033   001   001   005    Pre-fail  Always   FAILING_NOW 1802
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   140   140   020    Pre-fail  Offline      -       30
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       2197
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1483
192 Power-Off_Retract_Count 0x0032   099   099   000    Old_age   Always       -       1500
193 Load_Cycle_Count        0x0012   099   099   000    Old_age   Always       -       1500
194 Temperature_Celsius     0x0002   193   193   000    Old_age   Always       -       31 (Min/Max 14/72)
196 Reallocated_Event_Count 0x0032   005   005   000    Old_age   Always       -       1907
197 Current_Pending_Sector  0x0022   097   097   000    Old_age   Always       -       228
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       3

SMART Error Log Version: 1
ATA Error Count: 14450 (device log contains only the most recent five errors)
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 14450 occurred at disk power-on lifetime: 2184 hours (91 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 03 05 08 80 03  Error: UNC 3 sectors at LBA = 0x03800805 = 58722309

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 00 08 80 40 00   8d+15:45:52.263  READ DMA EXT
  25 00 08 00 08 80 40 00   8d+15:45:32.635  READ DMA EXT
  25 00 08 00 08 40 40 00   8d+15:45:30.688  READ DMA EXT
  25 00 08 00 08 00 40 00   8d+15:45:29.281  READ DMA EXT
  25 00 08 00 08 c0 40 00   8d+15:45:29.202  READ DMA EXT

Error 14449 occurred at disk power-on lifetime: 2184 hours (91 days + 0 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 03 05 08 80 03  Error: UNC 3 sectors at LBA = 0x03800805 = 58722309

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 00 08 80 40 00   8d+15:45:32.635  READ DMA EXT
  25 00 08 00 08 40 40 00   8d+15:45:30.688  READ DMA EXT
  25 00 08 00 08 00 40 00   8d+15:45:29.281  READ DMA EXT
  25 00 08 00 08 c0 40 00   8d+15:45:29.202  READ DMA EXT
  25 00 08 00 08 80 40 00   8d+15:45:29.126  READ DMA EXT

Error 14448 occurred at disk power-on lifetime: 2182 hours (90 days + 22 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 04 04 08 40 03  Error: UNC 4 sectors at LBA = 0x03400804 = 54528004

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 00 08 00 08 40 40 00   8d+07:23:17.676  READ DMA EXT
  25 00 08 00 08 00 40 00   8d+07:23:16.014  READ DMA EXT
  25 00 08 00 08 c0 40 00   8d+07:23:15.935  READ DMA EXT
  25 00 08 00 08 80 40 00   8d+07:23:15.860  READ DMA EXT
  25 00 08 00 08 40 40 00   8d+07:23:15.792  READ DMA EXT

Error 14447 occurred at disk power-on lifetime: 2179 hours (90 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 48 b8 37 74 03  Error: UNC 72 sectors at LBA = 0x037437b8 = 57948088

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 80 80 37 74 40 00   7d+10:46:52.296  READ DMA EXT
  25 03 80 00 37 74 40 00   7d+10:46:02.862  READ DMA EXT
  25 03 80 80 36 74 40 00   7d+10:45:37.211  READ DMA EXT
  25 03 80 00 36 74 40 00   7d+10:43:48.207  READ DMA EXT
  ef 03 46 00 35 74 00 00   7d+10:43:48.202  SET FEATURES [Set transfer mode]

Error 14446 occurred at disk power-on lifetime: 2179 hours (90 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 72 0e 37 74 03  Error: UNC 114 sectors at LBA = 0x0374370e = 57947918

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  25 03 80 00 37 74 40 00   7d+10:46:02.862  READ DMA EXT
  25 03 80 80 36 74 40 00   7d+10:45:37.211  READ DMA EXT
  25 03 80 00 36 74 40 00   7d+10:43:48.207  READ DMA EXT
  ef 03 46 00 35 74 00 00   7d+10:43:48.202  SET FEATURES [Set transfer mode]
  ef 03 0c 00 35 74 00 00   7d+10:43:48.201  SET FEATURES [Set transfer mode]

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Aborted by host               90%      2184         -
# 2  Extended offline    Aborted by host               60%      2184         -
# 3  Short offline       Completed without error       00%      2182         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

1- man چیزه خوبیه
۲- google کنید
۳- خوب بخوانید

"If Windows API becomes the default on Linux then what is the point of Linux?" -- Mark Shuttleworth
MONO is Windows API

آفلاین Midgårdsormen

  • Hero Member
  • *
  • ارسال: 900
  • جنسیت : پسر
پاسخ به: Low level format
« پاسخ #1 : 14 آذر 1390، 04:45 ب‌ظ »
فرمت سطح پایین همینه...خیلی طول میکشه
یادمه برای یه درایو 256 گیگ،9 ساعت طول کشید

آفلاین mani.zaeim

  • Sr. Member
  • *
  • ارسال: 287
  • جنسیت : پسر
  • Free as in Freedom
پاسخ به: Low level format
« پاسخ #2 : 16 آذر 1390، 12:28 ق‌ظ »
پیشنهاد بهتر نبود؟!
1- man چیزه خوبیه
۲- google کنید
۳- خوب بخوانید

"If Windows API becomes the default on Linux then what is the point of Linux?" -- Mark Shuttleworth
MONO is Windows API