degradacja RAID1
: 28 czerwca 2016, 11:33
Witam
Server to NAS d-link-320, postawiony na nim Debian
po restarcie maszyny okazało się że rozsynchronizował sie RAID1. Z poziomu panelu konfiguracyjnego nic nie moge zrobić, prócz formatowania itd...
natomiast liknuksik pokazuje:
natomiast fdisk
jeszcze MDSTAT
Proszę o wskazówki jak się z tym uporać i nie stracić danych 
dzięki
Rafał
Server to NAS d-link-320, postawiony na nim Debian
Kod: Zaznacz cały
uname -a
Linux SAMB 2.6.31.8 #3 Thu Jan 17 15:01:45 CST 2013 armv5tel GNU/Linux
cat /etc/debian_version
7.11
natomiast liknuksik pokazuje:
Kod: Zaznacz cały
sudo mdadm --detail /dev/md0
/dev/md0:
Version : 0.90
Creation Time : Fri Dec 28 23:52:42 2012
Raid Level : raid1
Array Size : 530048 (517.71 MiB 542.77 MB)
Used Dev Size : 530048 (517.71 MiB 542.77 MB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Tue Jun 28 11:09:29 2016
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
UUID : cebf6fb9:db507c46:5c7f9d5a:bf971d3c
Events : 0.28171
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 0 0 1 removed
Kod: Zaznacz cały
sudo mdadm --detail /dev/md1
/dev/md1:
Version : 0.90
Creation Time : Fri Dec 28 23:52:45 2012
Raid Level : raid1
Array Size : 973632448 (928.53 GiB 997.00 GB)
Used Dev Size : 973632448 (928.53 GiB 997.00 GB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 1
Persistence : Superblock is persistent
Update Time : Tue Jun 28 11:31:03 2016
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
UUID : 203434ef:2538be37:ea23ed2d:9685dcff
Events : 0.97561
Number Major Minor RaidDevice State
0 8 2 0 active sync /dev/sda2
1 0 0 1 removed
Kod: Zaznacz cały
sudo fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
256 heads, 63 sectors/track, 121126 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sda1 1 1953525167 976762583+ ee GPT
Disk /dev/md0: 542 MB, 542769152 bytes
2 heads, 4 sectors/track, 132512 cylinders, total 1060096 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md0 doesn't contain a valid partition table
Disk /dev/md1: 997.0 GB, 996999626752 bytes
2 heads, 4 sectors/track, 243408112 cylinders, total 1947264896 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn't contain a valid partition table
Kod: Zaznacz cały
sudo cat /proc/mdstat
Personalities : [linear] [raid0] [raid1]
md1 : active raid1 sda2[0]
973632448 blocks [2/1] [U_]
md0 : active raid1 sda1[0]
530048 blocks [2/1] [U_]
unused devices: <none>

dzięki
Rafał