LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Data Recovery from Nas Acer NS04 (https://www.linuxquestions.org/questions/linux-newbie-8/data-recovery-from-nas-acer-ns04-874524/)

torin_duwall 04-12-2011 03:36 AM

Data Recovery from Nas Acer NS04
 
hi,
this post is my last chance to recover data from a raid.
this is the situation now:

i have an Nas Acer Altos EasyStore NS04 with raid level 5
(4 devices sata: Barracuda 7200 500gb)

nas info:
Code:


Linux version 2.6.10-iop1-1 (root@Builder) (gcc version 3.3.2) #1 Tue Feb 27 15:47:06 CST 2007

Personalities : [linear] [raid0] [raid1] [raid5] [raid10]
md1 : active raid5 sda3[0] sdd3[3] sdc3[2] sdb3[1]
      1464370176 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

md0 : active raid1 sda1[0] sdd1[3] sdc1[2] sdb1[1]
      131456 blocks [4/4] [UUUU]


Version : 00.90.01
  Creation Time : Wed Oct 28 17:09:52 2009
    Raid Level : raid5
    Array Size : 1464370176 (1396.53 GiB 1499.52 GB)
    Device Size : 488123392 (465.51 GiB 499.84 GB)
  Raid Devices : 4
  Total Devices : 4
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Tue Apr 12 09:36:38 2011
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

        Layout : left-symmetric
    Chunk Size : 64K

          UUID : b91826a0:cb8d4ce4:dccda1a6:72503e12
        Events : 0.986531

    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


and then ipstor (Falcon Software) mount several dev/VBDX for each shared folder created by web admin

/dev/vbdi2 on /nas/NASDisk-00002 type xfs (rw,nosuid,usrquota)
/dev/vbdi3 on /nas/NASDisk-00003 type xfs (rw,nosuid,usrquota)
/dev/vbdi7 on /nas/NASDisk-00007 type xfs (rw,nosuid,usrquota)
/dev/vbdi9 on /nas/NASDisk-00009 type xfs (rw,nosuid,usrquota)
/dev/vbdi13 on /nas/NASDisk-00013 type xfs (rw,nosuid,usrquota)
/dev/vbdi14 on /nas/NASDisk-00014 type xfs (rw,nosuid,usrquota)
/dev/vbdi15 on /nas/NASDisk-00015 type xfs (rw,nosuid,usrquota)
/dev/vbdi16 on /nas/NASDisk-00016 type xfs (rw,nosuid,usrquota)
/dev/vbdi18 on /nas/NASDisk-00018 type xfs (rw,nosuid,usrquota)
/dev/vbdi19 on /nas/NASDisk-00019 type xfs (rw,nosuid,usrquota)
/dev/vbdi21 on /nas/NASDisk-00021 type xfs (rw,nosuid,usrquota)

MD0 is the OS and MD1 is my data


after a reboot NAS was unreachable (eth0 didn't start and this is the only way to control NAS)
without disks NAS work on with default params

google (and forum like that) suggest me to connect disks in a server and start and try to mount MD device to recover data
so i download SystemRescueCd-0.4.2 and connect disks to a HP Proliant ML350 G6


system starts and systemrescuecd find ad array MD127

Code:

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md125 : active raid1 sda1[0] sdd1[3] sdb1[2] sdc1[1]
      131456 blocks [4/4] [UUUU]

md126 : active raid1 sdd2[0] sda2[3] sdc2[2] sdb2[1]
      131456 blocks [4/4] [UUUU]

md127 : active raid5 sda3[0] sdd3[3] sdb3[2] sdc3[1]
      1464370176 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]


Version : 0.90
  Creation Time : Thu Oct 29 11:17:16 2009
    Raid Level : raid5
    Array Size : 1464370176 (1396.53 GiB 1499.52 GB)
  Used Dev Size : 488123392 (465.51 GiB 499.84 GB)
  Raid Devices : 4
  Total Devices : 4
Preferred Minor : 127
    Persistence : Superblock is persistent

    Update Time : Tue Apr 12 09:01:47 2011
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

        Layout : left-symmetric
    Chunk Size : 64K

          UUID : 930c1e41:4eebc33e:509ae317:6b9e1fcc
        Events : 0.1500699

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


in DMESG
[  292.691838] REISERFS warning (device md127): sh-2021 reiserfs_fill_super: can not find reiserfs on md127
[  292.692553] reiser4[mount(2482)]: reiser4_init_read_super (fs/reiser4/init_super.c:608)[nikita-2608]:
[  292.692555] WARNING: md127: wrong master super block magic
[  292.693275] EXT3-fs (md127): error: can't find ext3 filesystem on dev md127.
[  292.694025] EXT2-fs (md127): error: can't find an ext2 filesystem on dev md127.
[  292.694710] EXT4-fs (md127): VFS: Can't find ext4 filesystem
[  292.695543] SQUASHFS error: Can't find a SQUASHFS superblock on md127
[  292.696303] FAT: bogus number of reserved sectors
[  292.696306] VFS: Can't find a valid FAT filesystem on dev md127.
[  292.710243] ISOFS: Unable to identify CD-ROM format.
[  292.710966] NTFS-fs error (device md127): read_ntfs_boot_sector(): Primary boot sector is invalid.
[  292.710971] NTFS-fs error (device md127): read_ntfs_boot_sector(): Mount option errors=recover not used. Aborting without trying to recover.
[  292.710975] NTFS-fs error (device md127): ntfs_fill_super(): Not an NTFS volume.
[  292.712083] grow_buffers: requested out-of-range block 18446744072343324671 for device md127
[  292.712087] grow_buffers: requested out-of-range block 18446744072343324415 for device md127
[  292.712091] grow_buffers: requested out-of-range block 18446744072343324670 for device md127
[  292.712094] grow_buffers: requested out-of-range block 18446744072343324414 for device md127
[  292.712098] grow_buffers: requested out-of-range block 18446744072343324669 for device md127
[  292.712101] grow_buffers: requested out-of-range block 18446744072343324413 for device md127
[  292.712105] grow_buffers: requested out-of-range block 18446744072343324521 for device md127
[  292.712118] grow_buffers: requested out-of-range block 18446744072343324265 for device md127
[  292.712122] grow_buffers: requested out-of-range block 18446744072343324519 for device md127
[  292.712127] grow_buffers: requested out-of-range block 18446744072343324263 for device md127


if i try to mount MD127

# mount /dev/md127 /mnt/nas
can't read superblock

# mount -t ext3 /dev/md127 /mnt/nas
mount: wrong fs type, bad option, bad superblock on /dev/md127


i tryed also to recreate array in a new device (for ex. MD128)
but error messages was the same



i dont' understand if problem is in md file system or superblock or something else.


i hope i gave you usefully information.
any help will be very very appreciate!!

jmajor 04-18-2011 07:32 PM

Notice that the order of the drives:

active raid5 sda3[0] sdd3[3] sdc3[2] sdb3[1]

has changed to

active raid5 sda3[0] sdd3[3] sdb3[2] sdc3[1]

Not sure if that is significant or not.

torin_duwall 04-19-2011 05:55 AM

yes, i saw it.
i tried to detach disks from raid and when i re-assembled the order changed



plese... help....


All times are GMT -5. The time now is 11:41 AM.