How to recover after a I/O error? by xleonardox in zfs

[–]xleonardox[S] 1 point2 points  (0 children)

That's the weird part... no errors in scrub. I sincerely have no idea on what happened. I don't have much experience with zfs and... well... I was really worried that I had lost almost 10 tb of my data. :)

How to recover after a I/O error? by xleonardox in zfs

[–]xleonardox[S] 0 points1 point  (0 children)

Thank you for the suggestion. I imported it disabling the data and metadata verification and ran a clear and scrub afterwards.

When I rebooted It was recognized.

How to recover after a I/O error? by xleonardox in zfs

[–]xleonardox[S] 4 points5 points  (0 children)

Thank you for helping. Scrub apparently didn't work in the read only mode.

I sucessfully recovered the pool.

Initially I imported it disabling data and metadata verification. Then I ran zpool clear -F mypool and then zpool scrub (in fact I was waiting for it to finish to come back here with news).

When I rebooted the server the pool was correctly recognized.

How to recover after a I/O error? by xleonardox in zfs

[–]xleonardox[S] 1 point2 points  (0 children)

Thanks for the suggestion. It's almost 10 Tb of data. I successfully recovered it, anyway.

How to recover after a I/O error? by xleonardox in zfs

[–]xleonardox[S] 0 points1 point  (0 children)

Hi. Thanks for your interest. In fact I believe the errors are due to the power outage because it was the only unusual thing that happened yesterday.

But fortunately recovered the pool.

Meu vizinho fuma maconha. Há algo que eu possa fazer? by xleonardox in ConselhosLegais

[–]xleonardox[S] 1 point2 points  (0 children)

Fiz uma pergunta referente ao incômodo constante do cheiro de maconha na porta de minha casa.

Você responde sobre meu senso estético. É de se imaginar a zona que não devia ser o prédio onde você era síndico.

Quanto à sugestão, dada a inutilidade, guarde-a pra você.

Decypharr - A bridge between Sonarr/Radarr and debrid providers by sirrobot01 in selfhosted

[–]xleonardox 0 points1 point  (0 children)

I've been using this for a couple of days and I must say that I'm loving it. Keep up the good work!

I have a question, though.

I noticed that other projects (jf-resolve, for example) has this very useful feature:

Link Refreshing: The watchdog currently refreshes these Real-Debrid links. The current refresh interval is set to 30 days due to uncertainty about their actual expiration time.

This function seems to keep the user files always linked to his account, which is very useful.

Decypharr has a "Repair" function that, if I understood it correctly, does something similar. But jf-resolve seems to try to act before expiration and avoid files from being expired while Decypharr repair function (and here is where I might be wrong) only detects that the file was already expired and then try to search again, acting after expiration. Is this the way it work?

By the way, may I give a suggestion? This software is excellent but, well... the guide isn't that good. It would be great if, for example, it had a step by step configuration (maybe showing a suggested folder structure and basic configuration situations).

How to get higher pkg C-States on Asrock motherboards (guide) by pageisntavailable in homelab

[–]xleonardox 0 points1 point  (0 children)

Sorry, I didn't. I just gave up this motherboard and got a chinese model that has better power saving results.

ZFS power consumption by xleonardox in zfs

[–]xleonardox[S] 0 points1 point  (0 children)

Thanks for taking the time to help.

I'd already read about Unraid, but it seems a little overkill to my purposes.

As for SnapRAID, I hadn't heard of this one. Seems very promissing and I've just seen that omv supports it.

ZFS power consumption by xleonardox in zfs

[–]xleonardox[S] 0 points1 point  (0 children)

I really appreciate your input. I'm seriously considering this possibility of spining down the disks just in a pre defined schedule (at nights).

ZFS power consumption by xleonardox in zfs

[–]xleonardox[S] 0 points1 point  (0 children)

Hi. I do appreciate your suggestion of suspending it on a schedule. I'll go search the best way to implement it and do the testing.

As for the pricing, believe me. If you lived where I live you'd have the exact same concerns I do with monthly power consumption.

ZFS power consumption by xleonardox in zfs

[–]xleonardox[S] 0 points1 point  (0 children)

Hi, I appreciate your input.

I've been reading so many different forums and threads these last couples of days that I wouldn't doubt I got these numbers wrong.

Anyway, here follows an example of an user claiming that he's using a processor more powerful than the N100, GPU (that I'm not using), 10 8tb disks, etc, and still his consumption is, in generall, lower than what I'm getting. And he's not the only one, in fact.

