Problems with raid5

Re: Problems with raid5

Postby fvdw » Mon Aug 17, 2015 11:08 pm

kernel is ok

I made an error in the ls command for modules
Code: Select all
cd /
ls -al /sda1/lib/modules
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Problems with raid5

Postby samrise » Mon Aug 17, 2015 11:09 pm

Dont ask me how, but i just rebooted and:

Code: Select all
login as: root
root@nas's password:
root@nas:/ # uname -a
Linux nas.local 3.14.2 #1 Thu Jan 8 23:24:14 CET 2015 armv5tel unknown unknown GNU/Linux
root@nas:/ #
samrise
 
Posts: 115
Joined: Thu Jan 01, 2015 9:59 pm

Re: Problems with raid5

Postby fvdw » Mon Aug 17, 2015 11:11 pm

you have a remarkable nas...

are the modules loaded ?
Code: Select all
lsmod

or
Code: Select all
cat boot.log
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Problems with raid5

Postby samrise » Mon Aug 17, 2015 11:17 pm

Before that, i put all disks back on place and...

Code: Select all
login as: root
root@nas's password:
root@nas:/ # uname -a
Linux nas.local 3.9.5 #25 Thu Feb 27 22:22:32 GMT+1 2014 armv5tel unknown unknow                                                                                        n GNU/Linux
root@nas:/ #
samrise
 
Posts: 115
Joined: Thu Jan 01, 2015 9:59 pm

Re: Problems with raid5

Postby fvdw » Mon Aug 17, 2015 11:24 pm

That means there is a kernel on either sdb6, sdc6, sdd6 or sde6

lets do the following, delete all partions of sdb, sdc sdd and sde

---edit
then use gdisk to create an GPT (EFI) partition table on sdb sdc, sdd and sde containing only a partition 8
That should should solve this problem
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Problems with raid5

Postby fvdw » Mon Aug 17, 2015 11:28 pm

After that it should boot the kernel from sda.

If the modules fails to load check if there is a folder /lib/modules/3.14.2 containing the modules.
If it is not there something was wrong in extracting the modules tar archive
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Problems with raid5

Postby fvdw » Mon Aug 17, 2015 11:29 pm

I go to bed now, see you tomorrow
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Problems with raid5

Postby fvdw » Mon Aug 17, 2015 11:31 pm

you can use the complete disk for partition 8, accept the default proposal in gdisk will probably do that
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Problems with raid5

Postby fvdw » Mon Aug 17, 2015 11:38 pm

One thing, you can not use GPT for sda. This because your bootloafer doesn't support GPT. If you do that the nas won't boot. The kernel however sopport gpt so that is able to recognize and access sdb...sde with gpt partition table
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Problems with raid5

Postby samrise » Mon Aug 17, 2015 11:51 pm

Its rebuilding now, lets see how it ends. I'm going to wait until it rebuilds to format. Any way, size is still weird:

Code: Select all
root@nas:/ # cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
md0 : active raid5 sde8[4] sdd8[2] sdc8[1] sdb8[0]
      2921581440 blocks level 5, 64k chunk, algorithm 2 [4/3] [UUU_]
      [>....................]  recovery =  0.2% (2536384/973860480) finish=1023.9min speed=15809K/sec

unused devices: <none>
root@nas:/ #


I build array with just 4 disks this time. One is marked as spare, but from what i read this afternoon its normal. Lets wait and see.

Again, thank you for your awsome help.
samrise
 
Posts: 115
Joined: Thu Jan 01, 2015 9:59 pm

PreviousNext

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 7 guests