Cannot access 5big network 2

Cannot access 5big network 2

Postby pacco » Mon May 18, 2015 10:04 am

I refer to my post on http://forum.nas-central.org/viewtopic.php?f=263&t=17165.

In the end I was able to get fvdw-sl console and telnet working, but I do not know how to proceed, fix the RAID and copy data from my Lacie. Data is vital to us!

If someone can help me I really appreciate it.

Kind regards,

Frank
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Cannot access 5big network 2

Postby Jocko » Mon May 18, 2015 11:53 am

Hi pacco,

if I remember well, the patch to handle the custom Lacie device node is included in the last standalone kernel version (@fvdw can you confirm this).

So you should not need to update the block node. To check this do
Code: Select all
ls -l /dev/sd[abcde]*
and read /proc/partitions

First step, is to check your partition table for all disks and in 2d step to check the raid device (you need to upload the static mdadm binary)

So post the content of /proc/partitions and the gdisk output for sd[abcde]
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cannot access 5big network 2

Postby pacco » Mon May 18, 2015 12:17 pm

I am not quite sure about the commands to use, but maybe this list is helpful?

Code: Select all
root@fvdw-sta-kirkwood:/ # cat /proc/partitions
major minor  #blocks  name

  31        0        500 mtdblock0
  31        1          4 mtdblock1
   8        0  976762584 sdc
   8        1          1 sdc1
   8        2  974751907 sdc2
   8        5     256977 sdc5
   8        6       8001 sdc6
   8        7       8001 sdc7
   8        8     851413 sdc8
   8        9     875511 sdc9
   8       10       8001 sdc10
   8       16  976762584 sdb
   8       17          1 sdb1
   8       18  974751907 sdb2
   8       21     256977 sdb5
   8       22       8001 sdb6
   8       23       8001 sdb7
   8       24     851413 sdb8
   8       25     875511 sdb9
   8       26       8001 sdb10
   8       32  976762584 sda
   8       33          1 sda1
   8       34  974751907 sda2
   8       37     256977 sda5
   8       38       8001 sda6
   8       39       8001 sda7
   8       40     851413 sda8
   8       41     875511 sda9
   8       42       8001 sda10
   8       48  976762584 sde
   8       49          1 sde1
   8       50  974751907 sde2
   8       53     256977 sde5
   8       54       8001 sde6
   8       55       8001 sde7
   8       56     851413 sde8
   8       57     875511 sde9
   8       58       8001 sde10
   8       64  976762584 sdd
   8       65          1 sdd1
   8       66  974751907 sdd2
   8       69     256977 sdd5
   8       70       8001 sdd6
   8       71       8001 sdd7
   8       72     851413 sdd8
   8       73     875511 sdd9
   8       74       8001 sdd10

root@fvdw-sta-kirkwood:/ # cat /proc/mounts
rootfs / rootfs rw,size=255048k,nr_inodes=63762 0 0
none /proc proc rw,relatime 0 0
none /sys sysfs rw,relatime 0 0
none /dev/pts devpts rw,relatime,mode=600 0 0

root@fvdw-sta-kirkwood:/ # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
unused devices: <none>

root@fvdw-sta-kirkwood:/ # fdisk -l

Disk /dev/mtdblock0: 0 MB, 512000 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock0 doesn't contain a valid partition table

