{"id":107,"date":"2016-07-18T22:23:26","date_gmt":"2016-07-18T20:23:26","guid":{"rendered":"http:\/\/bastardo.de\/?p=107"},"modified":"2016-07-18T22:23:26","modified_gmt":"2016-07-18T20:23:26","slug":"rescue-nfs-raid1-data","status":"publish","type":"post","link":"https:\/\/bastardo.de\/index.php\/2016\/07\/18\/rescue-nfs-raid1-data\/","title":{"rendered":"Rescue Raid Data \/ mount raid disks"},"content":{"rendered":"<p>Today i want to access\/mount a single disk of my\u00a0WDCloud Mirror Gen2 \u00a0 Raid1 with\u00a0my Linux<\/p>\n<p>i tried to mount it (first i have figured out the partition with gparted)<\/p>\n<pre class=\"brush:other\">root@pc:~# mkdir -p \/media\/nfsdisk \nroot@pc:~# mount \/dev\/sdb2 \/media\/\nmount: unknown filesystem type 'linux_raid_member'\n<\/pre>\n<pre class=\"brush:other\">Medium \/dev\/sda: 5,5 TiB, 6001175126016 Bytes, 11721045168 Sektoren\nEinheiten: sectors von 1 * 512 = 512 Bytes\nSektorengr\u00f6\u00dfe (logisch\/physisch): 512 Bytes \/ 4096 Bytes\nI\/O Gr\u00f6\u00dfe (minimal\/optimal): 4096 Bytes \/ 4096 Bytes\nTyp der Medienbezeichnung: gpt\nMedienkennung: 830CEC50-A486-4BBB-82F9-F61FAB8C98F4\n\nGer\u00e4t Start Ende Sektoren Gr\u00f6\u00dfe Typ\n\/dev\/sda1 2048 4196351 4194304 2G Microsoft basic data\n\/dev\/sda2 6293504 11718945899 11712652396 5,5T Microsoft basic data\n\/dev\/sda3 11718946816 11721045134 2098319 1G Microsoft basic data\n\/dev\/sda4 4196352 6293503 2097152 1G Microsoft basic data\n\nDie Eintr\u00e4ge der Partitionstabelle stimmen nicht mit der Reihenfolge der Medien \u00fcberein.\n<\/pre>\n<p>examine \/dev\/sdb2<\/p>\n<pre class=\"brush:other\">root@pc:~# mdadm --examine \/dev\/sdb2\n\/dev\/sdb2:\n          Magic : c54a7cba\n        Version : 1.0\n    Feature Map : 0x1\n     Array UUID : 4151f8f8:4151f8f8:4151f8f8:4151f8f8\n           Name : 1\n  Creation Time : Thu Nov 19 12:21:47 2015\n     Raid Level : raid1\n   Raid Devices : 2\n\n Avail Dev Size : 5852141296 (2790.52 GiB 2996.30 GB)\n     Array Size : 2926070648 (2790.52 GiB 2996.30 GB)\n   Super Offset : 5852141552 sectors\n          State : clean\n    Device UUID : 22f64ef8:4151f8f8:413abe12:34ac24a6\n\nInternal Bitmap : 2 sectors from superblock\n    Update Time : Mon Jul 18 20:57:32 2016\n       Checksum : 11e885b1 - correct\n         Events : 226\n\n\n   Device Role : Active device 0\n   Array State : A. ('A' == active, '.' == missing)\n<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>i tried to mount it with<\/p>\n<pre class=\"brush:other\">root@pc:~# mdadm -A -R \/dev\/md1 \/dev\/sdb2\nmdadm: \/dev\/sdb2 is busy - skipping<\/pre>\n<p>&nbsp;<\/p>\n<p>but it does not work<\/p>\n<pre class=\"brush:other\">root@pc:~# mdadm --stop \/dev\/md1\nmdadm: stopped \/dev\/md1\nroot@pc:~# mdadm -A -R \/dev\/md1 \/dev\/sdb2\nmdadm: \/dev\/md1 has been started with 1 drive (out of 2).\nroot@pc:~# mount \/dev\/md1 \/media\/nfsdisk\n<\/pre>\n<pre class=\"brush:other\">root@pc:~# lsblk\nNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT\nsda 8:0 0 1,8T 0 disk \n\u251c\u2500sda1 8:1 0 931,4G 0 part \n\u251c\u2500sda2 8:2 0 2,8G 0 part [SWAP]\n\u2514\u2500sda3 8:3 0 928,7G 0 part \/home\nsdb 8:16 0 2,7T 0 disk \n\u251c\u2500sdb1 8:17 0 2G 0 part \n\u251c\u2500sdb2 8:18 0 2,7T 0 part \n\u2502 \u2514\u2500md1 9:1 0 2,7T 0 raid1 \/media\/nfsdisk\n\u251c\u2500sdb3 8:19 0 1G 0 part \n\u2514\u2500sdb4 8:20 0 1G 0 part \nsdc 8:32 0 1,8T 0 disk \n\u2514\u2500sdc1 8:33 0 1,8T 0 part \nsdd 8:48 0 111,8G 0 disk \n\u2514\u2500sdd1 8:49 0 111,8G 0 part \/\nsde 8:64 0 119,2G 0 disk \n\u2514\u2500sde1 8:65 0 119,2G 0 part \nsr0 11:0 1 4,2G 0 rom<\/pre>\n<pre class=\"brush:other\">root@pc:~# mount | grep md1\n\/dev\/md1 on \/media\/nfsdisk type ext4 (rw)\n<\/pre>\n<p>hint at the end<\/p>\n<pre class=\"brush:other\">root@pc:~# mdadm --assemble --scan\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today i want to access\/mount a single disk of my\u00a0WDCloud Mirror Gen2 \u00a0 Raid1 with\u00a0my Linux i tried to mount it (first i have figured out the partition with gparted) root@pc:~# mkdir -p \/media\/nfsdisk root@pc:~# mount \/dev\/sdb2 \/media\/ mount: unknown filesystem type &#8218;linux_raid_member&#8216; Medium \/dev\/sda: 5,5 TiB, 6001175126016 Bytes, 11721045168 Sektoren Einheiten: sectors von 1 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"_links":{"self":[{"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/comments?post=107"}],"version-history":[{"count":1,"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":162,"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/posts\/107\/revisions\/162"}],"wp:attachment":[{"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/media?parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/categories?post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bastardo.de\/index.php\/wp-json\/wp\/v2\/tags?post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}