Pomoc RAID5 - odmontowany (po wymianie dysku i odbudowie)

yarek1313

Nowy użytkownik
Noobie
12 Październik 2016
4
0
1
40
QNAP
Ethernet
1 GbE
witam, potrzebuje pomocy
QNAP ts-412 z 4-ema dyskami po 2 TB
po 5 latach padł jeden dysk
po zamontowaniu nowego Volumen sie odbudował po paru godzinach
odmonotowany.jpg ale RAID5 jest odmontowany
sh:
Kod:
[~] # mdadm -D /dev/md0
/dev/md0:
        Version : 00.90.03
  Creation Time : Fri Dec 23 12:18:15 2011
     Raid Level : raid5
     Array Size : 5855836800 (5584.56 GiB 5996.38 GB)
  Used Dev Size : 1951945600 (1861.52 GiB 1998.79 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Wed Oct 12 13:04:11 2016
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

           UUID : 786df28d:68d806b3:46e14f2c:43fb33ee
         Events : 0.542400

    Number   Major   Minor   RaidDevice State
       0       8        3        0      active sync   /dev/sda3
       1       8       19        1      active sync   /dev/sdb3
       2       8       35        2      active sync   /dev/sdc3
       3       8       51        3      active sync   /dev/sdd3

zasoby sieciowe sa nie widoczne poniewaz RAID jest odmontowany.

Moje pytanie to : jak podmontowac RAID ?? żeby nic nie zepsuc (i nie stracic danych)

Wersja oprogramowania Firmware: 4.2.2. Build 20160901
Model serwera: QNAP TS-412
 
ciężko coś doradzić - coś jest nie halo - coś go boli... jaki dysk wsadziłeś? (pojemność/model oraz czy był nowy ze sklepu czy go już wcześniej używałeś). Daj nam więcej informacji.
moze prześledź te watki na forum:
Rozwiązany - TS-412U raid 5 odmontowany jak go zamontować ponownie bez utraty danych
Odzyskiwanie danych oraz składanie macierzy RAID w PC/Win - R-STUDIO

Na podstawie informacji z pierwszego linka kolegi Fixer NAS odpowiada nastepujaco:
Kod:
mount
Kod:
mount -a
Kod:
mount
Kod:
[~] # mount
/proc on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=32M)
none on /proc/bus/usb type usbfs (rw)
/dev/sda4 on /mnt/ext type ext3 (rw)
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
tmpfs on /mnt/rf/nd type tmpfs (rw,size=1m)
nfsd on /proc/fs/nfsd type nfsd (rw)
[~] # mount -a
[~] # mount
/proc on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
sysfs on /sys type sysfs (rw)
tmpfs on /tmp type tmpfs (rw,size=32M)
none on /proc/bus/usb type usbfs (rw)
/dev/sda4 on /mnt/ext type ext3 (rw)
/dev/md9 on /mnt/HDA_ROOT type ext3 (rw,data=ordered)
tmpfs on /mnt/rf/nd type tmpfs (rw,size=1m)
nfsd on /proc/fs/nfsd type nfsd (rw)
na polecenia:
Kod:
mkdir /qtest/;  mount /dev/md0 /qtest &&  ls -la /qtest/
Kod:
[~] # mkdir /qtest/; mount /dev/md0 /qtest && -la /qtest/
mount: wrong fs type, bad option, bad superblock on /dev/md0,
      missing codepage or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so
wynik polecenia:
Kod:
mdadm --stop /dev/md0
mdadm --examine /dev/sd[bcd]3
mdadm --assemble --scan
Kod:
[~] # mdadm -D /dev/md0
[~] # mdadm --stop /dev/md0
mdadm: stopped /dev/md0
[~] # mdadm --examine /dev/sd[bcd]3
/dev/sdb3:
          Magic : a92b4efc
        Version : 00.90.00
          UUID : 786df28d:68d806b3:46e14f2c:43fb33ee
  Creation Time : Fri Dec 23 12:18:15 2011
    Raid Level : raid5
  Used Dev Size : 1951945600 (1861.52 GiB 1998.79 GB)
    Array Size : 5855836800 (5584.56 GiB 5996.38 GB)
  Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0

    Update Time : Wed Oct 12 15:31:18 2016
          State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
  Spare Devices : 0
      Checksum : 30aa4c3b - correct
        Events : 0.542400

        Layout : left-symmetric
    Chunk Size : 64K

      Number  Major  Minor  RaidDevice State
this    1      8      19        1      active sync  /dev/sdb3

  0    0      8        3        0      active sync  /dev/sda3
  1    1      8      19        1      active sync  /dev/sdb3
  2    2      8      35        2      active sync  /dev/sdc3
  3    3      8      51        3      active sync  /dev/sdd3
/dev/sdc3:
          Magic : a92b4efc
        Version : 00.90.00
          UUID : 786df28d:68d806b3:46e14f2c:43fb33ee
  Creation Time : Fri Dec 23 12:18:15 2011
    Raid Level : raid5
  Used Dev Size : 1951945600 (1861.52 GiB 1998.79 GB)
    Array Size : 5855836800 (5584.56 GiB 5996.38 GB)
  Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0

    Update Time : Wed Oct 12 15:31:18 2016
          State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
  Spare Devices : 0
      Checksum : 30aa4c4d - correct
        Events : 0.542400

        Layout : left-symmetric
    Chunk Size : 64K

      Number  Major  Minor  RaidDevice State
this    2      8      35        2      active sync  /dev/sdc3

  0    0      8        3        0      active sync  /dev/sda3
  1    1      8      19        1      active sync  /dev/sdb3
  2    2      8      35        2      active sync  /dev/sdc3
  3    3      8      51        3      active sync  /dev/sdd3
/dev/sdd3:
          Magic : a92b4efc
        Version : 00.90.00
          UUID : 786df28d:68d806b3:46e14f2c:43fb33ee
  Creation Time : Fri Dec 23 12:18:15 2011
    Raid Level : raid5
  Used Dev Size : 1951945600 (1861.52 GiB 1998.79 GB)
    Array Size : 5855836800 (5584.56 GiB 5996.38 GB)
  Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0

    Update Time : Wed Oct 12 15:31:18 2016
          State : clean
Active Devices : 4
Working Devices : 4
Failed Devices : 0
  Spare Devices : 0
      Checksum : 30aa4c5f - correct
        Events : 0.542400

        Layout : left-symmetric
    Chunk Size : 64K

      Number  Major  Minor  RaidDevice State
this    3      8      51        3      active sync  /dev/sdd3

  0    0      8        3        0      active sync  /dev/sda3
  1    1      8      19        1      active sync  /dev/sdb3
  2    2      8      35        2      active sync  /dev/sdc3
  3    3      8      51        3      active sync  /dev/sdd3
[~] # mdadm --assemble --scan
mdadm: /dev/md0 has been started with 4 drives.

@Fixer dzieki za zainteresowanie

czekam na jakies instrukcje aby uniknac R-Studio
 
przez WinSCP nie widac danych
  • # EXT3

  • mount -t ext3 /dev/md0 /share/MD0_DATA

  • # EXT4

mount -t ext4 /dev/md0 /share/MD0_DATA

efekt tego:
Kod:
[~] # mount -t ext4 /dev/md0 /share/MD0_DATA
mount: wrong fs type, bad option, bad superblock on /dev/md0,
      missing codepage or other error
      In some cases useful info is found in syslog - try
      dmesg | tail  or so

nastepnie:
Kod:
 e2fsck /dev/md0
Kod:
[~] # e2fsck /dev/md0
e2fsck 1.42.6 (21-Sep-2012)
e2fsck: Filesystem revision too high while trying to open /dev/md0
The filesystem revision is apparently too high for this version of e2fsck.
(Or the filesystem superblock is corrupt)


The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

nadal prosze o pomoc aby uniknac R-Studio
 

Użytkownicy znaleźli tą stronę używając tych słów:

  1. odmontowany
  2. TS-412U raid 5 odmontowany jak go zamontować ponownie bez utraty danych
  3. raid odmontowany
  4. r-sync odzyskiwanie
  5. jak zamontować ponownie raid