Disk /dev/mtdblock1: 0 MB, 4096 bytes
255 heads, 63 sectors/track, 0 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/mtdblock1 doesn't contain a valid partition table

Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdc1               1         250     2008093+  5 Extended
/dev/sdc2             251      121601   974751907+ 83 Linux
/dev/sdc5               1          32      256977  82 Linux swap
/dev/sdc6              33          33        8001  83 Linux
/dev/sdc7              34          34        8001  83 Linux
/dev/sdc8              35         140      851413+ 83 Linux
/dev/sdc9             141         249      875511  83 Linux
/dev/sdc10            250         250        8001  83 Linux

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1         250     2008093+  f Win95 Ext'd (LBA)
/dev/sdb2             251      121601   974751907+ 83 Linux
/dev/sdb5               1          32      256977  83 Linux
/dev/sdb6              33          33        8001  83 Linux
/dev/sdb7              34          34        8001  83 Linux
/dev/sdb8              35         140      851413+ 83 Linux
/dev/sdb9             141         249      875511  83 Linux
/dev/sdb10            250         250        8001  83 Linux

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1         250     2008093+  5 Extended
/dev/sda2             251      121601   974751907+ 83 Linux
/dev/sda5               1          32      256977  82 Linux swap
/dev/sda6              33          33        8001  83 Linux
/dev/sda7              34          34        8001  83 Linux
/dev/sda8              35         140      851413+ 83 Linux
/dev/sda9             141         249      875511  83 Linux
/dev/sda10            250         250        8001  83 Linux

Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sde1               1         250     2008093+  5 Extended
/dev/sde2             251      121601   974751907+ 83 Linux
/dev/sde5               1          32      256977  82 Linux swap
/dev/sde6              33          33        8001  83 Linux
/dev/sde7              34          34        8001  83 Linux
/dev/sde8              35         140      851413+ 83 Linux
/dev/sde9             141         249      875511  83 Linux
/dev/sde10            250         250        8001  83 Linux

root@fvdw-sta-kirkwood:/ # ls -l /dev/sd[abcde]*
brw-rw----    1 root     root        8,   0 May  3 11:01 /dev/sda
brw-rw----    1 root     root        8,   1 May  3 11:01 /dev/sda1
brw-rw-rw-    1 root     root        8,  10 May  3 11:01 /dev/sda10
brw-rw----    1 root     root        8,   2 May  3 11:01 /dev/sda2
brw-rw----    1 root     root        8,   3 May  3 11:01 /dev/sda3
brw-rw----    1 root     root        8,   4 May  3 11:01 /dev/sda4
brw-rw----    1 root     root        8,   5 May  3 11:01 /dev/sda5
brw-rw----    1 root     root        8,   6 May  3 11:01 /dev/sda6
brw-rw----    1 root     root        8,   7 May  3 11:01 /dev/sda7
brw-rw----    1 root     root        8,   8 May  3 11:01 /dev/sda8
brw-rw-rw-    1 root     root        8,   9 May  3 11:01 /dev/sda9
brw-rw-r--    1 root     root        8,  16 May  3 11:01 /dev/sdb
brw-r--r--    1 root     root        8,  17 May  3 11:01 /dev/sdb1
brw-r--r--    1 root     root        8,  18 May  3 11:01 /dev/sdb2
brw-rw----    1 root     root        8,  19 May  3 11:01 /dev/sdb3
brw-rw----    1 root     root        8,  20 May  3 11:01 /dev/sdb4
brw-rw----    1 root     root        8,  21 May  3 11:01 /dev/sdb5
brw-rw----    1 root     root        8,  22 May  3 11:01 /dev/sdb6
brw-rw----    1 root     root        8,  23 May  3 11:01 /dev/sdb7
brw-rw----    1 root     root        8,  24 May  3 11:01 /dev/sdb8
brw-rw----    1 root     root        8,  32 May  3 11:01 /dev/sdc
brw-rw----    1 root     root        8,  33 May  3 11:01 /dev/sdc1
brw-rw----    1 root     root        8,  34 May  3 11:01 /dev/sdc2
brw-rw----    1 root     root        8,  35 May  3 11:01 /dev/sdc3
brw-rw----    1 root     root        8,  36 May  3 11:01 /dev/sdc4
brw-rw----    1 root     root        8,  37 May  3 11:01 /dev/sdc5
brw-rw----    1 root     root        8,  38 May  3 11:01 /dev/sdc6
brw-rw----    1 root     root        8,  39 May  3 11:01 /dev/sdc7
brw-rw----    1 root     root        8,  40 May  3 11:01 /dev/sdc8
brw-rw----    1 root     root        8,  64 May  3 11:01 /dev/sde
brw-rw----    1 root     root        8,  65 May  3 11:01 /dev/sde1
brw-rw----    1 root     root        8,  66 May  3 11:01 /dev/sde2

