Die Suche ergab 12 Treffer

von stainless
Fr 6. Dez 2019, 10:31
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Putting external hard drives to sleep
Antworten: 7
Zugriffe: 562

Re: Putting external hard drives to sleep

Thansk Mijzelf, that did the trick!

Do you have some sort of donations? Since you helped me out twice now i would like to buy you a coffee / beer!
Also i saw you are the original developer behind those scripts! Cool! :)
von stainless
Mi 4. Dez 2019, 19:41
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Putting external hard drives to sleep
Antworten: 7
Zugriffe: 562

Re: Putting external hard drives to sleep

Yeah, the USB ones are listed first unfortunately.
How would skip the 4 last ones?

Sorry, i'm not that familiar with shell scripts...

Would it be possible to hardcode the drives to monitor?
It's sda and sdb.
von stainless
Mi 4. Dez 2019, 17:32
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Putting external hard drives to sleep
Antworten: 7
Zugriffe: 562

Re: Putting external hard drives to sleep

Omg, it worked.

Thank you so much!


Edit: On little caveat: It also turns the other hard drives in the NAS off. Is there any way to prevent it from doing that?
von stainless
Mo 2. Dez 2019, 20:24
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Putting external hard drives to sleep
Antworten: 7
Zugriffe: 562

Putting external hard drives to sleep

Hi,

i use two external hard drives on my NAS540 as storage expansion and as backup solution.
The backup drive only needs to run once a day. The storage one maybe once a week.
But the NAS does not put them into power savings mode. They spin all the time. Is there any way to do this?
von stainless
Do 21. Nov 2019, 19:58
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Volume down after attempting repair
Antworten: 14
Zugriffe: 896

Re: Volume down after attempting repair

It's 189K big. So that means there probably is data?
Would that affect stabilty of the volume or does it just mean that some files may be corrupted?
von stainless
Do 21. Nov 2019, 18:19
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Volume down after attempting repair
Antworten: 14
Zugriffe: 896

Re: Volume down after attempting repair

So i ran sudo mdadm --grow --bitmap=none /dev/md2 which seemed to work, since when i try to run it again it now says that there is no bitmap. Unfortunately the Data Offset is still the same and the raid remains unmountable. EDIT Managed to recreate the array by specifying the data-offset manually. s...
von stainless
Do 21. Nov 2019, 14:29
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Volume down after attempting repair
Antworten: 14
Zugriffe: 896

Re: Volume down after attempting repair

I used the 'mdadm --create' just how you posted it. So i did not specify a bitmap. I just read the man page for mdadm regarding bitmaps and it says: When creating an array on devices which are 100G or larger, mdadm automatically adds an internal bitmap as it will usually be beneficial. This can be s...
von stainless
Do 21. Nov 2019, 13:19
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Volume down after attempting repair
Antworten: 14
Zugriffe: 896

Re: Volume down after attempting repair

The recovery went through overnight. The output of mdadm --details show every device as "clean" with a raid status of "AAAA". It shows some bad block log though, its the same as in my last post here. Is that inherently bad? mdadm --assemble --scan now found the 3 raids, md0 (swap), md1 (filesystem) ...
von stainless
Mi 20. Nov 2019, 16:15
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Volume down after attempting repair
Antworten: 14
Zugriffe: 896

Re: Volume down after attempting repair

Yeah the letter of the swapped device changed, no worries. I read a few things about the formating being done in msdos instead of gpt and deleting the existing superblock on the fresh device. Will try them later and report back. EDIT: you are right, i misread. Adding with sdb3 worked. It is recoveri...
von stainless
Mi 20. Nov 2019, 11:33
Forum: NAS Geräte - FW5 Geräte / NAS devices - FW5 devices
Thema: Volume down after attempting repair
Antworten: 14
Zugriffe: 896

Re: Volume down after attempting repair

Thank you so much! That worked! The output now shows the 3 drives as "clean", with the excluded one as "active". The 3 partitions also all show "Array State: AA.A" as expected. I now copied the partition table to my new drive using sudo sfdisk -d /dev/sda > partition sudo sfdisk /dev/sdb < partition...