[Eisfair] Aus dem Raid verlorene Partition wieder einhängen

Jürgen Witt j-witt at web.de
Sa Feb 3 13:49:58 CET 2018


Hallo NG,

ich habe auf einem meiner Server gerade dieses Szenario.

Welcome to eisfair!
base     : 2.8.2
eiskernel: 3.12.0 (3.16.52-eisfair-1-SMP)

server # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5]
[raid4] [multipath]
md4 : active raid1 sda4[0] sdb4[1]
      943016448 blocks super 1.2 [2/2] [UU]
      bitmap: 0/8 pages [0KB], 65536KB chunk

md3 : active raid1 sda3[0](F) sdb3[1]
      31440768 blocks super 1.2 [2/1] [_U]
      bitmap: 1/1 pages [4KB], 65536KB chunk

md2 : active raid1 sda2[0] sdb2[1]
      2096064 blocks super 1.2 [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

md1 : active raid1 sda1[0] sdb1[1]
      49088 blocks [2/2] [UU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

unused devices: <none>

Ich habe jetzt versucht die Partition wieder zu adden, aber es kommt
diese Fehlermeldung.

server # mdadm /dev/md3 --add /dev/sda3
mdadm: Cannot open /dev/sda3: Device or resource busy


Die beiden Raid-1-Festplatten sind laut smartmon wohl OK

│******************************************************************************************

│ Short report for drive '/dev/sda'

│******************************************************************************************

│smartctl 6.6 2017-11-05 r4594 [i686-linux-3.16.52-eisfair-1-SMP] (local
build)
│Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
│

│=== START OF READ SMART DATA SECTION ===

│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     0x002f   200   200   051    Pre-fail
Always       -       0
│  3 Spin_Up_Time            0x0027   143   139   021    Pre-fail
Always       -       3850
│  4 Start_Stop_Count        0x0032   100   100   000    Old_age
Always       -       16
│  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail
Always       -       0
│  7 Seek_Error_Rate         0x002e   200   200   000    Old_age
Always       -       0
│  9 Power_On_Hours          0x0032   073   073   000    Old_age
Always       -       19831
│ 10 Spin_Retry_Count        0x0032   100   253   000    Old_age
Always       -       0
│ 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age
Always       -       0
│ 12 Power_Cycle_Count       0x0032   100   100   000    Old_age
Always       -       16
│192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age
Always       -       10
│193 Load_Cycle_Count        0x0032   200   200   000    Old_age
Always       -       306
│194 Temperature_Celsius     0x0022   113   104   000    Old_age
Always       -       30
│196 Reallocated_Event_Count 0x0032   200   200   000    Old_age
Always       -       0
│197 Current_Pending_Sector  0x0032   200   200   000    Old_age
Always       -       0
│198 Offline_Uncorrectable   0x0030   200   200   000    Old_age
Offline      -       0
│199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age
Always       -       0
│200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age
Offline      -       0
│

│******************************************************************************************

│ Short report for drive '/dev/sdb'

│******************************************************************************************

│smartctl 6.6 2017-11-05 r4594 [i686-linux-3.16.52-eisfair-1-SMP] (local
build)
│Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
│

│=== START OF READ SMART DATA SECTION ===

│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     0x002f   200   200   051    Pre-fail
Always       -       0
│  3 Spin_Up_Time            0x0027   141   138   021    Pre-fail
Always       -       3916
│  4 Start_Stop_Count        0x0032   100   100   000    Old_age
Always       -       16
│  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail
Always       -       0
│  7 Seek_Error_Rate         0x002e   200   200   000    Old_age
Always       -       0
│  9 Power_On_Hours          0x0032   073   073   000    Old_age
Always       -       19831
│ 10 Spin_Retry_Count        0x0032   100   253   000    Old_age
Always       -       0
│ 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age
Always       -       0
│ 12 Power_Cycle_Count       0x0032   100   100   000    Old_age
Always       -       16
│192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age
Always       -       10
│193 Load_Cycle_Count        0x0032   200   200   000    Old_age
Always       -       299
│194 Temperature_Celsius     0x0022   110   103   000    Old_age
Always       -       33
│196 Reallocated_Event_Count 0x0032   200   200   000    Old_age
Always       -       0
│197 Current_Pending_Sector  0x0032   200   200   000    Old_age
Always       -       0
│198 Offline_Uncorrectable   0x0030   100   253   000    Old_age
Offline      -       0
│199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age
Always       -       0
│200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age
Offline      -       0
│

│******************************************************************************************

│ Short report for drive '/dev/sdc'

│******************************************************************************************

Weshalb ist die Partition raus und weshalb läßt sie sich nicht wieder
hinzu fügen? Ich bin mir sicher, daß ich das bei anderen Server schon so
gemacht habe.

Danke und Gruß
Jürgen


Mehr Informationen über die Mailingliste Eisfair