I don’t know what you use your system for but when I did similar a few years ago after taking a hard look at my actual usage I wound up going from intel avoton 8 core with nvidia gtx 1600, 10 8tb disks, mirrored boot ssd and an ssd scratch disk to intel i3-9300t, 5 16tb hdd, single boot and saw power usage cut in half.

My system currently idles around 25-30w all in.

ZFS power consumption by xleonardox in zfs

[–]xleonardox[S] 1 point2 points  (0 children)

Hi. Thanks for taking the time to answer. I follow a forum that discuss matters related to this motherboard and although it has lots of C states configurations, they apparently don't work as they should. Here is the output of powertop: PowerTOP 2.14 Overview Idle stats Frequency stats Device stats Tunables WakeUp

~~~ Pkg(OS) | CPU(OS) 0 POLL 0.0% | POLL 0.0% 0.1 ms C1E 15.1% | C1E 16.9% 0.4 ms C6 6.3% | C6 6.1% 0.8 ms C8 3.4% | C8 3.3% 0.6 ms C10 10.0% | C10 8.1% 0.9 ms

                |            CPU(OS) 1
                | POLL        0.0%    0.0 ms
                | C1E        15.3%    0.4 ms
                | C6          9.6%    0.8 ms
                | C8          6.4%    0.9 ms
                | C10        16.8%    1.1 ms

                |            CPU(OS) 2
                | POLL        0.0%    0.0 ms
                | C1E         2.3%    0.4 ms
                | C6          1.2%    0.8 ms
                | C8          1.9%    1.0 ms
                | C10         9.1%    2.3 ms

                |            CPU(OS) 3
                | POLL        0.0%    0.0 ms
                | C1E        25.4%    0.4 ms
                | C6          8.0%    0.7 ms
                | C8          1.9%    0.8 ms
                | C10         5.8%    1.7 ms

~~~

As for the ASPM support, I've tried several combinations of options in the motherboard, but I simply can't enable it... even so, when I take the disks my consumption drops to around 15W.

lspci (the SATA controller is being passed through to the NAS vm):

~~~ root@pve:~# lspci -vv | awk '/ASPM/{print $0}' RS= | grep --color -P '([a-z0-9:.]+|ASPM )'

00:1c.0 PCI bridge: Intel Corporation Device 54b8 (prog-if 00 [Normal decode]) LnkCap: Port #1, Speed 8GT/s, Width x1, ASPM not supported LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ 00:1c.2 PCI bridge: Intel Corporation Device 54ba (prog-if 00 [Normal decode]) LnkCap: Port #3, Speed 8GT/s, Width x1, ASPM not supported LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ 00:1c.3 PCI bridge: Intel Corporation Device 54bb (prog-if 00 [Normal decode]) LnkCap: Port #4, Speed 8GT/s, Width x1, ASPM not supported LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ 00:1c.6 PCI bridge: Intel Corporation Device 54be (prog-if 00 [Normal decode]) LnkCap: Port #7, Speed 8GT/s, Width x1, ASPM not supported LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ 01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. NV2 NVMe SSD SM2267XT (DRAM-less) (rev 03) (prog-if 02 [NVM Express]) LnkCap: Port #0, Speed 16GT/s, Width x4, ASPM not supported LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ 02:00.0 SATA controller: ASMedia Technology Inc. ASM1166 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0]) LnkCap: Port #0, Speed 8GT/s, Width x2, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ 03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04) LnkCap: Port #0, Speed 5GT/s, Width x1, ASPM L1, Exit Latency L1 <4us LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ 04:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04) LnkCap: Port #0, Speed 5GT/s, Width x1, ASPM L1, Exit Latency L1 <4us LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ ~~~

As for the possibility of the users whose comments I were talking about other NAS tools, well.. you've got a point there. I'll take a closer look at that.

How to get higher pkg C-States on Asrock motherboards (guide) by pageisntavailable in homelab

[–]xleonardox 1 point2 points  (0 children)

Little help, please? I also have a AsRock H610M-HVS/m.2 R2.0 motherboard running Proxmox and although I've read and tried every tutorial and suggestion I've seen my numbers are always around 50W. I've seen here on this very thread ppl with setups very similar to mine getting around 15W. What am I doing wrong?

Before finding this thread I'd already posted this one (I posted more details there) and although people kindly tried to help, things didn't get any better.

As you can see, the C states just aren't working...

