Page 1 of 1

Error formating hard disks

PostPosted: Sat Oct 17, 2020 12:01 am
by danidrach
I don't know why when I try to reset all the disks, appears this error

Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done
=>Formatting sdc8 succeeded
Update partition type on sdc8: OK
Remove orphan shares: OK
Update raid conf file : OK
Delete the partiton table on sdd: OK
Create a new partiton gpt table on sdd:
=>Creating gpt partition table succeeded
Format partition sdd8 with file system ext4:
=>mke2fs 1.43.4 (31-Jan-2017)
Filesystem too small for a journal
Discarding device blocks: done


And after this "Filesystem too small for a journal" the disk appears to be in RAID (It's not) and I need to "reset" or initialize again. Is there a "correct" way to clean/reset all of the disks?

When NAS boots again, it stays like this:
[ img ]

Ind if I select "Initialize", it shows this
[ img ]

Re: Error formating hard disks

PostPosted: Sat Oct 17, 2020 2:06 am
by danidrach
Finally I "initialized" again and now it works perfect. One question, is it possible to remap the front "ball" button to a function/script?

Re: Error formating hard disks

PostPosted: Sat Oct 17, 2020 7:01 am
by Jocko
Hi

I think your disk should be included in a previous raid : not by a partition but via a partition and then a full reset is then required.

danidrach wrote:Finally I "initialized" again and now it works perfect. One question, is it possible to remap the front "ball" button to a function/script?
Currently not the front LED is related with a daemon which monitors the press event.
So you would have to write your own daemon to do what you want and kill the button daemon :whistle and then you won't be able to stop/reboot the nas for example from the firmware interface
( you can not keep two daemons monitoring the same events )

Re: Error formating hard disks

PostPosted: Sat Oct 17, 2020 10:51 am
by danidrach
Strange then, I tried and press event does nothing, I think would be a great idea to bind to "power off" function (since back switch powers of forcefully).

Re: Error formating hard disks

PostPosted: Sat Oct 17, 2020 1:29 pm
by fvdw
danidrach wrote:Strange then, I tried and press event does nothing, I think would be a great idea to bind to "power off" function (since back switch powers of forcefully).

The front button poweroff/reboot function will be available in next release. In kernel of 18-2 it is not yet implemented.

Re: Error formating hard disks

PostPosted: Sat Oct 17, 2020 3:22 pm
by Jocko
:doh
I forgot this point :whistle