Page 5 of 5

Re: At startup, the last 2 led remain solid

PostPosted: Tue Sep 27, 2022 4:03 pm
by Draftmancorp
the first sata? which is connected the unique disck?

Re: At startup, the last 2 led remain solid

PostPosted: Tue Sep 27, 2022 5:03 pm
by fvdw
Thre are two sata bus, ata1 and ata2.
Ata1 has 3 connecters, the first 3 disks.
Ata2 has two connectors, the last two disks.

Ata1 is detected but sata link remains down meaning no disk can be detected or used. Cause most likely hardware defect on the mainboard.
Sorry but I think game over. You could disassemble the nas and check connectors or clean the mainboard. A lot of dust can slso cause issues although not likely

Re: At startup, the last 2 led remain solid

PostPosted: Tue Sep 27, 2022 6:07 pm
by Draftmancorp
fvdw wrote:Thre are two sata bus, ata1 and ata2.
Ata1 has 3 connecters, the first 3 disks.
Ata2 has two connectors, the last two disks.

Ata1 is detected but sata link remains down meaning no disk can be detected or used. Cause most likely hardware defect on the mainboard.
Sorry but I think game over. You could disassemble the nas and check connectors or clean the mainboard. A lot of dust can slso cause issues although not likely


i've already did it... the mainboard sems perfect :sob
i have a question, is there a way or open source mode to use these 5 disks (raid) without loose anything inside?

Re: At startup, the last 2 led remain solid

PostPosted: Tue Sep 27, 2022 6:50 pm
by fvdw
you have second 2big5 so you could put them in there to retrieve your data.

If you a linux pc with 5 sata port you could assemble the raid array and retrieve your data

Re: At startup, the last 2 led remain solid

PostPosted: Tue Sep 27, 2022 7:01 pm
by Draftmancorp
fvdw wrote:you have second 2big5 so you could put them in there to retrieve your data.

If you a linux pc with 5 sata port you could assemble the raid array and retrieve your data


yeah, i wanted to avoid reusing the second nas, i need a new nas, but since i have some old motherboard, i could build one with linux ...

so, many thanks fvdw, for all your support. You two are a very gentlemen :applause

Re: At startup, the last 2 led remain solid

PostPosted: Tue Sep 27, 2022 7:03 pm
by Draftmancorp
NO WAIT.... sotty :doh

have you a rapid guide (command list) for rebuild the raid on a linux system?

Re: At startup, the last 2 led remain solid

PostPosted: Tue Sep 27, 2022 7:06 pm
by fvdw
this are some basic raid commands, in principle you will only need the assemble command

Note in the text below are some examples

Code: Select all
create array with metadata 0.9 (required for autodetect in kernel)

mdadm --create /dev/md0 -e 0.9 --assume-clean --level=1 --force --raid-devices=1 /dev/sdb10

(force required if you use only  1 device in the array)
( -e is neeeded to set version ntype of superblock to be used values are 0.9 1.0 1.1... we want 0.9 for autodetect in kernel)

stopping an array
unmount first if mounted
mdadm --stop/dev/md0

starting an array (when you create it is started automatic, but after reboot you to start it)
mdadm --assemble /dev/md0 /dev/sdb10


remove array
if mounted unmount it

mdadm --stop /dev/md0
mdadm --remove /dev/md0 (necessary ?)
Once the array is removed you should us mdadm --zero-superblock on each of the component devices
in this case
mdadm --zero-superblock /dev/sdb10
This will erase the md superblock, a header used by mdadm to assemble and manage the component devices as part of an array.
If this is still present, it may cause problems when trying to reuse the disk for other purposes


get information of assembled arrays on the system
cat /proc/mdstat

get deatiled information of an array
mdadm --detail /dev/md0
Gives version number of superblock, in this case 0.9
This will also give info on which number will be used if version 0.9,
prefferred Minor: 0  --> md0


add arrays to conf file
mdadm --detail --scan >> /etc/mdadm.conf

examine member of a raid array
mdadm --examine /dev/sdb10 (amongst others gives version of superblock)

Re: At startup, the last 2 led remain solid

PostPosted: Tue Sep 27, 2022 7:09 pm
by fvdw
to assemble your array you will need this command
assuming the 5 disks are indentified by your linux system as sda, sdb, sdc,sdd and sde
Code: Select all
mdadm --assemble /dev/md0 /dev/sda8 /dev/sdb8 /dev/sdc8 /dev/sdd8 /dev/sde8

Re: At startup, the last 2 led remain solid

PostPosted: Wed Sep 28, 2022 11:35 am
by Draftmancorp
fvdw wrote:to assemble your array you will need this command
assuming the 5 disks are indentified by your linux system as sda, sdb, sdc,sdd and sde
Code: Select all
mdadm --assemble /dev/md0 /dev/sda8 /dev/sdb8 /dev/sdc8 /dev/sdd8 /dev/sde8


Super thanks!
I'm looking for installing FVDW on my raspberry pi4. (but i have to find/use a USB adaptor for connecting the 5 sata disks...not easy to find)
Question: inside fvdw interface is there an automated way that rekognize and rebuild the array without need of write code? or have I to use that command (mdadm --assemble /dev/md0 /dev/sda8 /dev/sdb8....) from a telnet window?