Re: RAID zwei Platten aus NAS wie Daten lesen
Hallo,
Am Dienstag, 28. Juni 2016, 17:22:24 schrieb Peter Funk:
>Um an diese Daten zu kommen, müssen beide Platten des Verbundes
>gleichzeitig angeschlossen werden.
Ich poste einfach mal den ganzen Kram der beiden NAS Platten, die Infos zur
boot Platte habe ich weggelassen.
# fdisk von sdb und sdc
Disk /dev/sdb: 931,5 GiB, 1000204886016 bytes, 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
Disklabel type: gpt
Disk identifier: 411673C9-1BA0-47D8-B2D9-E08B148B9671
Device Start End Sectors Size Type
/dev/sdb1 62500 4031250 3968751 1,9G Linux RAID
/dev/sdb2 4031251 5031250 1000000 488,3M Linux RAID
/dev/sdb3 5031251 1953525134 1948493884 929,1G Linux RAID
Disk /dev/sdc: 298,1 GiB, 320072933376 bytes, 625142448 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
Disklabel type: gpt
Disk identifier: 08562CAA-64BA-4A64-90F4-9FF3E44F4F32
Device Start End Sectors Size Type
/dev/sdc1 2048 3999743 3997696 1,9G Linux RAID
/dev/sdc2 3999744 7999487 3999744 1,9G Linux RAID
/dev/sdc3 7999488 625141759 617142272 294,3G Linux RAID
Disk /dev/md0: 1,9 GiB, 2031878144 bytes, 3968512 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 /dev/md1: 488,2 MiB, 511901696 bytes, 999808 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
###############################################
# mdadm --examine /dev/sdb*
/dev/sdb:
MBR Magic : aa55
Partition[0] : 1953525167 sectors at 1 (type ee)
/dev/sdb1:
Magic : a92b4efc
Version : 0.90.00
UUID : 1427dac3:15924ecf:3e006a66:8bf3fae9
Creation Time : Fri Jan 14 20:10:02 2011
Raid Level : raid1
Used Dev Size : 1984256 (1938.08 MiB 2031.88 MB)
Array Size : 1984256 (1938.08 MiB 2031.88 MB)
Raid Devices : 2
Total Devices : 1
Preferred Minor : 0
Update Time : Tue Jun 28 11:00:04 2016
State : clean
Active Devices : 1
Working Devices : 1
Failed Devices : 1
Spare Devices : 0
Checksum : 41dafe30 - correct
Events : 2096708
Number Major Minor RaidDevice State
this 0 8 17 0 active sync /dev/sdb1
0 0 8 17 0 active sync /dev/sdb1
1 1 0 0 1 faulty removed
/dev/sdb2:
Magic : a92b4efc
Version : 0.90.00
UUID : 4d1435ad:96cde8ce:3e006a66:8bf3fae9
Creation Time : Fri Jan 14 20:10:02 2011
Raid Level : raid1
Used Dev Size : 499904 (488.27 MiB 511.90 MB)
Array Size : 499904 (488.27 MiB 511.90 MB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 1
Update Time : Fri Jun 24 17:39:38 2016
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : fba768c7 - correct
Events : 106
Number Major Minor RaidDevice State
this 0 8 2 0 active sync /dev/sda2
0 0 8 2 0 active sync /dev/sda2
1 1 8 18 1 active sync /dev/sdb2
/dev/sdb3:
Magic : a92b4efc
Version : 0.90.00
UUID : db53d9c9:43c6f553:300c23a8:361f2d0f
Creation Time : Sat Feb 9 14:05:45 2013
Raid Level : linear
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Update Time : Fri May 6 14:21:36 2016
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : d6b54578 - correct
Events : 5
Rounding : 64K
Number Major Minor RaidDevice State
this 0 8 3 0 active sync
0 0 8 3 0 active sync
1 1 8 19 1 active sync /dev/sdb3
###############################################
# mdadm --examine /dev/sdc*
/dev/sdc:
MBR Magic : aa55
Partition[0] : 625142447 sectors at 1 (type ee)
/dev/sdc1:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : a2070443:91437256:d38d094e:6e8e550e
Name : NAS326:0
Creation Time : Mon Jun 27 15:09:52 2016
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 3995648 (1951.33 MiB 2045.77 MB)
Array Size : 1997760 (1951.27 MiB 2045.71 MB)
Used Dev Size : 3995520 (1951.27 MiB 2045.71 MB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
Unused Space : before=1968 sectors, after=128 sectors
State : clean
Device UUID : 73153c1f:634fd63c:13b640f9:88c8df68
Update Time : Mon Jun 27 15:11:13 2016
Checksum : 6fdc54ea - correct
Events : 38
Device Role : Active device 0
Array State : A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc2:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 6bf45c57:20205db2:45cb264e:7f04ada5
Name : NAS326:1
Creation Time : Mon Jun 27 15:09:52 2016
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 3997696 (1952.33 MiB 2046.82 MB)
Array Size : 1998784 (1952.27 MiB 2046.75 MB)
Used Dev Size : 3997568 (1952.27 MiB 2046.75 MB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
Unused Space : before=1968 sectors, after=128 sectors
State : clean
Device UUID : 665846df:fddabce3:aba76a07:88e275d2
Update Time : Mon Jun 27 15:09:52 2016
Checksum : 5745bb77 - correct
Events : 2
Device Role : Active device 0
Array State : A. ('A' == active, '.' == missing, 'R' == replacing)
/dev/sdc3:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : e155c9f5:e2c7ec2c:6fc5ebf9:957ad6ab
Name : NAS326:2
Creation Time : Mon Jun 27 15:09:53 2016
Raid Level : raid1
Raid Devices : 1
Avail Dev Size : 616880128 (294.15 GiB 315.84 GB)
Array Size : 308439872 (294.15 GiB 315.84 GB)
Used Dev Size : 616879744 (294.15 GiB 315.84 GB)
Data Offset : 262144 sectors
Super Offset : 8 sectors
Unused Space : before=262064 sectors, after=384 sectors
State : clean
Device UUID : 1e1a3565:293bbc5a:3bf1dfe7:24414d75
Update Time : Mon Jun 27 16:15:57 2016
Checksum : ec7eb57e - correct
Events : 4
Device Role : Active device 0
Array State : A ('A' == active, '.' == missing, 'R' == replacing)
Reply to: