On Tue, Jan 15, 2019 at 1:38 PM stakanov <stakanov@eclipso.eu> wrote:
In data lunedì 14 gennaio 2019 22:48:25 CET, David C. Rankin ha scritto:
On 01/14/2019 03:46 PM, David C. Rankin wrote:
The [2] and [0] are "device numbers" and it means that for your raid1 array (/dev/md127)
sdc1[is attached as device 2]
and
sdb1[is attached as device 0]
(and no it doesn't matter that there is no device 1 -- which was most likely used with your old sdd1)
See: e.g. https://raid.wiki.kernel.org/index.php/Mdstat Something is wrong with that disc sdc. I have now: cat /proc/mdstat Personalities : [raid1] md127 : active raid1 sdb1[0] 976760640 blocks super 1.0 [2/1] [U_] bitmap: 5/8 pages [20KB], 65536KB chunk
This means the raid is broken again. So I did
mdadm --examine /dev/sdb1 /dev/sdb1: Magic : a92b4efc Version : 1.0 Feature Map : 0x1 Array UUID : d9640ee4:3a9d7b72:68fa6b80:1b61dc7d Name : any:homeraid Creation Time : Mon Jan 5 02:03:18 2015 Raid Level : raid1 Raid Devices : 2
Avail Dev Size : 1953521384 (931.51 GiB 1000.20 GB) Array Size : 976760640 (931.51 GiB 1000.20 GB) Used Dev Size : 1953521280 (931.51 GiB 1000.20 GB) Super Offset : 1953521648 sectors Unused Space : before=0 sectors, after=352 sectors State : clean Device UUID : fb0c2b23:77a6057c:2147a4c4:a53a04c4
Internal Bitmap : -16 sectors from superblock Update Time : Tue Jan 15 11:26:42 2019 Bad Block Log : 512 entries available at offset -8 sectors Checksum : 3836aa00 - correct Events : 1037106
Device Role : Active device 0 Array State : A. ('A' == active, '.' == missing, 'R' == replacing)
mdadm --examine /dev/sdc1 /dev/sdc1: Magic : a92b4efc Version : 1.0 Feature Map : 0x1 Array UUID : d9640ee4:3a9d7b72:68fa6b80:1b61dc7d Name : any:homeraid Creation Time : Mon Jan 5 02:03:18 2015 Raid Level : raid1 Raid Devices : 2
Avail Dev Size : 1953521632 (931.51 GiB 1000.20 GB) Array Size : 976760640 (931.51 GiB 1000.20 GB) Used Dev Size : 1953521280 (931.51 GiB 1000.20 GB) Super Offset : 1953521648 sectors Unused Space : before=0 sectors, after=352 sectors State : clean Device UUID : 5dd7fc0b:78a17f7f:38dcfece:e90c420f
Internal Bitmap : -16 sectors from superblock Update Time : Mon Jan 14 19:00:17 2019 Bad Block Log : 512 entries available at offset -8 sectors Checksum : 7a18e077 - correct Events : 1032992
Device Role : Active device 1 Array State : AA ('A' == active, '.' == missing, 'R' == replacing)
BUT when I
mdadm /dev/md127 --fail /dev/sdc1 --remove /dev/sdc1 mdadm: set device faulty failed for /dev/sdc1: No such device
Of course. In multiple places it clearly shows that currently array is running with single device. You cannot fail or remove device that is not part of array.
Is this hdd dead?
How should we know? It is obviously not dead, otherwise you could not display superblock on it. Show output of "journalctl -b" if system was booted before Mon Jan 14 19:00:17 2019 or at least "journalctl --since '2019-01-14 19:00'" if system was rebooted in between. At Mon Jan 14 19:00:17 2019 you had good array consisting of two devices. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org