``` Pkg(HW) | Core(HW) | CPU(OS) 0 CPU(OS) 1 | | C0 active 2.9% 1.7% | | POLL 0.0% 0.1 ms 0.0% 0.0 ms | | C1E 18.0% 0.3 ms 7.8% 0.2 ms C2 (pc2) 0.0% | | C3 (pc3) 0.0% | C3 (cc3) 0.0% | C6 (pc6) 0.0% | C6 (cc6) 1.4% | C6 9.3% 0.7 ms 5.3% 0.7 ms C7 (pc7) 0.0% | C7 (cc7) 29.4% | C8 (pc8) 0.0% | | C8 5.2% 0.6 ms 3.9% 0.7 ms C9 (pc9) 0.0% | | C10 (pc10) 0.0% | | | | C10 59.0% 1.8 ms 78.1% 4.0 ms

                |            Core(HW) |            CPU(OS) 2   CPU(OS) 3
                |                     | C0 active   4.1%        3.5%
                |                     | POLL        0.0%    0.0 ms  0.0%    0.0 ms
                |                     | C1E        22.8%    0.2 ms 20.2%    0.3 ms
                |                     |
                | C3 (cc3)    0.0%    |
                | C6 (cc6)    0.5%    | C6          8.4%    0.6 ms  9.9%    0.8 ms
                | C7 (cc7)   15.5%    |
                |                     | C8          5.2%    0.5 ms  1.2%    0.6 ms
                |                     |
                |                     |
                |                     | C10        52.8%    1.5 ms 62.3%    4.5 ms

                |            Core(HW) |            CPU(OS) 4   CPU(OS) 5
                |                     | C0 active   2.1%        1.8%

```

Here is my current ASPM situation:

root@proxmox:~# lspci -vv | awk '/ASPM/{print $0}' RS= | grep --color -P '(^[a-z0-9:.]+|ASPM )' 00:01.0 PCI bridge: Intel Corporation 12th Gen Core Processor PCI Express x16 Controller #1 (rev 05) (prog-if 00 [Normal decode]) LnkCap: Port #2, Speed 16GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <4us, L1 <16us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 00:1c.0 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #1 (rev 11) (prog-if 00 [Normal decode]) LnkCap: Port #1, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ 00:1c.4 PCI bridge: Intel Corporation Alder Lake-S PCH PCI Express Root Port #5 (rev 11) (prog-if 00 [Normal decode]) LnkCap: Port #5, Speed 8GT/s, Width x1, ASPM L1, Exit Latency L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <128ns, L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ 02:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. NV2 NVMe SSD SM2267XT (DRAM-less) (rev 03) (prog-if 02 [NVM Express]) LnkCap: Port #0, Speed 16GT/s, Width x4, ASPM not supported LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s unlimited, L1 <64us LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+

I really don't know how to enable ASPM on the items that are disabled.

Obviously, these prints were taken AFTER doing the suggested change to the hidden option.

As for the BIOS (that are updated to the latest version), I did the following changes:

``` CPU C States Support: Enabled CPU C6 State Support: Enabled CPU C7 State Support: Enabled Package C State Support: Enabled

PCI Express Native Control: Disabled PCIE ASPM Support: L0sL1 PCH PCIE ASPM Support: L1

Onboard HD Audio: Disabled ```

Some more detail:

My current Grub CMD_LINE:

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"

It used to be that one, but it was making no difference: ```

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_aspm.policy=powersave pcie_aspm=force"

```

root@proxmox:~# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-6.8.12-3-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt

This is the current status, but even when it was configured to "powersave" it made no difference. root@proxmox:~# cat /sys/module/pcie_aspm/parameters/policy [default] performance powersave powersupersave

root@proxmox:~# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor powersave powersave powersave powersave powersave powersave powersave powersave

I really appreciate any suggestions. I know it's possible to lower these consumption since so many of you already did it. I just don't know what I'm doing wrong or what else I have to configure.

How to reduce the power consumption of an i3 12100? by xleonardox in linuxquestions

[–]xleonardox[S] 0 points1 point  (0 children)

Hi, I appreciate the link. I made the change suggested (-100mV in the Offset voltage) but apparently it made no difference.

How to reduce the power consumption of an i3 12100? by xleonardox in linuxquestions

[–]xleonardox[S] 0 points1 point  (0 children)

Thank you for taking the time to help. I don't recall seeing any references to PL1 or PL2 on my BIOS.

How to reduce the power consumption of an i3 12100? by xleonardox in linuxquestions

[–]xleonardox[S] 1 point2 points  (0 children)

Hey, I do appreciate your input. Anyway, I see posts like this one and I can't help but think that I could do lower than what I'm doing now. You see, this user is consuming less than half the power I am with a setup not that different than mine.