Error formating hard disks

Error formating hard disks

Postby danidrach » Sat Oct 17, 2020 12:01 am

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 ]
danidrach
Donator VIP
Donator VIP
 
Posts: 16
Joined: Tue Oct 13, 2020 3:27 pm

Re: Error formating hard disks

Postby danidrach » Sat Oct 17, 2020 2:06 am

Finally I "initialized" again and now it works perfect. One question, is it possible to remap the front "ball" button to a function/script?
danidrach
Donator VIP
Donator VIP
 
Posts: 16
Joined: Tue Oct 13, 2020 3:27 pm

Re: Error formating hard disks

Postby Jocko » Sat Oct 17, 2020 7:01 am

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 )
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Error formating hard disks

Postby danidrach » Sat Oct 17, 2020 10:51 am

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).
danidrach
Donator VIP
Donator VIP
 
Posts: 16
Joined: Tue Oct 13, 2020 3:27 pm

Re: Error formating hard disks

Postby fvdw » Sat Oct 17, 2020 1:29 pm

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.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Error formating hard disks

Postby Jocko » Sat Oct 17, 2020 3:22 pm

:doh
I forgot this point :whistle
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 9 guests

cron