Error creating Raid 5

Re: Problems with raid5

Postby Jocko » Fri Sep 18, 2015 12:38 pm

Yes, I made a confusion between your topic and samrise's one

Indeed you used msdos partitions tables and at least that proves that there is no issue with the kernel version to build raid on this partitions table type (so samrise's issue is amazing)

if on your sda disk you have still this partitions tables (viewtopic.php?f=30&t=2168&start=10#p18188), maybe there is an issue if sda is an AF disk.
Indeed the end block of partition 4 and 8 is wrong and if you have an AF disk you have a misalignment issue between logical sectors (512) and physical sectors (4096)
A misalignment decreases drastically the I/O speeds.
Also your raid uses as metadata version 0.90 (default version) and then the superblock is written into a 64K aligned block that starts at least 64K and less than 128K from the end of the device. So on the misaligned block !
Code: Select all
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               9          72      514080  83 Linux
/dev/sda2              73         136      514080  83 Linux
/dev/sda3             137         200      514080  82 Linux swap
/dev/sda4             201      121601   975153532+  5 Extended
/dev/sda5             209         312      835380  83 Linux
/dev/sda6             321         328       64260  83 Linux
/dev/sda7             337         400      514080  83 Linux
/dev/sda8             409      121601   973482772+ 83 Linux
So the size of partition 4 and 8 is not divisible by 8 :
(121601-201+1)/8=121400,125
(121601-409+1)/8=121192,125

I don't known where you got this partition table
Please to note that the end block value is right with 121600 for the other disks.

First step, can you confirm me that you have an AF disk?
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby b1gnas » Mon Sep 21, 2015 8:13 am

The partition table for sda was made by the installer automatically... i never made any changes.

Since i noticed that the end block on sda was 121601 after many tries with 121600 i tried with 121601 on the other disks too...but if the correct value is 121600 i will change it.

My disks now are all Seagate 1TB ST1000DM003 and they are AF disks
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

Re: Problems with raid5

Postby Jocko » Mon Sep 21, 2015 1:51 pm

b1gnas wrote:The partition table for sda was made by the installer automatically... i never made any changes.
Indeed it seems to have an issue with the install script if you use a msdos table.

With gpt tool, there is a mechanism to auto-align logical sectors with physical sectors but not with fdisk

So currently the script set as end block the last available sector for partition 4 and 8.
! You need to use the last fvdw-sl console version 5.5

To fix it and keep your settings do :
- Before using fvdw-sl console, open a Putty window and backup sda5
Code: Select all
dd if=/dev/sda5 of=/share/1100/sda5.img

- Stop your nas, and use fvdw-sl console to load a standalone kernel (UIMAGE-26394-5BIG1-42standalone) and get a telnet access.

- in the telnet window, assemble your raid
Code: Select all
mkdir /md
mdadm --assemble /dev/md0 /dev/sdb8 /dev/sdc8 /dev/sdd8 /dev/sde8

- mount md0
Code: Select all
mount /dev/md0 /md

- check if you see the file sda5.img
Code: Select all
ls -l /md

- if yes, then we can delete partition 4, 5, 6, 7 and 8:
Code: Select all
fdisk /dev/sda

- in the fdisk environment do:
* the sequence
Code: Select all
d(enter)4(enter)

* check if the partitions are deleted
Code: Select all
p(enter)

* if yes, save the changes
Code: Select all
w(enter)

-create again the partitions, still with fdisk on sda disk do:
* the sequence
Code: Select all
n(enter)e(enter)201(enter)121600(enter)(enter)n(enter)209(enter)312(enter)(enter)n(enter)321(enter)328(enter)(enter)n(enter)337(enter)400(enter)(enter)n(enter)409(enter)121600(enter)(enter)
(note the input 'e' for partition 4)
*check if the new table is ok
Code: Select all
p(enter)

* if yes, save the changes
Code: Select all
w(enter)

- restore sda5 content
Code: Select all
dd if=/md/sda5.img of=/dev/sda5

- restore the kernel
Code: Select all
busybox tftp -r 5big1/UIMAGE-395-5BIG1-25 -l /md/kernel.img -g ipPC
dd if=/md/kernel.img of=/dev/sda6
(ipPc is the IP of your PC)
- restore firmware image on sda7
Code: Select all
busybox tftp -r firmware/xfvdw-sl-16-0-nwsp2-11apr2015.img -l /md/firmware.img -g ipPC
dd if=/md/firmware.img of=/dev/sda7
(ipPC is the IP of your PC)
- format sda8
Code: Select all
mke2fs-ext3 -j -m 1 /dev/sda8


Reboot the NAS and install again the firmware image for 5big1.

After rebooting, you need to edit again the insert-modules file to load raid (bug in version 16.0 with 5big1) http://plugout.net/viewtopic.php?f=30&t=2168#p18177
and then do a last reboot...

So many jobs and I am not sure that this block issue may explain your slow synchronize speed... :whistle
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby b1gnas » Tue Sep 22, 2015 8:59 am

when i loaded the standalone kernel using fvdw-sl console sda and sde was inverted

Code: Select all
root@(none):/ # fdisk /dev/sde

The number of cylinders for this disk is set to 121601.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

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               9          72      514080  83 Linux
/dev/sde2              73         136      514080  83 Linux
/dev/sde3             137         200      514080  82 Linux swap
/dev/sde4             201      121601   975153532+  5 Extended
/dev/sde5             209         312      835380  83 Linux
/dev/sde6             321         328       64260  83 Linux
/dev/sde7             337         400      514080  83 Linux
/dev/sde8             409      121601   973482772+ 83 Linux
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

Re: Problems with raid5

Postby Jocko » Tue Sep 22, 2015 9:11 am

Ok, it is strange as this issue should be solved with 5.5 but other members has already reported this issue. :scratch (not sure but as you use an old kernel version, maybe fvdw has not yet rebuilt the standalone version for 5big1 ???)

You should have a script to restore the device node : try to run udevstart (at each boot you would run it) and post here the content of
Code: Select all
cat /proc/partitions


Note: you must update the dev nodes to be able to assemble your current raid

Other way to assemble a raid if the dev nodes are not updated:
-get the uuid of the raid
Code: Select all
mdadm --examine /dev/sdb8
(we are sure that sdb8 is in the raid all case
then in the output you should have the line 'Array UUID : 17158363:82face30:990b8e54:1abf48ea'

then assemble the raid with this command
Code: Select all
mdadm --assemble --uuid uuid_array_value /dev/md0
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby b1gnas » Tue Sep 22, 2015 9:16 am

Code: Select all
root@(none):/ # udevstart
cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

cut: applet not found
cut: applet not found
cut: applet not found
rm: '/dev' is a directory
BusyBox v1.21.0 (2013-10-26 13:36:58 GMT+1) multi-call binary.

Usage: mknod [-m MODE] NAME TYPE MAJOR MINOR

Create a special file (block, character, or pipe)

        -m MODE Creation mode (default a=rw)
TYPE:
        b       Block device
        c or u  Character device
        p       Named pipe (MAJOR and MINOR are ignored)

root@(none):/ #


Code: Select all
root@(none):/ # cat /proc/partitions
major minor  #blocks  name

   8        0  976762584 sde
   8        4          1 sde4
   8        5     835380 sde5
   8        6      64260 sde6
   8        7     514080 sde7
   8        8  973474740 sde8
   8       16  976762584 sdd
   8       20          1 sdd4
   8       21     835380 sdd5
   8       22      64260 sdd6
   8       23     514080 sdd7
   8       24  973474740 sdd8
   8       32  976762584 sdc
   8       36          1 sdc4
   8       37     835380 sdc5
   8       38      64260 sdc6
   8       39     514080 sdc7
   8       40  973474740 sdc8
   8       48  976762584 sdb
   8       52          1 sdb4
   8       53     835380 sdb5
   8       54      64260 sdb6
   8       55     514080 sdb7
   8       56  973474740 sdb8
   8       64  976762584 sda
   8       65     514080 sda1
   8       66     514080 sda2
   8       67     514080 sda3
   8       68          1 sda4
   8       69     835380 sda5
   8       70      64260 sda6
   8       71     514080 sda7
   8       72  973482772 sda8
root@(none):/ #
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

Re: Problems with raid5

Postby b1gnas » Tue Sep 22, 2015 9:20 am

Jocko wrote:Note: you must update the dev nodes to be able to assemble your current raid


Actually, before loading the standalone console i have reinstalled again the firmware because the nas didn't boot anymore.
Do i need to rebuild the 4 disks raid5 before to run your assemble command?
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

Re: Problems with raid5

Postby Jocko » Tue Sep 22, 2015 9:27 am

Maybe a better way.

I go to send you a patched install script where the cynlinder end will be in any case 121600.

So wait a small time.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby Jocko » Tue Sep 22, 2015 9:41 am

As you have installed again the firmware, there is no data to be saved.

- stop the NAS
- remove sd[bcde] disk
- unzip the attached file in tftp folder (you get a new file fvdw-sl-installer1.sh)
- use fvdw-sl console to load a standalone kernel (UIMAGE-26394-5BIG1-42standalone) and get a telnet access
- load this script
Code: Select all
busybox tftp -r fvdw-sl-installer1.sh -l fvdw-sl-installer1.sh -g ipPC
(ipPC ip of your PC)
- set run permissions
Code: Select all
chmod 755 fvdw-sl-installer1.sh

- run the script to format the disk
Code: Select all
./fvdw-sl-installer1.sh


Note: fvdw-sl-installer1.sh must be used only with your disk as in all case it sets as end cylinder 121600 for the partitions 4 & 8.
You do not have the required permissions to view the files attached to this post.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Problems with raid5

Postby b1gnas » Tue Sep 22, 2015 10:04 am

done

Code: Select all
root@(none):/ # fdisk /dev/sda

The number of cylinders for this disk is set to 121601.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

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               9          72      514080  83 Linux
/dev/sda2              73         136      514080  83 Linux
/dev/sda3             137         200      514080  82 Linux swap
/dev/sda4             201      121600   975145500   5 Extended
/dev/sda5             209         312      835380  83 Linux
/dev/sda6             321         328       64260  83 Linux
/dev/sda7             337         400      514080  83 Linux
/dev/sda8             409      121600   973474740  83 Linux


now let's try again to do all the steps to build a raid5
b1gnas
 
Posts: 145
Joined: Fri Apr 17, 2015 8:11 am

PreviousNext

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 6 guests