root@fvdw-sta-kirkwood:/ # gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 5477 sectors (2.7 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2         4016250      1953520064   929.6 GiB   8300  Linux filesystem
   5             126          514079   251.0 MiB   8200  Linux swap
   6          514143          530144   7.8 MiB     8300  Linux filesystem
   7          530208          546209   7.8 MiB     8300  Linux filesystem
   8          546273         2249099   831.5 MiB   8300  Linux filesystem
   9         2249163         4000184   855.0 MiB   8300  Linux filesystem
  10         4000248         4016249   7.8 MiB     8300  Linux filesystem

root@fvdw-sta-kirkwood:/ # gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sdb: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 5477 sectors (2.7 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2         4016250      1953520064   929.6 GiB   8300  Linux filesystem
   5             126          514079   251.0 MiB   8300  Linux filesystem
   6          514143          530144   7.8 MiB     8300  Linux filesystem
   7          530208          546209   7.8 MiB     8300  Linux filesystem
   8          546273         2249099   831.5 MiB   8300  Linux filesystem
   9         2249163         4000184   855.0 MiB   8300  Linux filesystem
  10         4000248         4016249   7.8 MiB     8300  Linux filesystem

root@fvdw-sta-kirkwood:/ # gdisk -l /dev/sdc
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sdc: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 5477 sectors (2.7 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2         4016250      1953520064   929.6 GiB   8300  Linux filesystem
   5             126          514079   251.0 MiB   8200  Linux swap
   6          514143          530144   7.8 MiB     8300  Linux filesystem
   7          530208          546209   7.8 MiB     8300  Linux filesystem
   8          546273         2249099   831.5 MiB   8300  Linux filesystem
   9         2249163         4000184   855.0 MiB   8300  Linux filesystem
  10         4000248         4016249   7.8 MiB     8300  Linux filesystem

root@fvdw-sta-kirkwood:/ # gdisk -l /dev/sdd
GPT fdisk (gdisk) version 0.8.5

Problem opening /dev/sdd for reading! Error is 2.
The specified file does not exist!

root@fvdw-sta-kirkwood:/ # gdisk -l /dev/sde
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format.
***************************************************************

Disk /dev/sde: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0000-0000-0000-000000000000
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 5477 sectors (2.7 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   2         4016250      1953520064   929.6 GiB   8300  Linux filesystem
   5             126          514079   251.0 MiB   8200  Linux swap
   6          514143          530144   7.8 MiB     8300  Linux filesystem
   7          530208          546209   7.8 MiB     8300  Linux filesystem
   8          546273         2249099   831.5 MiB   8300  Linux filesystem
   9         2249163         4000184   855.0 MiB   8300  Linux filesystem
  10         4000248         4016249   7.8 MiB     8300  Linux filesystem


root@fvdw-sta-kirkwood:/ # mdadm --examine /dev/sda2
/dev/sda2:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 9b62e8da:8318eaee:02e8a5b3:5e7f9db2
  Creation Time : Thu Jan  1 00:01:07 1970
     Raid Level : raid5
  Used Dev Size : 974751808 (929.60 GiB 998.15 GB)
     Array Size : 3899007232 (3718.38 GiB 3992.58 GB)
   Raid Devices : 5
  Total Devices : 4
Preferred Minor : 4

    Update Time : Mon May 18 09:28:40 2015
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 1
  Spare Devices : 0
       Checksum : b88d136b - correct
         Events : 309582

         Layout : left-symmetric
     Chunk Size : 64K

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

   0     0       8       34        0      active sync   /dev/sdc2
   1     1       8       18        1      active sync   /dev/sdb2
   2     2       8        2        2      active sync   /dev/sda2
   3     3       8       66        3      active sync   /dev/sde2
   4     4       0        0        4      faulty removed


pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Cannot access 5big network 2

Postby Jocko » Mon May 18, 2015 2:11 pm

So the devnode are not update in /dev :
Code: Select all
brw-rw----    1 root     root        8,   0 May  3 11:01 /dev/sda
whereas in partitions you have
Code: Select all
   8       32  976762584 sda
so minor 32.

You should have udevstart, so try to run it. If it is missing you find it here viewtopic.php?f=26&t=1412&p=9753&hilit=udevstart#p9755 and you need to upload it with tftp.

It seems that you have a faulty disk sde2 (or sdd2 with the update issue). So the 5th disk (counted from left to right when you see the back side: slots)

So first do udevstart and post again the output
mdadm --examine sd[abcde]2
ls -l /dev/sd[abcde]*
cat /proc/partitions


Later you should run e2fsck to check the real faulty disk
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cannot access 5big network 2

Postby pacco » Mon May 18, 2015 2:28 pm

Tried to unzip udevstart from the link provided, but I get a message the zip is corrupt :-(
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Cannot access 5big network 2

Postby Jocko » Mon May 18, 2015 2:34 pm

Indeed, in the past we have an issue with the attached file. I go to try to find it otherwise you need to wait fvdw who have the source file
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cannot access 5big network 2

Postby Jocko » Mon May 18, 2015 2:50 pm

Sorry, but I don't find udevstart but you can use Mijzelf script :
(udevstart script is now available here: viewtopic.php?f=7&t=1271&p=18801#p18801)

upload the file, set run permissions
Code: Select all
chmod 755 yourfilename
and run it
Code: Select all
 ./yourfilename
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cannot access 5big network 2

Postby pacco » Mon May 18, 2015 3:02 pm

udevstart gives an error invalid number major.

Code: Select all
root@fvdw-sta-kirkwood:/ # udevstart
mknod: invalid number 'major'
mknod: /dev/mtdblock0: File exists
mknod: /dev/mtdblock1: File exists
mknod: /dev/sdc: File exists
mknod: /dev/sdc1: File exists
mknod: /dev/sdc2: File exists
mknod: /dev/sdc5: File exists
mknod: /dev/sdc6: File exists
mknod: /dev/sdc7: File exists
mknod: /dev/sdc8: File exists
mknod: /dev/sdc9: File exists
mknod: /dev/sdc10: File exists
mknod: /dev/sdb: File exists
mknod: /dev/sdb1: File exists
mknod: /dev/sdb2: File exists
mknod: /dev/sdb5: File exists
mknod: /dev/sdb6: File exists
mknod: /dev/sdb7: File exists
mknod: /dev/sdb8: File exists
mknod: /dev/sdb9: File exists
mknod: /dev/sdb10: File exists
mknod: /dev/sda: File exists
mknod: /dev/sda1: File exists
mknod: /dev/sda2: File exists
mknod: /dev/sda5: File exists
mknod: /dev/sda6: File exists
mknod: /dev/sda7: File exists
mknod: /dev/sda8: File exists
mknod: /dev/sda9: File exists
mknod: /dev/sda10: File exists
mknod: /dev/sde: File exists
mknod: /dev/sde1: File exists
mknod: /dev/sde2: File exists
mknod: /dev/sde5: File exists
mknod: /dev/sde6: File exists
mknod: /dev/sde7: File exists
mknod: /dev/sde8: File exists
mknod: /dev/sde9: File exists
mknod: /dev/sde10: File exists
mknod: /dev/sdd: File exists
mknod: /dev/sdd1: File exists
mknod: /dev/sdd2: File exists
mknod: /dev/sdd5: File exists
mknod: /dev/sdd6: File exists
mknod: /dev/sdd7: File exists
mknod: /dev/sdd8: File exists
mknod: /dev/sdd9: File exists
mknod: /dev/sdd10: File exists
mknod: /dev/md0: File exists
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Re: Cannot access 5big network 2

Postby Jocko » Mon May 18, 2015 3:09 pm

Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cannot access 5big network 2

Postby pacco » Mon May 18, 2015 3:16 pm

With the command mdadm --assemble /dev/md0 /dev/sd[abce]2 --run (thanks to Mijzelf on nas-central.org) I was able to mount the RAID with 4 disks out of 5.
Now trying to transfer data out of the box to another NAS.

See posting: http://forum.nas-central.org/viewtopic.php?f=263&t=17165&start=0
pacco
 
Posts: 76
Joined: Tue Apr 28, 2015 1:27 pm

Next

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 1 guest

cron