Lacie 5Big2 Failed After Firmware Update

Re: Lacie 5Big2 Failed After Firmware Update

Postby unlucky1 » Mon Jul 08, 2013 8:18 pm

root@(none):/ # mdadm --examine /dev/sda2
mdadm: No md superblock detected on /dev/sda2.
unlucky1
Donator VIP
Donator VIP
 
Posts: 184
Joined: Sun Jul 07, 2013 3:18 pm

Re: Lacie 5Big2 Failed After Firmware Update

Postby fvdw » Mon Jul 08, 2013 8:19 pm

@mijzelf how did you calculate the start sector for partition 2 ?
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5Big2 Failed After Firmware Update

Postby Mijzelf » Mon Jul 08, 2013 8:22 pm

I didn't calculate it. It's from this post: viewtopic.php?p=9477#p9477
Am I overlooking something?

@unlucky1, can you print the partition table in gdisk with 'p'?
Mijzelf
 
Posts: 255
Joined: Wed Nov 21, 2012 9:12 am

Re: Lacie 5Big2 Failed After Firmware Update

Postby fvdw » Mon Jul 08, 2013 8:28 pm

ok I see should be right

ps in the standalone kernel these devices nodes are defined.
Code: Select all
root@fvdwsl-nwsp2:/share/1000/fvdw/initramfs/dev # ls -al sd*
brw-rw----  1 root root 8,  0 2008-01-03 21:06 sda
brw-rw----  1 root root 8,  1 2012-12-23 20:53 sda1
brw-rw-rw-  1 root root 8, 10 2013-06-01 18:06 sda10
brw-rw----  1 root root 8,  2 2008-01-03 21:06 sda2
brw-rw----  1 root root 8,  3 2013-01-25 19:42 sda3
brw-rw----  1 root root 8,  4 2008-01-03 21:06 sda4
brw-rw----  1 root root 8,  5 2008-01-03 21:06 sda5
brw-rw----  1 root root 8,  6 2012-12-23 23:01 sda6
brw-rw----  1 root root 8,  7 2008-01-03 21:06 sda7
brw-rw----  1 root root 8,  8 2012-12-14 00:30 sda8
brw-rw-rw-  1 root root 8,  9 2013-06-01 18:06 sda9
brw-rw-r--  1 root root 8, 16 2008-01-03 21:06 sdb
brw-r--r--  1 root root 8, 17 2008-01-03 21:06 sdb1
brw-r--r--  1 root root 8, 18 2008-01-03 21:06 sdb2
brw-rw----  1 root root 8, 19 2008-01-03 21:06 sdb3
brw-rw----  1 root root 8, 20 2008-01-03 21:06 sdb4
brw-rw----  1 root root 8, 21 2012-12-28 18:37 sdb5
brw-rw----  1 root root 8, 22 2012-12-28 19:51 sdb6
brw-rw----  1 root root 8, 23 2012-12-28 18:38 sdb7
brw-rw----  1 root root 8, 24 2012-12-28 18:38 sdb8
brw-rw----  1 root root 8, 32 2013-01-25 23:10 sdc
brw-rw----  1 root root 8, 33 2013-01-25 23:12 sdc1
brw-rw----  1 root root 8, 34 2013-01-25 23:14 sdc2
brw-rw----  1 root root 8, 35 2012-12-28 18:12 sdc3
brw-rw----  1 root root 8, 36 2012-12-28 18:12 sdc4
brw-rw----  1 root root 8, 37 2012-12-28 18:12 sdc5
brw-rw----  1 root root 8, 38 2012-12-28 18:12 sdc6
brw-rw----  1 root root 8, 39 2012-12-28 18:12 sdc7
brw-rw----  1 root root 8, 40 2012-12-28 18:12 sdc8
brw-rw----  1 root root 8, 64 2013-01-01 22:46 sde
brw-rw----  1 root root 8, 65 2013-01-01 22:43 sde1
brw-rw----  1 root root 8, 66 2013-01-01 22:43 sde2
root@fvdwsl-nwsp2:/share/1000/fvdw/initramfs/dev #

as you can see sdd is missing, this because I did not made it for Lacie partition table, we need to create the missing ones...
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5Big2 Failed After Firmware Update

Postby unlucky1 » Mon Jul 08, 2013 8:28 pm

root@(none):/ # gdisk /dev/sda2
GPT fdisk (gdisk) version 0.8.5

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

Creating new GPT entries.

Command (? for help): p
Disk /dev/sda2: 1949476239 sectors, 929.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 00000000-0023-FD00-0000-000000000240
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1949476205
Partitions will be aligned on 2048-sector boundaries
Total free space is 1949476172 sectors (929.6 GiB)

Number Start (sector) End (sector) Size Code Name

Command (? for help):
unlucky1
Donator VIP
Donator VIP
 
Posts: 184
Joined: Sun Jul 07, 2013 3:18 pm

Re: Lacie 5Big2 Failed After Firmware Update

Postby Mijzelf » Mon Jul 08, 2013 8:30 pm

gdisk /dev/sda
not
gdisk /dev/sda2


@fvdw: As it looks now we'll only need sdd and sdd2.
Mijzelf
 
Posts: 255
Joined: Wed Nov 21, 2012 9:12 am

Re: Lacie 5Big2 Failed After Firmware Update

Postby unlucky1 » Mon Jul 08, 2013 8:32 pm

Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 5C7C3386-9367-3C4B-95F2-6B7403CA90CC
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 4048862 sectors (1.9 GiB)

Number Start (sector) End (sector) Size Code Name
2 4048896 1953525134 929.6 GiB 8300 Linux filesystem
unlucky1
Donator VIP
Donator VIP
 
Posts: 184
Joined: Sun Jul 07, 2013 3:18 pm

Re: Lacie 5Big2 Failed After Firmware Update

Postby fvdw » Mon Jul 08, 2013 8:36 pm

to create the dive nodes for sdd and sdd2 give these commands

Code: Select all
mknod -m 666 /dev/sdd b 8 48
mknod -m 666 /dev/sdd2 b 8 50



ps remember this kernel and file system is in RAM so after reboot the nodes will be gone...and need to recreated again
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Lacie 5Big2 Failed After Firmware Update

Postby unlucky1 » Mon Jul 08, 2013 8:37 pm

You want me to enter those cmds now?
unlucky1
Donator VIP
Donator VIP
 
Posts: 184
Joined: Sun Jul 07, 2013 3:18 pm

Re: Lacie 5Big2 Failed After Firmware Update

Postby Mijzelf » Mon Jul 08, 2013 8:38 pm

Ok. Originally is was:
Code: Select all
2 4048896 1953523711 929.6 GiB 0700 primary
So apparently the firmware left some sectors unused. This can disturb mdadm, because the raid header is at the end of the partition.
So repeat the gdisk instructions, and now give 1953523711 as end sector.
Mijzelf
 
Posts: 255
Joined: Wed Nov 21, 2012 9:12 am

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 8 guests