Re: Fail2ban is failing

2024-05-03 Thread Richard Shaw
On Fri, May 3, 2024 at 4:13 PM Patrick O'Callaghan 
wrote:

> On Fri, 2024-05-03 at 13:08 -0400, Tom Rivers via users wrote:
> > Until the fix is available, I've been able to get it running until
> > the
> > next system reboot by doing the following:
> >
> > # setenforce 0
> > # systemctl start fail2ban
> >
> > ... wait a minute ...
> >
> > # setenforce 1
> >
>
> That seems to work. Looks like a problem with SElinux labelling.
>

More or less, basically from what I can tell with F40 that the link from
/var/run->/run for compatibility was dropped and the selinux context in the
fail2ban package needed to be updated (and it was) but my assumption is
that installation of the new package would take care of it.

Thanks,
Richard
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Fail2ban is failing

2024-05-03 Thread Richard Shaw
On Fri, May 3, 2024 at 6:31 AM Patrick O'Callaghan 
wrote:

> F40 fully updated.
>

Try a `dnf --refresh update`. The fix just went to stable last night.

Thanks,
Richard
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: fail2ban on F40 is quiet

2024-04-28 Thread Richard Shaw
On Sun, Apr 28, 2024 at 9:31 AM Frank Bures  wrote:

> Hi,
>
> My machine is exposed to the wild and I was seeing hundreds of connection
> attempts per day in my logs and in fail2ban.log.
>
> All these nefarious activities ceased after upgrade to F40.
>
> Question:
> Is there something fundamentally different in F40 connectivity?
> I can still connect from outside on pre-defined ports using ssh so my ISP
> is not blocking anything.
>

I would try this update and see if it fixes your problem. There's also a
new release but I want this to go stable first.

https://bodhi.fedoraproject.org/updates/FEDORA-2024-95a6cdf26b

Thanks,
Richard
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Live USB extra space

2024-04-28 Thread Richard Shaw
On Sat, Apr 27, 2024 at 11:21 PM ToddAndMargo via users <
users@lists.fedoraproject.org> wrote:

> Hi All,
>
> I "Finally" have a customer interested in Fedora.  I
> talked him into letting me spin a Live USB flash drive
> for him to play with before we jump ahead.
>
> Question:  Is there a way to use the extra space on the
> drive to install a few more programs for him to experiment
> with?
>

There used to be a way to make it semi-permanent but I don't think that's
supported anymore. But it would only record changes to the file system (all
changes were appended) so you would eventually use up the space.

In this case I might be tempted to do a real install to a USB stick or
similar. I actually had a full install on a M.2 SATA in a USB 3.0 enclosure.

Thanks,
Richard
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: The best way to still use Fedora + Xorg + Gnome ... even after version 40

2024-04-23 Thread Richard Shaw
On Wed, Apr 17, 2024 at 7:48 PM Sam Varshavchik 
wrote:

> Jeffrey Walton writes:
>
> > Wayland is still pretty immature when compared to X11. It would be nice
> if
> > Wayland was more mature before we are forced to switch to it.
>
> The question on everyone's mind is: well, here's a video card that works
> fine with X. It's 5-10 years old, one of mine is even older. What are the
> chances that Wayland actually supports it.
>

Well if you're running Fedora you should be able to try it by changing to X
before logging in. A even less intrusive way would be to try Fedora 40 on a
live USB stick.

Thanks,
Richard
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: New BackupPC Server Hardware; Existing Data Pool

2024-02-20 Thread Richard Shaw
On Tue, Feb 20, 2024 at 6:43 AM Tim Evans  wrote:

> The new BackupPC server starts up--I can see it in process listing;
> httpd web server is working as well.  I get prompted to log in to the
> server admin page as expected, then get the following httpd "503" error:
>
> "Service Unavailable
>
> The server is temporarily unable to service your request due to
> maintenance downtime or capacity problems. Please try again later."da
>
> The BackupPC log files don't show any activity, nor does journalctl.
>
> I do, however, see this in the httpd error_log:
>
> [Tue Feb 20 06:36:00.553934 2024] [cgid:error] [pid 2519:tid 2670]
> (13)Permission denied: [client ::1:43404] AH01257: stderr from
> /usr/libexec/BackupPC/BackupPC_Admin: unable to connect to cgi daemon
> after multiple tries
>

As the BackupPC package maintainer, I have never seen this, so it may be
unique to your setup...

The only thing I can think of right now might be to try temporarily putting
SELinux into permissive mode and see if that helps. If so, maybe relabeling
the filesystem if the key.

Thanks,
Richard
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Help in converting a Ubuntu install to Fedora

2024-01-07 Thread Richard Shaw
On Fri, Jan 5, 2024 at 1:08 PM Robert Moskowitz  wrote:

>
>
> On 1/5/24 08:24, Richard Shaw wrote:
>
> On Thu, Jan 4, 2024 at 9:50 PM Robert Moskowitz 
> wrote:
>
>> I wsa told to try:
>>
>>
>>1.
>>https://ardupilot.org/dev/docs/sitl-simulator-software-in-the-loop.html
>>2. https://ardupilot.org/dev/docs/copter-sitl-mavproxy-tutorial.html
>>3.
>>
>> https://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html#setting-up-sitl-on-linux
>>
>>  and it is #3 where converting Ubuntu instructions to Fedora that I am
>> stuck.  I can work with GIT, that part is easy.  But when I get past that,
>> I stall.
>>
>>
>> Can anyone take a look at this and advise?
>>
>
> The only Ubuntu specific command I saw was installing Flight Gear which
> would translate to:
>
> $ sudo dnf install FlightGear
>
>
> So
>
> Tools/environment_install/install-prereqs-ubuntu.sh -y
>
> or the alternative method
>
> are not needed?
>

I didn't dig past the first level link. It looks like that script does
quite a lot. Unfortunately that's a bit too much to decipher for me right
now. A significant portion does seem to just install different versions of
packages depending on what version of Ubuntu you're running.

Thanks,
Richard
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Help in converting a Ubuntu install to Fedora

2024-01-05 Thread Richard Shaw
On Thu, Jan 4, 2024 at 9:50 PM Robert Moskowitz  wrote:

> I wsa told to try:
>
>
>1.
>https://ardupilot.org/dev/docs/sitl-simulator-software-in-the-loop.html
>2. https://ardupilot.org/dev/docs/copter-sitl-mavproxy-tutorial.html
>3.
>
> https://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html#setting-up-sitl-on-linux
>
>  and it is #3 where converting Ubuntu instructions to Fedora that I am
> stuck.  I can work with GIT, that part is easy.  But when I get past that,
> I stall.
>
>
> Can anyone take a look at this and advise?
>

The only Ubuntu specific command I saw was installing Flight Gear which
would translate to:

$ sudo dnf install FlightGear

Thanks,
RIchard
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Upgraded machine to Fedora 38 and now suspending after 15 minues??

2023-08-21 Thread Richard Shaw
On Mon, Aug 21, 2023 at 9:01 AM Michael D. Setzer II via users <
users@lists.fedoraproject.org> wrote:

> > This wasn't just some developer's idea... IIRC the request for this
> > change came from someone who sells systems with Linux pre-installed
> > (Lenovo?), because this is a requirement for meeting power
> > certifications needed for desktop/notebook systems.
> >
>
> Question? If that is so, why couldn't they modify their Linux
> pre-installed setup to have it set, rather than forcing everyone else
> to have to have it as default?
>
> Since I did a dnf upgrade it didn't present any option saying it was
> going to do this, or prompting for the option. Don't know if a clean
> install would have presented any option..
>
> Wonder how many people are going to be reporting machines as
> broken since they keep shutting down because of thie FEATURE...
>

In my case my computer becomes completely unresponsive. Neither pressing
reset, or holding down the power button have any effect forcing me to use
the power supply switch. Not a very good end user experience.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Help: Interrupted dnf update, second update fails with duplicate packages

2023-07-31 Thread Richard Shaw
On Mon, Jul 31, 2023 at 5:12 PM richard emberson 
wrote:

> I had a "dnf update" interrupted.
>
> Running "dnf clean all" and then "dnf update" again results in:
>
> Running transaction check
> Transaction check succeeded.
> Running transaction test
> The downloaded packages were saved in cache until the next successful
> transaction.
> You can remove cached packages by executing 'dnf clean packages'.
> Error: Transaction test error:
>file /usr/share/doc/glib2/NEWS from install of glib2-2.76.4-3.fc38.i686
> conflicts with file from package glib2-2.76.3-1.fc38.x86_64
>file /usr/share/locale/en_GB/LC_MESSAGES/glib20.mo from install of
> glib2-2.76.4-3.fc38.i686 conflicts with file from package
> glib2-2.76.3-1.fc38.x86_64
>file /usr/share/locale/pt_BR/LC_MESSAGES/glib20.mo from install of
> glib2-2.76.4-3.fc38.i686 conflicts with file from package
> glib2-2.76.3-1.fc38.x86_64
>... 160 lines of "... conflicts with file from package ..."
>
> Running "dnf check" gives:
> NetworkManager-1:1.42.6-1.fc38.x86_64 is a duplicate with
> NetworkManager-1:1.42.8-1.fc38.x86_64
> ...
> systemd-253.5-1.fc38.x86_64 is a duplicate with systemd-253.7-1.fc38.x86_64
> ...
> systemd-udev-253.5-1.fc38.x86_64 is a duplicate with
> systemd-udev-253.7-1.fc38.x86_64
> ...
> xxhash-libs-0.8.1-4.fc38.x86_64 is a duplicate with
> xxhash-libs-0.8.2-1.fc38.x86_64
> Error: Check discovered 430 problem(s)
>
>
> What is the problem (aside from the fact that I interrupted the update) and
> How can I recover?
>

An equivalent for yum-complete-transaction was requested but never
implemented.
https://bugzilla.redhat.com/show_bug.cgi?id=1091702

There's probably a way to use `dnf repoquery` based commands to list the
problem packages and them remove them.

Have you tried doing an update with --allowerasing?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: sleeping machine?

2023-07-21 Thread Richard Shaw
On Fri, Jul 21, 2023 at 7:04 AM Grumpey  wrote:

>
> On Fri, Jul 21, 2023 at 8:01 AM Richard Shaw  wrote:
>
>> On Fri, Jul 21, 2023 at 5:35 AM Barry  wrote:
>>
>>>
>>> > On 21 Jul 2023, at 09:06, Patrick Dupre  wrote:
>>> >
>>> > Hello,
>>> >
>>> > Since I update from fedora36 to 38, I am in trouble to connect to my
>>> > machine by using dwagent.
>>> > One reason could be that when I am not logged on the machine, it falls
>>> to
>>> > sleep, and it does not accept to serve dwagent.
>>> > 1) Is it possible?
>>> > 2) It is possible, how can I keep the service (dwagent) really alive
>>>
>>> In f38 gnome defaults to going to sleep when idle. Is that the problem?
>>> You should be able to change the power management settings to avoid that
>>> happening.
>>
>>
>> Strange issue I recently had after upgrading to F38. If I reboot my
>> computer and do not log in it seems to get locked up in a strange sleep
>> state.
>>
>> Holding the power button does nothing. Pressing reset does nothing. I
>> have to turn off the power supply to restart the computer.
>>
>> If I log in, everything is fine as I have automatic suspend disabled, but
>> this doesn't appear to be "system wide" somehow.
>>
> You may want to have a look at,
> https://discussion.fedoraproject.org/t/gnome-suspends-after-15-minutes-of-user-inactivity-even-on-ac-power/79801
>
> Thanks! That was very helpful.

Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: sleeping machine?

2023-07-21 Thread Richard Shaw
On Fri, Jul 21, 2023 at 5:35 AM Barry  wrote:

>
> > On 21 Jul 2023, at 09:06, Patrick Dupre  wrote:
> >
> > Hello,
> >
> > Since I update from fedora36 to 38, I am in trouble to connect to my
> > machine by using dwagent.
> > One reason could be that when I am not logged on the machine, it falls to
> > sleep, and it does not accept to serve dwagent.
> > 1) Is it possible?
> > 2) It is possible, how can I keep the service (dwagent) really alive
>
> In f38 gnome defaults to going to sleep when idle. Is that the problem?
> You should be able to change the power management settings to avoid that
> happening.


Strange issue I recently had after upgrading to F38. If I reboot my
computer and do not log in it seems to get locked up in a strange sleep
state.

Holding the power button does nothing. Pressing reset does nothing. I have
to turn off the power supply to restart the computer.

If I log in, everything is fine as I have automatic suspend disabled, but
this doesn't appear to be "system wide" somehow.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: avoid nouveau with kernel 6.3?

2023-06-15 Thread Richard Shaw
On Thu, Jun 15, 2023 at 8:23 AM Tom Horsley  wrote:

> On Thu, 15 Jun 2023 07:55:10 -0400
> Neal Becker wrote:
>
> > https://www.phoronix.com/news/Avoid-Nouveau-Linux-6.3
>
> I give nouveau a chance every time I install a new fedora, eventually
> (2 hours, 2 weeks, it varies) I get a video crash and frozen
> desktop, then I install the rpmfusion nvidia drivers.
>

Yeah the akmods MOSTLY worked fine. Sometimes I would have to rm -f the
package and let it rebuild for some reason and occasionally builds would
fail. Not a good end user experience especially if you're not that
technical.

I switched to AMD and for the most part it's just "worked".  Previously
with a RX580 and now with a RX 6550XT.

Other than the crazy graphics card prices, I have no regrets and have no
plans to switch back.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Any x86_64 Fedora Tablets out there?

2023-05-08 Thread Richard Shaw
On Mon, May 8, 2023 at 12:52 AM ToddAndMargo via users <
users@lists.fedoraproject.org> wrote:

> Hi All,
>
> I ask this every so often.
>
> Anyone know of any x86_64 Fedora Tablets out there?
>

I have Fedora installed on a MS Surface GO 2 (now obsolete, the 3 is out)
but it "mostly works fine".

It runs faster than Windows 10 on the GO's limited CPU (usually Pentium
Gold or Core-my something or other 2 core processor).

The only thing I have to fidget with is I can't double-tap the title bar to
maximize the windows using the touchscreen. Probably something fixible with
Gnome Tweaks?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: problem downloading rpms with wifi

2023-04-30 Thread Richard Shaw
On Sun, Apr 30, 2023 at 8:43 PM Bill Cunningham 
wrote:

> On 4/30/2023 9:28 PM, Richard Shaw wrote:
>
> On Sun, Apr 30, 2023 at 7:49 PM Bill Cunningham 
> wrote:
>
>>
>> Fedora 38 - x86_64 [=== ] ---  B/s |   0  B --:-- ETA
>> Fedora 38 - x86_64 0.0  B/s |   0  B 00:00
>> Errors during downloading metadata for repository 'fedora':
>>- Curl error (6): Couldn't resolve host name for
>> https://mirrors.fedoraproject.org/metalink?repo=fedora-38=x86_64
>> [Could not resolve host: mirrors.fedoraproject.org]
>> Error: Failed to download metadata for repo 'fedora': Cannot prepare
>> internal mirrorlist: Curl error (6): Couldn't resolve host name for
>> https://mirrors.fedoraproject.org/metalink?repo=fedora-38=x86_64
>> [Could not resolve host: mirrors.fedoraproject.org]
>>
>> Any suggestions?
>>
>
> Maybe a DNS issue? Does web browsing work fine? Could try using google
> instead of your internet provider, forcing DNS to 8.8.8.8.
>
> Thanks,
> Richard
>
> I can't download lynx or links to try cli web browsing. When installed and
> using the GUI firefox seems to work ok. Is there a host file that I could
> input google's DNS servers? What is this resolv.conf?
>

Assuming you can get to settings (running Gnome?) then just turn off the
automatic settings for DNS and set it manually.

8.8.8.8
and
8.8.4.4

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: problem downloading rpms with wifi

2023-04-30 Thread Richard Shaw
On Sun, Apr 30, 2023 at 7:49 PM Bill Cunningham 
wrote:

>
> Fedora 38 - x86_64 [=== ] ---  B/s |   0  B --:-- ETA
> Fedora 38 - x86_64 0.0  B/s |   0  B 00:00
> Errors during downloading metadata for repository 'fedora':
>- Curl error (6): Couldn't resolve host name for
> https://mirrors.fedoraproject.org/metalink?repo=fedora-38=x86_64
> [Could not resolve host: mirrors.fedoraproject.org]
> Error: Failed to download metadata for repo 'fedora': Cannot prepare
> internal mirrorlist: Curl error (6): Couldn't resolve host name for
> https://mirrors.fedoraproject.org/metalink?repo=fedora-38=x86_64
> [Could not resolve host: mirrors.fedoraproject.org]
>
> Any suggestions?
>

Maybe a DNS issue? Does web browsing work fine? Could try using google
instead of your internet provider, forcing DNS to 8.8.8.8.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: memtest86+ seems to do nothing.

2023-03-15 Thread Richard Shaw
On Wed, Mar 15, 2023 at 10:58 AM home user  wrote:

> Good morning,
>
> When booting up, I select the grub menu entry
> "Fedora Memtest memtest86+-5.31".
> The screen blanks, the cursor goes to the upper left corner of the
> display, and blinks.
> That's it.
> I waited about 10 minutes.  Cursor still blinking in the same place.
> Nothing else ever showed up.
> I rebooted.
>
> How do I get memtest86+ working properly?
>

Does your computer use UEFI to boot? If so, is the image you're using for
memtest86+ correct?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: What is needed to mock build for rhel+epel on Fedora?

2023-03-13 Thread Richard Shaw
On Mon, Mar 13, 2023 at 12:00 PM Barry Scott  wrote:

> What do I need to setup to allow mock to build for rhel+epel on Fedora?
>
> I'm getting this error:
>
> $ mock -r rhel+epel-8-x86_64 --print-root
> ERROR: /etc/pki/entitlement is not a directory is subscription-manager
> installed?
>

Does it have to be RHEL? I've used Alma and Rocky with success.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Manage Red Haat subscription using Cokpit (it was Docker containers and Cockpit)

2023-03-13 Thread Richard Shaw
On Sun, Mar 12, 2023 at 8:38 PM Sergio Belkin  wrote:

> Thanks Richard,
>
> I have a "Red Hat Developer Subscription for Individuals" I winder if I
> can manage my  subscription from Cockpit the only I find is for
> registering the system, but I get:
>
> Traceback (most recent call last): File
> "/usr/lib64/python3.11/site-packages/dbus/service.py", line 756, in
> _message_cb _method_reply_return(connection, message, method_name,
> signature, *retval) File
> "/usr/lib64/python3.11/site-packages/dbus/service.py", line 257, in
> _method_reply_return reply.append(signature=signature, *retval) TypeError:
> Expected a string or unicode object
>

Not sure about that one, I would make sure your system is fully updated and
if it persists, open a ticket.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Docker containers and Cockpit

2023-03-11 Thread Richard Shaw
On Sat, Mar 11, 2023 at 4:51 PM Sergio Belkin  wrote:

> Hi,
> I'm wondering if Cockpit can handle Docker containers in Fedora 37. Can
> anyone confirm if this is possible or not, and if so, give me some tips on
> how to do it? I see a section for podman containers but not for docker ones.
> Thanks in advance!
>

Good timing! I've recently run across this at work, but on a RHEL 8.6
system, but that probably doesn't matter. I would just use podman, the
commands are mostly the same as docker, and it doesn't rely on a service
running.

If you start up a docker container with podman it will show up in cockpit.
The only thing you need to be careful of, is if you start it as a normal
user, it will be killed by systemd when you logout. To prevent this you can
run `loginctl enable-linger` to prevent this behavior.

https://www.freedesktop.org/software/systemd/man/loginctl.html

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: MongoDB for fedora37?

2023-03-09 Thread Richard Shaw
On Thu, Mar 9, 2023 at 9:37 AM Alex  wrote:

> Hi,
> I don't see mongodb in the default fedora37 repo. Anyone know where I
> might find a maintained package? I've been using the one from centos7, I
> believe, but it's dated and would like to find a more current version.
>

MongoDB changed their license such that it's no longer considered free. If
you have to have it, then your only real option is to use their RPMS

https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-red-hat/#install-mongodb-community-edition

They only build for EL but you can try installing on Fedora, as long as the
deps are met, it should work.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: software or hardware raid?

2023-03-02 Thread Richard Shaw
On Thu, Mar 2, 2023 at 2:25 PM Ranjan Maitra  wrote:

> Thanks to everybody. I recall discussion from several years ago on the
> benefits of software over hardware RAID. I had completely forgotten about
> UPS for this new machine. Btw, what happens if power goes out (and I do not
> have UPS)?
>

If you don't have a UPS, I would recommend BTRFS mostly because it's a
Copy-On-Write (COW) filesystem.  EXT4 journaling only protects the
filesystem, not the files themselves. BRTFS does a checksum of the files as
well, and because it writes out a new file, if that's interrupted, you
still at least have the previous version of the file.

Depending on the type of files, you may also want to take advantage of
transparent compression. I know BTRFS took a long time to stabilize but it
works pretty well for stand alone and RAID 1. I'm not sure if I would trust
it for RAID 5 just yet.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: software or hardware raid?

2023-03-01 Thread Richard Shaw
On Wed, Mar 1, 2023 at 2:45 PM John Mellor  wrote:

>
> On 2023-03-01 3:01 p.m., Ranjan Maitra wrote:
> > I would like to RAID two of my disks, and I was wondering if the
> recommendation is to do software or hardware RAID?
> Don't even consider hardware RAID solutions that became out-of-favour 25
> years ago.  You can easily do it with LVM/MDR combinations, but its more
> complicated and slower than the BTRFS solution, especially when
> rebuilding onto a new drive.  Instead, because the normal Fedora
> installer is a bit brain-dead, unplug one of the drives and use the
> Fedora-default BTRFS setup.  Then plug in the second drive back again,
> reboot and set up a RAID-1 configuration.  See
> http://www.beginninglinux.com/btrfs for a quick tutorial.  There is also
> a good reference guide on kernel.org, at
> https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices
> to see what can be done.  BTRFS is massively faster and safer than all
> other implementations other than perhaps ZFS, is at least partially
> error compensating, does not demand identical drives, and can be easily
> converted into other RAID classes dynamically as desired.
>

I was going to recommend BTRFS but there's still a lot of people weary
about it because of the long time to stabilization.

I have 4 4TB drives in a BTRFS RAID 1 array for all my media. I know RAID 5
is a bit touchy so I have put that off until I start to run out of space.
The cool thing is I can convert on the fly!

I have installed btrfsmaintenancetools or whatever the package name is and
am running scrubs and balances regularly.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: recommended partition for swap with 0.5 TB memory

2023-02-28 Thread Richard Shaw
On Tue, Feb 28, 2023 at 2:48 PM Ranjan Maitra  wrote:

> On Tue Feb28'23 01:56:08PM, Richard Shaw wrote:
> > From: Richard Shaw 
> > Date: Tue, 28 Feb 2023 13:56:08 -0600
> > To: Community support for Fedora users 
> > Reply-To: Community support for Fedora users <
> users@lists.fedoraproject.org>
> > Subject: Re: recommended partition for swap with 0.5 TB memory
> >
> > On Tue, Feb 28, 2023 at 1:43 PM Ranjan Maitra  wrote:
> >
> > > Hi,
> > >
> > > I am trying to install Fedora on to a new machine that has 0.5 TB RAM.
> > > Hard drives are 256 GB for / and friends, and 2 TB for /home
> partition. In
> > > the past, it used to be suggested that swap be twice that of RAM: this
> > > later changed to the same amount, and now it is very unclear (to me)
> > > because I have not tracked the latest recommendations. Anyway, what
> would
> > > you suggest? The machine is a Dell Precision 7920 with 28 cores/56
> threads.
> > >
> >
> > By 0.5TB you mean 512GB of ram? Assuming you're installing Fedora 36 or
> 37,
> > I would just leave the defaults alone, which utilizes swap on zram. So
> > basically it won't use any swap unless needed. You can adjust the amount
> of
> > memory allowed to be used for swap.
> >
>
> I decided to let the automatic installer pick up the partition. It
> correctly sets aside 4 TiB (sorry, it was 4TiB, not 2TiB as mentioned
> earlier) for /home, and then 1 GiB for /boot, 600 MiB for /boot/efi, 70 GiB
> for / and leaves aside the rest (as free space). I can adjust the 70 GiB,
> but do I need to keep aside space for the zram? I am unsure about what to
> do with so much free space?
>

With zram you set a maximum amount of memory which can be used as swap (I
think the default is 50% but it may have a maximum set). How it works is
that it compresses the memory, generally giving around 2X compression. The
CPU cost to compress/decompress is much faster than swapping to disk,
perhaps not as much with modern NVMe drives, but it does help relieve
memory pressure without causing unnecessary writes to your expensive SSDs
:)

I was hoping to find something more Fedora centric, but here's the upstream
documentation:
https://github.com/systemd/zram-generator/blob/main/man/zram-generator.conf.md

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: recommended partition for swap with 0.5 TB memory

2023-02-28 Thread Richard Shaw
On Tue, Feb 28, 2023 at 1:43 PM Ranjan Maitra  wrote:

> Hi,
>
> I am trying to install Fedora on to a new machine that has 0.5 TB RAM.
> Hard drives are 256 GB for / and friends, and 2 TB for /home partition. In
> the past, it used to be suggested that swap be twice that of RAM: this
> later changed to the same amount, and now it is very unclear (to me)
> because I have not tracked the latest recommendations. Anyway, what would
> you suggest? The machine is a Dell Precision 7920 with 28 cores/56 threads.
>

By 0.5TB you mean 512GB of ram? Assuming you're installing Fedora 36 or 37,
I would just leave the defaults alone, which utilizes swap on zram. So
basically it won't use any swap unless needed. You can adjust the amount of
memory allowed to be used for swap.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Taking better advantage of BTRFS

2023-02-24 Thread Richard Shaw
On Fri, Feb 24, 2023 at 8:31 AM John Mellor  wrote:

> 6) Compression is not the default.  Why not?  SSDs are 10x slower and
> disks are 100x slower than the processors of even 10 years ago, so this
> omission is slowing the system down.
>

I thought zstd level 1 was the default for SSDs and level 3 for spinning
disks? I haven't done a fresh install since Fedora 24...

In the case of fast SSDs (NVMe drives) it will probably slightly hurt
performance but as these devices have a limited number of writes, I think
vastly reducing them using compression is a good idea.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adding file swap on btrfs

2022-12-19 Thread Richard Shaw
On Mon, Dec 19, 2022 at 2:10 PM Samuel Sieb  wrote:

> On 12/19/22 11:58, Neal Becker wrote:
> > I've just installed f37 on a new lenovo x1 carbon.
> > One thing, the installation didn't setup any swap (other than zswap).
> >
> > After a bit of reading I found
> > sudo btrfs filesystem mkswapfile -s 32G /swapfile
> > But:
> >   sudo swapon -v /swapfile
> > swapon: /swapfile: found signature [pagesize=4096, signature=swap]
> > swapon: /swapfile: pagesize=4096, swapsize=1073741824,
> devsize=34359738368
> >
> > Although I created 32G swapfile, only 1G is used.
> > swapon
> > NAME   TYPE   SIZE USED PRIO
> > /dev/zram0 partition8G 6.3M  100
> > /swapfile  file  1024M   0B   -2
> >
> >
> > What's wrong?
>
> Something is wrong with how it creates the swap format.  Just run
> "mkswap /swapfile" and it will be fine.
>

Not quite, without the chattr +C it will still perform COW file operations
which you don't want on large files.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: help needed: How to reset the root password

2022-12-17 Thread Richard Shaw
On Sat, Dec 17, 2022 at 2:57 AM Peter Boy  wrote:

> A Quick Doc article describes the procedure:
> https://docs.fedoraproject.org/en-US/quick-docs/reset-root-password/
>
> We, the Fedora Docs team, are in the process to review and improve the
> Quick Docs articles. We are (unfortunately) not omniscient IT gods but need
> support from Fedora community.
>
> According to some comments (
> https://pagure.io/fedora-docs/quick-docs/issue/524) the article misses at
> least some information:
>
> - the second part about using live CD doesn’t describe Workstation and
> BTRFS
>

I'm not sure why that wouldn't work for Workstation (or any standard
install of a linux os) as long as the volume isn't encrypted. It doesn't
even have to be a Fedora live image (probably about time to replace "CD"
with "Image"), I could do the same (and used to) with System Rescue CD.


> - for which Fedora variant do the instructions apply? Server for sure,
> Workstation? CoreOS? Silverblue? Kinoite? all spins?


I can't speak to Silverblue...



> - what else is missing, misleading, or misunderstandable?
>

Looks pretty straight forward but I do which Fedora provided a helper
script to mount the filesystems. I always have to look up what's supposed
to be a "bind" mount or something else once I have /boot and / mounted.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Installtion of Lunix in virtual Machine

2022-11-29 Thread Richard Shaw
On Tue, Nov 29, 2022 at 1:59 AM Josh Roberts 
wrote:

> My host machine is using Windows 10 OS and I am using a low volume Memory.
> https://www.allhdd.com/hpe-840755-091-memory/. The processor is I3 5th
> Generation with 512 HDD hard drive. Please help me.
>

First, there's no actionable information in your first email but I'll take
a stab at it anyway...

There's no reason I know of you should be getting an error like that unless
you do have a memory problem. Have you tried running memtest86[1] on your
system and let it completely cycle 4 times?

How much memory are you allocating? I can get Fedora Workstation to boot on
2GB but that's not really useful.

Thanks,
Richard

[1] https://www.memtest.org/
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Can't create msdos partition table without advanced partitioning?

2022-11-19 Thread Richard Shaw
On Sat, Nov 19, 2022 at 8:19 PM Tom Horsley  wrote:

> Installing fedora 37 from workstation live iso to a virtual machine.
>
> I couldn't find any way to partition a blank disk with a msdos
> partition table without using the advanced manual partitioning.
> Did I miss something, or is that the way it works now?
>

It's tickling some brain cells but I think it's 100% GPT by default now.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Fedora 36 on a MS Surface GO (2 or 3)?

2022-11-14 Thread Richard Shaw
On Mon, Nov 14, 2022 at 10:07 AM Sbob  wrote:

> Hi All;
>
> Anyone have any good guides for installing Fedora on a Surface Go 2 or a
> Surface Go 3?
>
> Is there a reason I should pick the 2 vs the 3?
>

It's been over a year but I installed Fedora 35 on a Surface GO 2 and it
worked fine. The only problem I remember is you really need fractional
scaling enabled to get the UI to be "comfortable".

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: New kernel install had issues. (6.0.5-200.fc36.x86_64)

2022-10-31 Thread Richard Shaw
Just a "me too" here, but I ran 6.0 fine when there was a call for testing.
When I updated to 6.0.5 my computer (B550 w/ Ryzen 5 5700X) paused at the
BIOS post for a long time and then kind of tried to load but stalled.

I forced it off and turned off the PS for 10 seconds and rebooted, then it
seemed to come up fine. I didn't think anything of it at the time..

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Request for testing: fail2ban 1.0.1 update

2022-10-17 Thread Richard Shaw
On Mon, Oct 17, 2022 at 2:12 PM Charles Dennett  wrote:

>
> I've been testing f2b over the past few days and I can now make it fail
> on demand.  By that I mean the fail2ban-server process uses 100% of a
> cpu and becomes unresponsive and will not respond to fail2ban-client or
> process any other log entries (apache, sshd, etc.) whenever it attempts
> to process a dovecot log entry.
>
> This will happen if I use the latest 1.0.1 package.  However, if I use
> that but replace the doveconf.conf filter with the one from an earlier
> version (I used the one from my last fedora 35 backup) everything works
> fine.  So, I would hazard a guess that something in the regex's in the
> newest dovecot.conf file is the issue.  I won't pretend to even begin to
> understand them.  They are quite complex to me.
>
> So for now I will use the older dovecot.conf file.  If someone wants me
> to test an updated version of dovecont.conf, I'd be glad to do that.
>

If you can, please file an issue upstream and let me know what the URL is.
Include as much info as you're able, especially any relevant log file
entries.

https://github.com/fail2ban/fail2ban/issues

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Request for testing: fail2ban 1.0.1 update

2022-10-14 Thread Richard Shaw
Interestingly, I did not have any issues, but I'm only running a sshd jail,
which is one of the reasons I wanted wider testing.

I verified that fail2ban was restarted (systemctl status fail2ban) and then
checked the status (fail2ban-client status sshd) and everything was fine.

I also did a tail -f on both the ssh log and the fail2ban log for a couple
of days and everything seemed fine.


Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Request for testing: fail2ban 1.0.1 update

2022-10-03 Thread Richard Shaw
I have disabled auto-stable based on time for the updates: I have submitted
updates for f36 and up and EPEL 9.

https://bodhi.fedoraproject.org/updates/?search=fail2ban

I would like some sort of confirmation on the update itself or by direct
communication that everything appears to be working properly.

Fail2ban is somewhat fragile by nature and this is a big update.

Updates for EPEL 7 & 8 will take a bit longer.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: How to run Fedora ARM raw image running on qemu emulator ?

2022-09-25 Thread Richard Shaw
On Sat, Sep 24, 2022 at 1:30 PM Cătălin George Feștilă <
myth...@fedoraproject.org> wrote:

> I want to run on qemu a raw Fedora ARM image from the official website.
> Can you tell me how I can do this?
>

This is for Ubuntu so everything might not translate 1:1, but it does show
how to use arm emulation in qemu.

https://wiki.ubuntu.com/ARM64/QEMU

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Fedora on a Mac Book Pro

2022-09-23 Thread Richard Shaw
On Thu, Sep 22, 2022 at 8:55 PM Terry Polzin  wrote:

> I've come across a circa 2011 Mac Book Pro.  It appears to be in decent
> condition save for the power adapter which appears to have been chewed by a
> pet, so it doesn't flame on.
>
> Has anyone had success installing fedora on one of these?  Just curious
> before I put money into a power adapter, I'm guessing someone ran the
> battery flat (its probably shot anyway) and didn't pursue getting a new
> power adapter.
>

I don't know enough about Macs to know what type it is. But it's old and
thick and has an Intel Core2Duo CPU. It only has 2GB ram so I put a
lightweight spin on it, LXDE I think. Works fine but the lack of a right
mouse button is annoying and there were a few other quirks but perfectly
usable. The ram could be upgraded to 4GB, which I would do if I was going
to use it on any regular basis.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Looking for a GPU that "just works" - Is RX550 a good choice?

2022-09-02 Thread Richard Shaw
On Fri, Sep 2, 2022 at 11:47 AM Ian Pilcher  wrote:

> I'm currently using an old ATI FirePro V4900 to run my 3 displays -
> 1x 2K and 2x 1920x1200.  I've been seeing glitches in some Gtk
> applications for a while now (running on Plasma X11), and I'm getting
> pretty tired of them.[1]  This card uses the old radeon driver, so I'm
> thinking that it might be time to bite the bullet and move to something
> a bit more modern.
>
> I do not do any gaming.  I simply want to be able to run my preferred
> desktop (Plasma) with compositing and a few effects turned on.
>
> NVIDIA is out, because of the "just works" requirement, so I'm looking
> at AMD options.  Is the RX550 a good choice for my use case?
>

It should be fine. I still like my RX 580. I was going to recommend the
6400/6500 if budget allows just to get something "current" but both seem to
only have two ports...

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: opinions: backups

2022-08-16 Thread Richard Shaw
On Tue, Aug 16, 2022 at 5:23 PM Bill Cunningham 
wrote:

> On 8/16/2022 5:24 PM, Barry Scott wrote:
>
> On 16 Aug 2022, at 19:27, Neal Becker  wrote:
>
> I use borg and am very happy with it.  As Chris, I only backup /home,
> everything else is replaceable.  Oh, I occasionally make a backup of /etc
> also.
>
>
> I back /home and /etc because if I missed a config change then I need /etc
> to rebuild.
> As pointed out a list of installed packages is use full to backup as well.
> I put that info in a file in /etc.
>
> That's a good idea. I truthfully don't use users because no one but me
> uses my machine. I know everyone says use a normal user and just sudo into
> root. But all I access is in root anyway, so I just login. I too just
> backup what I want at this point. Is it safe btw to erase all the invisible
> files in the /home root directory? Bash scripts and all? I erase a few root
> scripts that applications make and send to /~ but I am very careful.
>
>Does anyone still use clonzilla or partimage? They are a bit aged.
>

I wouldn't use them for general backup purposes but clonezilla is still a
good choice when upgrading a drive.  I might consider using one of them to
back up a whole system when it's a utility or micro server, but backing up
a whole desktop system seems like a waste of disk space unless you just
have money to burn.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: hardware RAID1 NVMe card?

2022-06-24 Thread Richard Shaw
On Fri, Jun 24, 2022 at 7:35 AM John Mellor  wrote:

> On 2022-06-23 23:04, ToddAndMargo via users wrote:
> > Any of you guys know of a PCIe card that will do
> > hardware RAID 1 with two NVMe drives?
> >
> > I have found some, but they are way to elaborate,
> > and as such, way too expensive.
>
> Maybe you have a weird hardware requirement that explains the question,
> but why do you want a RAID-1 card?  Software RAID is much cheaper,
> faster, uses less power and is considerably more reliable.  If you run
> BTRFS or ZFS, then it is also easier on the drives, and recovery times
> are hundreds of times lower than what you can do with hardware.  That
> translates directly into hundreds of times better reliability numbers.
> Best of all, you do not need matching drives or drive sizes to implement
> RAID-1.  For a long time now, the only reason to run hardware RAID has
> been underneath back-level versions of Windows or VMware.
>

Agreed. I have a 4x4gb Seagate Terrascale drive array running BTRFS in
RAID1. Until it starts to fill up, I'm going to leave it RAID1 while BTRFS
continues to improve RAID5 :)

And then I can convert it on the fly!

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Upgraded system from regular SATA disk to SDD disk. Anything need to get best?

2022-04-21 Thread Richard Shaw
On Thu, Apr 21, 2022 at 9:41 AM Jon Ingason via users <
users@lists.fedoraproject.org> wrote:

> Den 2022-04-21 kl. 15:49, skrev Richard Shaw:
>
> >
> > Assuming you started with Fedora 34 you should be on BTRFS. I would just
> > make sure btrfs-trim.timer is enabled to periodically do trimming of
> > unused blocks.
> >
>
> Should it not bee fstrim.timer? It does exactly same on my system as you
> describe.
> My system is Fedora 35 with BTRFS filesystm on 2 Tbyte SDD and running
> fstrim.timer bu not btrfs-trim.timer.
>

I used fstrim.timer before, I'm pretty sure they do the same thing...

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Problem: package lilv-0.24.12-4.fc37.x86_64 obsoletes lilv < 0.24.12-2 provided by lilv-0.24.12-1.fc36.i686

2022-04-15 Thread Richard Shaw
On Fri, Apr 15, 2022 at 10:08 AM stan via users <
users@lists.fedoraproject.org> wrote:

> On Thu, 14 Apr 2022 20:49:23 -
> Reon Beon via users  wrote:
>
> >  Problem: package   obsoletes lilv <
> > 0.24.12-2 provided by lilv-0.24.12-1.fc36.i686
> >   - cannot install the best update candidate for package
> > lilv-0.24.12-1.fc36.x86_64
> >   - problem with installed package lilv-0.24.12-1.fc36.i686
> > Nothing to do.
> > Complete!
>
> i686
>
> You need to remove the i686 package to allow the x86_64 package to
> install.  Looks like it is obsolete, but you can try to install it
> after the update completes.  It probably won't be available anymore.
>
> Or, you can try --allowerasing, and the transaction should remove the
> i686 package.
>

It seems to be tangentially needed by steam so erasing the package could
have unwanted side effects...

$ sudo dnf --assumeno erase lilv.i686 | grep steam
 steami6861.0.0.74-2.fc35
@rpmfusion-nonfree-updates  3.5 M
 steam-devicesi6861.0.0.74-2.fc35
@rpmfusion-nonfree-updates   19 k
Operation aborted.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-24 Thread Richard Shaw
On Thu, Mar 24, 2022 at 7:36 AM Brad Bell  wrote:

> I am doing algorithmic differentiation with very large tapes and my jobs
> sometimes run out of memory.
>

Another helpful datapoint would be how much physical memory do you have?

This use case certainly isn't a typical desktop user one and memory isn't
that expensive. I would think using physical swap would slow the process
down quite a bit.

In either case, it looks like you have your initial problem solved.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Fedora 35 swapon: /swapfile: swapon failed: Invalid argument

2022-03-23 Thread Richard Shaw
On Wed, Mar 23, 2022 at 2:04 PM Brad Bell  wrote:

> The instructions below worked for me and the created extra swap space (not
> as much as desired but I
> can fix that)
>
> ~>swapon -s
> FilenameTypeSizeUsedPriority
> /dev/zram0  partition   8388604 390584100
> /swapfile   file65532   0   -2
>
>
> What do you mean by this may not be necessary. Is there a better way to
> increase the swap space ?
>

To rephrase the question, how do you know you need additional swap? Are you
having processes killed by OOM?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Gnome 40

2022-03-05 Thread Richard Shaw
On Sat, Mar 5, 2022 at 6:43 AM Robert McBroom via users <
users@lists.fedoraproject.org> wrote:

> Does Gnome cache the rpm's of a software install,update? If so what is
> the path? I normally use dnf and create a repo to use on other machines.
>

I found a few in /var/cache/PackageKit/ but not a lot. I
doubt they're kept long.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: ssd keeps dying (OT)

2022-02-25 Thread Richard Shaw
On Fri, Feb 25, 2022 at 6:20 AM Patrick O'Callaghan 
wrote:

> On Fri, 2022-02-25 at 06:59 -0500, Neal Becker wrote:
> > Sorry for the top posting and excessive quoting: I've given up on
> > running my own mail server and am using gmail, which makes it too
> > easy to follow bad habits.
>
> I also use Gmail, but for list messages I access it through Evolution.
> The Gmail web interface and apps are not good with mailing lists, but
> you don't have to live with that.
>

I've used Gmail exclusively for all the mailing lists I'm on and it doesn't
bother me anymore but I have some automatic keystrokes :)

Click reply
Cntl-a (unhides everything)
Cntl-Home, delete, delete (goes to the top, deletes extra lines on top)

Then I just navigate through and reply to what I want and delete what's
unneeded (shift-up/down, delete).

Works well enough for me.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: ssd keeps dying (OT)

2022-02-22 Thread Richard Shaw
On Tue, Feb 22, 2022 at 7:34 AM Neal Becker  wrote:

> I know this is a bit OT, but you guys are great at answering all questions.
>
> I bought a workstation from Titan computers around 1/2020 (dual EPYC
> cpu).  After about 1 year it stopped working.  I could ssh to it, and
> almost any command would return Input/Output error.  Unfortunately
> journalctl gave input/output error so I can't see logs.  cat
> /proc/partitions did not show any nvme device (the root device) on which
> the OS was installed.
>
> I replaced the SSD with a samsung 980 pro.  Reinstalled fedora.  It then
> worked a few weeks, then the exact same symptoms.
>
> I replaced the SSD with another samsung 980 pro, this time with heatsink.
> Reinstalled fedora.  It worked a few weeks.  Then same symptoms.
>
> Then I replaced with a 4th samsung 980 pro, but this time instead of using
> the M.2 socket I used a pcie-m.2 adapter (in case something was wrong with
> the m.2 socket).  Also added a surge protector outlet for good measure.
> Reinstalled.  Watched the smartctl.  No errors.  Temperature was always low.
>
> Now it's failed again, exactly same symptoms.
>
> Any ideas?
>

I remember your other email about a month or so ago and thought it was
really strange. Have you tried the drives in another system to confirm
they're truly dead?

I would check for BIOS updates just for good measure. Other than that, have
you had any communication with Titan about it?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: View HEIC format photes?

2022-02-04 Thread Richard Shaw
On Fri, Feb 4, 2022 at 7:32 AM Todd Chester via users <
users@lists.fedoraproject.org> wrote:

> Hi All,
>
> Does Fedora have a viewer that will import
> an Apple HEIC format photo?
>

libheif from RPM Fusion is the library. There are also a couple of programs
(which I assume would pull in libheif), gimp-heif-plugin and
qt-heif-image-plugin.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Picking a new laptop

2022-02-01 Thread Richard Shaw
I have an HP ENVY x360 with Ryzen 5 4500U that has been working great.

Early on I had some weird issues where the mouse / trackpad would work
during login, but not once the desktop loaded. Rebooting fixed it. But with
the 5.15+ kernels I have had zero issues.

It's got enough HP to play Tomb Raider from Steam. I did upgrade the memory
to 16GB.

It is a thin model, no optical drive and no Ethernet port. On the rare
occasion I need Ethernet I have a USB-C adapter. I've gotten 24MB/s over
wireless doing updates with my UniFi AC Lite (Wifi 5) APs.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: F35 - zram on auto install?

2022-01-16 Thread Richard Shaw
On Sun, Jan 16, 2022 at 10:46 AM Robert Moskowitz 
wrote:

> It has been a while my using zram.  How do I disable it for now? With
> 16GB real memory and 16GB real swap partition, I want to see how things
> are working...
>

While someone provided the direct answer to your question, I would reverse
it. What are you doing that would require that much disk swap? And even if
it did the performance would be pretty bad unless you're running an
SSD/NVMe drive, and even if you are, in memory swap would still be faster.

Also, now that processes are killed automatically in OOM situations having
large amounts of swap isn't really necessary.

At the end of the day it's all about the problem you want to deal with:

1. Large physical swap which may prevent OOM but your system slows to a
crawl to the point of being unusable (but possibly recoverable) if you're
very patient.
2. zram swap + OOM killer which may choose the wrong process to kill but
keeps your system responsive.

For me, the only time I max out my memory (32GB real, ~48GB w/ zram swap)
is when building very large packages. If I was to use disk swap that would
significantly slow down an already large/long build so I prefer option #2.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Ejecting USB drive causing system reboot

2021-11-17 Thread Richard Shaw
I have a 125GB NVMe drive in a USB 3.0 enclosure that I was trying to
repartition using the Gnome Disks app.

It failed miserably only giving me errors, so I loaded up gparted. That
worked fine other than the usual "I couldn't inform the kernel so you need
to reboot to see the new partition" error message.

Since it was USB I just unplugged and replugged it. Problem solved.

After I was happy with the result and closed gparted, I went to Nautilus
and ejected the drive. The eject button disappeared but the drive entry in
the navigator did not, and then my system suddenly rebooted.

It's worth mentioning that I'm testing the 5.15.2-200 kernel on Fedora 35,
but even prior to running the testing kernel, with USB thumb drives I
noticed when I ejected them, not only did the entry not disappear, but the
eject button remained as well.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: [Test Week] Fedora Linux Kernel 5.15 2021-11-14 through 2021-11-21

2021-11-15 Thread Richard Shaw
I can go to the koji web interface and see the kernel in
f35-updates-candidate running:

koji list-builds --package=kernel --after="2021-11-13" | grep "5.15"

Produces no results.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: nothing provides libcrypto.so.10()(64bit) needed by viber-16.1.0.37-2.x86_64

2021-11-09 Thread Richard Shaw
On Tue, Nov 9, 2021 at 3:40 AM Frederic Muller  wrote:

> Hi!
>
> Viber desktop user here and it seems I can't install the latest version
> as I'm getting this message:
>
> nothing provides libcrypto.so.10()(64bit) needed by
> viber-16.1.0.37-2.x86_64
>
> Any workaround?
>

Need quite a bit more info/context. It doesn't look like viber is provided
by Fedora/RPM Fusion (I attempted a test install).

1. What version of Fedora are you running?
2. Where are you getting viber from?

It looks like it needs a much older version of openssl-libs than what is
provided on Fedora.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: good/best source for replacement mem/drive

2021-11-05 Thread Richard Shaw
On Fri, Nov 5, 2021 at 10:25 AM bruce  wrote:

> Hi.
>
> Thinking of upgrading a laptop.
>
> Any opinions on good/best online to get 8G mem sticks as well as 1G
> internal hard drive. Laptop will already have 256 SSD.
>
> Also, anyone have opinions/thoughts on using the USB to LAN
> connectors, as opposed to the onboard LAN interface/port?
>

You didn't list any core hardware specs...Do you need DDR3 or DDR4 memory?

Assuming when you say SSD, you mean a 2.5" sata style?

As long as it's supported I don't see any benefit of an external Ethernet
adapter.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: capabilities of softwares on fedora vs on developper's platform

2021-10-20 Thread Richard Shaw
On Wed, Oct 20, 2021 at 10:13 AM Gordon Messmer 
wrote:

> On 10/20/21 01:26, François Patte wrote:
> > Why this difference?
>
>
> As Ed and Patrick point out, the difference is probably CUDA. The CUDA
> client libraries are not licensed appropriately for redistribution,
> therefore they are not packaged in Fedora.  And since they aren't
> packaged, they aren't available in the build root, and it isn't possible
> to build software that uses CUDA.
>

This is not technically true but may be practically true, my google search
was not conclusive.

It looks like Blender has a build time option to dynamically load (i.e.,
dlopen) the cuda library but the first link was from 2018 and said that it
crashed blender. I would hope this has been fixed by now but I didn't look
any further.

Searching the blender spec file[1] I don't see any reference to the
dynaload option but I'm not sure if it's on or off by default.

Thanks,
Richard

[1] https://src.fedoraproject.org/rpms/blender/blob/rawhide/f/blender.spec
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: OT: managed switch recommendations

2021-10-18 Thread Richard Shaw
On Mon, Oct 18, 2021 at 5:33 AM Frederic Muller  wrote:

> Hi!
>
> Was looking for something safe and reliable, 8 or 16 ports, managed. I
> don't really need PoE. I've read really bad review on Netgear on Amazon.
> I am also looking for 'average' pricing, not the cheapest and not the
> most expensive ones. Also don't want to have to register online for some
> "features" to work.
>

I use Ubiquiti in my home. For a router I use a Unifi Security Gateway
(USG)[1] but I'd like to upgrade to the Dream Machine Pro SE when
available. Then for the switch a non-PoE 24 port rack mount managed switch
with two UAP-AC Lites (Wifi 5, dual band)[2]. If I were to setup a brand
new system I would use the new WiFi 6 version[3].

Pretty happy with it overall. I run the Unifi controller software on a
CentOS Steam box in the closet since I package it for the RPM Fusion
non-free repository, however, when I upgrade the whole Dream Machine
series[4] have it built in.

Thanks,
Richard

[1] https://www.ui.com/unifi-routing/usg/
[2] https://www.ui.com/unifi/unifi-ap-ac-lite/
[3] https://www.ui.com/wi-fi
[4] https://www.ui.com/consoles
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: packages: where does x come from?

2021-09-18 Thread Richard Shaw
On Sat, Sep 18, 2021 at 1:06 PM jtagcat jtagcat 
wrote:

> I've looked on multiple occasions for a 'dnf whomaintains', or a section
> in info containing 'source' or maintainer.
>
> Let's take an example:
> $ dnf info kubernetes-client
> Source   : kubernetes-1.20.5-1.fc34.src.rpm
> Repository   : @System
> From repo: fedora
> URL  : https://k8s.io/kubernetes
> (...License, Description, Size, Architecture, Version, Release, Summary)
>
> How or where do I make a suggestion? Can I send a patch/PR to the
> automated build process, if there is one?
>

I'm not 100% sure if you mean a request to Fedora or upstream, but most of
the info you're looking for should be found here:

https://src.fedoraproject.org/rpms/kubernetes

The key is you have to use the source name even though many packages can be
generated from it (Note the Sources tag).

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Windows (Super) key stopped working

2021-09-02 Thread Richard Shaw
On Thu, Sep 2, 2021 at 1:20 PM Samuel Sieb  wrote:

> On 9/2/21 5:09 AM, Richard Shaw wrote:
> > Just tried evtest and all the keys I tried worked except for Super.
>
> That is very strange.  Nothing should be able to capture keys before you
> read it there.  If you run "evtest" with no parameters, it will give you
> a list of devices.
>
> What is your keyboard?
> What name does it have in the list?
> Are there any other keyboards in the list?
> When you select the keyboard, there is a list of events.  Do you see
> LEFTMETA in that list?
> Does the keyboard have two logo keys?  If so, does the right one work?
> Do you have another keyboard to try?


HAH! It's a Corsair K55 RGB keyboard. I did try a second keyboard (cheap
USB Acer I had laying around) and it worked!

So that caused me to look up the manual. There's a "Lock" button at the top
which apparently specifically disables the Super key! Who would have
thought?!?

Apparently it's system dependent though as the key did work when plugged
into another computer.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Windows (Super) key stopped working

2021-09-02 Thread Richard Shaw
On Wed, Sep 1, 2021 at 10:25 PM Samuel Sieb  wrote:

> On 9/1/21 8:40 AM, Richard Shaw wrote:
> > At some point my Windows (Super) key stopped working.
> >
> > Trying the following doesn't produce any output when the super key is
> > pressed:
> >
> > $ xinput list
> > WARNING: running xinput against an Xwayland server. See the xinput man
> > page for details.
> > ⎡ Virtual core pointer id=2 [master pointer  (3)]
> > ⎜   ↳ Virtual core XTEST pointer   id=4 [slave  pointer  (2)]
> > ⎜   ↳ xwayland-pointer:18 id=6 [slave  pointer  (2)]
> > ⎜   ↳ xwayland-relative-pointer:18 id=7 [slave  pointer  (2)]
> > ⎣ Virtual core keyboard   id=3 [master keyboard (2)]
> >  ↳ Virtual core XTEST keyboard id=5 [slave  keyboard (3)]
> >  ↳ xwayland-keyboard:18 id=8 [slave  keyboard
> (3)]
> > $ xinput test 8
>
> I don't see what you're trying to test here.  That keyboard is going to
> be filtered.  I actually can't get any output from that test when I try
> it, regardless of what keys.  If you want to see if the keyboard is
> actually producing codes, then you need to use "evtest" instead.
> gets you events at the kernel level.
>

Thanks, I was just trying whatever I found googling the problem. I did get
output from every other key I tried other than Super.

Just tried evtest and all the keys I tried worked except for Super.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Windows (Super) key stopped working

2021-09-01 Thread Richard Shaw
On Wed, Sep 1, 2021 at 4:15 PM Patrick O'Callaghan 
wrote:

> On Wed, 2021-09-01 at 10:40 -0500, Richard Shaw wrote:
> > At some point my Windows (Super) key stopped working.
> >
> > Trying the following doesn't produce any output when the super key is
> > pressed:
> >
> > $ xinput list
> > WARNING: running xinput against an Xwayland server. See the xinput
> > man page
> > for details.
> > ⎡ Virtual core pointer id=2 [master pointer  (3)]
> > ⎜   ↳ Virtual core XTEST pointer   id=4 [slave  pointer
> > (2)]
> > ⎜   ↳ xwayland-pointer:18 id=6 [slave  pointer
> > (2)]
> > ⎜   ↳ xwayland-relative-pointer:18 id=7 [slave  pointer
> > (2)]
> > ⎣ Virtual core keyboard   id=3 [master keyboard (2)]
> > ↳ Virtual core XTEST keyboard id=5 [slave  keyboard
> > (3)]
> > ↳ xwayland-keyboard:18 id=8 [slave  keyboard
> > (3)]
> > $ xinput test 8
> >
> > But pluggin my keyboard into my work laptop running windows it works
> > fine.
>
> How about Xorg?
>

Nope, same result as wayland, nada.

Thanks,
RIchard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Windows (Super) key stopped working

2021-09-01 Thread Richard Shaw
At some point my Windows (Super) key stopped working.

Trying the following doesn't produce any output when the super key is
pressed:

$ xinput list
WARNING: running xinput against an Xwayland server. See the xinput man page
for details.
⎡ Virtual core pointer id=2 [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer   id=4 [slave  pointer  (2)]
⎜   ↳ xwayland-pointer:18 id=6 [slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:18 id=7 [slave  pointer  (2)]
⎣ Virtual core keyboard   id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave  keyboard (3)]
↳ xwayland-keyboard:18 id=8 [slave  keyboard (3)]
$ xinput test 8

But pluggin my keyboard into my work laptop running windows it works fine.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Restart systemd service based on memory usage

2021-07-22 Thread Richard Shaw
On Thu, Jul 22, 2021 at 2:41 PM Ed Greshko  wrote:

> On 23/07/2021 03:00, Richard Shaw wrote:
> > I have a Kiosk I'm trying out using Chromium, unfortunately it seems to
> have a memory leak and crashes in less than 24 hours of usage.
> >
> > I see systemD has an option for "MemoryMax" but was wondering if anyone
> has actually used it?
> >
> > Is it as simple as
> > MemoryMax=512M
> > OnFailure=Restart
> >
> > or something like that?
> >
>
> Is Chromium started by a systemd unit/service?
>

Not yet, but it will be :)

I'm loosely following this:

https://pimylifeup.com/raspberry-pi-kiosk/

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Restart systemd service based on memory usage

2021-07-22 Thread Richard Shaw
I have a Kiosk I'm trying out using Chromium, unfortunately it seems to
have a memory leak and crashes in less than 24 hours of usage.

I see systemD has an option for "MemoryMax" but was wondering if anyone has
actually used it?

Is it as simple as
MemoryMax=512M
OnFailure=Restart

or something like that?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: btrfs system slow down with 100GB file

2021-04-30 Thread Richard Shaw
On Fri, Apr 30, 2021 at 7:56 PM Roger Heflin  wrote:

> 388217 * 10ms = about 3800 seconds to read that file or about
> 26MB/sec, but with all of the seeks most of that time will be idle
> time waiting on disk (iowait), and it is very possible that parts of
> the file have large extents and other parts of the file are horribly
> fragmented.  And that ignores any time to do any other work related to
> the rsync and file io.   How long does it take to copy the file?
>

Not sure, I don't make a habit of moving 100GB files around too often :)



> btrfs has an autodefrag mount option, no idea how good or bad it
> works, but it might be able to reduce the extents given enough time to
> a reasonable number and keep it under control.
>

Doing a forced defragment now specifically on the file and it's taking a
while.


so long as you are using rsync to read the file the fact that the db
> is cow is probably not an issue (since from rsync's point of view it
> is just one big file).   if you have small writes to the file and
> btrfs was set to cow that would make a mess.  Not sure for a db btrfs
> is a good filesystem choice on a spinning disk, disabling cow might
> have mostly fixed this.  it not clear to me that if you set the defrag
> option now if it will fix the already fragmented parts of the file or
> not.And if you turned off cow later the file may have already been
> heavily fragemented.


I'm not specifically accessing the file, the Monero daemon is so no rsync
involved as far as I know.  I have already set the directory containing the
file as nodatacow and moved the file to ensure it was set previously.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: btrfs system slow down with 100GB file

2021-04-30 Thread Richard Shaw
On Fri, Apr 30, 2021 at 6:16 PM Roger Heflin  wrote:

> I don't know why but the spinning disk is being crushed.
>

Well, a little googling after my post it appears the database is LMDB,
which is a COW db. So I can see how a COW DB on top of a COW FS may be a
problem, but I have marked the directory nodatacow...

$ lsattr ~/.bitmonero/lmdb
 /home/richard/.bitmonero/lmdb/lock.mdb
---C /home/richard/.bitmonero/lmdb/data.mdb


if you divide the mb/sec  by the reads you get around 4k per read
> (that is about as bad as you could do).
> if you multiply the reads/sec * r_await you get all of the time accounted
> for.
>
> And since each read is taking around 8-10ms (around the disks seek
> time for a new track) then each block being read is not being cached
> in the disk hence probably not on the same track that the disk just
> read or as the disk recently read and still has in its cache.  If the
> file you are rsyncing was written slowly  or quickly with a number of
> other IO's happening between each io then that increases the chances
> of the file being massively fragmented and act like this.
>
> Is this a single file and this single rsync is the only thing running?
>

I down know the inner workings of the client, but it is a single file as
seen above.


And what disk are you syncing to/from?And how was the file that
> you are rsyncing created?I have seen a DB do this (in a sequential
> backup) and that file was created in such a way that for the most part
> no 2 blocks were next to each other on a disk.   I believe the average
> blocksize for that file was 5.1k.   the filefrag command will show
> file fragments on some filesystems.  There may be different commands
> needed depending on what filesystem the file comes from.
>

 $ filefrag ~/.bitmonero/lmdb/data.mdb
/home/richard/.bitmonero/lmdb/data.mdb: 388217 extents found

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: btrfs system slow down with 100GB file

2021-04-30 Thread Richard Shaw
A little thread necro... I stopped the blockchain daemon for a while and
recently restarted it and am now seeing GUI freezes while it resyncs even
though the file itself is marked +C...

Here's the output of the requested commands:

https://pastebin.com/9i0DaVpf

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: drive layout

2021-04-28 Thread Richard Shaw
On Sun, Apr 25, 2021 at 12:10 PM bruce  wrote:

> Hi.
>
> Doing some research into how devs are using their dev systems in terms
> of the actual layout/partition of the drives. I've seen plenty of
> articles, figured I'd ask here as well.
>
> If you have an interested, I'd appreciate your thoughts.
>
> 1) How is your drive/system laid out regarding your paritions?
>

SSDs are getting cheaper, but not cheap enough for mass storage for me so
currently:
500GB M.2 NVMe boot/system drive
* /boot
* /boot/efi
* / and /var subvolumes sharing remaining space
* /home 3TB spinning disk

I like having /var as a separate volume because when it was EXT4 I could do
a reinstall and format / without losing data in /var. I setup using
subvolumes this time before I realized that was no longer possible. I guess
it could make snapshots easier though...

2) Do you have multiple drives (SSD/Sata)?
>

Yup



> 3) Is OS on one drive, apps/data on the other?
>

Hybrid depending on what you consider data, but /home definitely.



> 4) Do you switch between OS(es)?
>

Not on my desktop. If I need windows I run it in Gnome Boxes, I do dual
boot my laptop.



> 5) What's your "backup" process/strategy?
>

I use BackupPC (I also maintain the package) to backup /home and /etc on
most of the computers in the house. I have it on a CentOS 8 Stream box in
the closet w/ UPS.



> 6) What's your "update" strategy(ies)?
>

I haven't had many issues upgrading over the last several releases but now
that I'm on btrfs I could take a snapshot, upgrade, and if there's a major
problem revert back to the snapshot.



> I'm looking to get a new system
>  AMD/ryzen -8core 16G 256G SSD - 1TBSata
>

That should work fine but depending on your budget, 500GB SSDs seem to be
the sweet spot if you're going with a hybrid SSD/spinning disk combo. For
laptops I just usually opt for a 1TB SSD.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: I think I broke my BTRFS RAID 1 array

2021-04-14 Thread Richard Shaw
I ran btrfs check without --repair but apparently it fixed some issues and
now the rebalance is continuing without exiting...

# btrfs check /dev/sdc
Opening filesystem to check...
Checking filesystem on /dev/sdc
UUID: d9a2a011-77a2-43be-acd1-c9093d32125b
[1/7] checking root items
[2/7] checking extents
[3/7] checking free space tree
cache and super generation don't match, space cache will be invalidated
[4/7] checking fs roots
[5/7] checking only csums items (without verifying data)
[6/7] checking root refs
[7/7] checking quota groups skipped (not enabled on this FS)
found 4032094437376 bytes used, no error found
total csum bytes: 3933617376
total tree bytes: 4070244352
total fs tree bytes: 22151168
total extent tree bytes: 24248320
btree space waste bytes: 54106861
file data blocks allocated: 4028024193024
 referenced 4028024193024

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


I think I broke my BTRFS RAID 1 array

2021-04-14 Thread Richard Shaw
I have been running a 3 disk RAID 1 btrfs array for a few weeks now and
simulated more than a dozen power failures without issue. Yesterday I
decided to add my 4th disk, which was the original media drive.

I was able to add it to the array easy enough and then initiated a full
balance, however, when I was trying to squeeze the case panels back on
(SATA power cables are stiff!) two of the drives (sdc, sdd) lost power. I
didn't notice the problem for a few minutes until I looked at the storage
section of Cockpit.

I immediately initiated a shutdown and corrected the issue by rerouting the
power cables a bit.

After booting back up I tried to restart the balance but it would run
briefly and then stop. dmesg shows:

[  155.497940] BTRFS info (device sdc): balance: start -d -m -s
[  155.499804] BTRFS info (device sdc): relocating block group
10451967541248 flags data|raid1
[  162.517172] BTRFS info (device sdc): found 15 extents, stage: move data
extents
[  162.776081] BTRFS error (device sdc): tree level mismatch detected,
bytenr=10359313989632 level expected=0 has=2
[  162.776087] BTRFS error (device sdc): tree level mismatch detected,
bytenr=10359313989632 level expected=0 has=2
[  162.776090] BTRFS error (device sdc): tree level mismatch detected,
bytenr=10359313989632 level expected=0 has=2
[  162.855784] BTRFS info (device sdc): balance: ended with status: -117


I ran a scrub and a little over 5 hours later it shows it made 4
corrections:

# btrfs scrub start -B /mnt/media
scrub done for d9a2a011-77a2-43be-acd1-c9093d32125b
Scrub started:Tue Apr 13 17:09:51 2021
Status:   finished
Duration: 5:20:52
Total to scrub:   7.34TiB
Rate: 399.47MiB/s
Error summary:verify=4
  Corrected:  4
  Uncorrectable:  0
  Unverified: 0
WARNING: errors detected during scrubbing, corrected


However, when I try to balance again I still get errors:

[19480.281381] BTRFS info (device sdc): balance: start -d -m -s
[19480.298196] BTRFS info (device sdc): relocating block group
10451967541248 flags data|raid1
[19485.587630] BTRFS info (device sdc): found 15 extents, stage: move data
extents
[19485.801278] BTRFS error (device sdc): tree level mismatch detected,
bytenr=10359313989632 level expected=0 has=2
[19485.801287] BTRFS error (device sdc): tree level mismatch detected,
bytenr=10359313989632 level expected=0 has=2
[19485.801288] BTRFS error (device sdc): tree level mismatch detected,
bytenr=10359313989632 level expected=0 has=2
[19485.865739] BTRFS info (device sdc): balance: ended with status: -117

Where do I go from here? Googling "tree level mismatch detected" shows
mostly source code results.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Abysmal VM performance even with btrfs+nodatacow

2021-04-04 Thread Richard Shaw
Looks like it's already the default...

$ virsh dumpxml win10 | grep -i cache
  

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Abysmal VM performance even with btrfs+nodatacow

2021-04-04 Thread Richard Shaw
On Sun, Apr 4, 2021 at 12:53 AM Chris Murphy 
wrote:

> On Sat, Apr 3, 2021 at 1:32 PM Richard Shaw  wrote:
> >
> > I just setup a Windows 10 to do some debugging of a mingw project. Gnome
> Boxes made the process very simple but the performance is horrendous.
> >
> > Even after the following I still wouldn't consider it usable.
> >
> > # chattr +C ~/.local/share/gnome-boxes/images
> > # cd ~/.local/share/gnome-boxes/images
> > # mv win10 ../
> > # cat ../win10 win10
> >
> > $ lsattr
> > ---C ./win10
> >
> > Here's a screenshot showing windows process manager with < 1MB transfer
> rates but 100% disk busy while installing MinGW w64 in windows, which is
> not a huge amount of data...
> >
> >
> https://www.dropbox.com/s/2m0p3lptbqwd7lp/Screenshot%20from%202021-04-03%2014-22-02.png
> >
> > Any tips? Or do I just need to buy a cheap SSD and format it EXT4 just
> for virtual machine images?
>
> Pretty sure GNOME Boxes creates sparse qcow2 files, and virt-manager
> creates them with option preallocation=falloc, so this is worth a
> shot. I'm not sure it can account for all of the performance loss
> though.
>

The virtio drivers helped quite a bit, at least enough to be "acceptable"
for my current use case, although the program is exiting without a stack
trace, but that's another thread all together.



> Check the configuration 'virsh dumpxml $vmname > vmname.xml' and see
> if it's using IDE or SATA for the drive. It is possible to use VirtIO
> for Windows after you've installed the VirtIO drivers for Windows and
> the performance is much better.
>

$ virsh dumpxml win10 | grep -i sata
  




> I'm reluctant to outright recommend what I use, cache mode unsafe, but
> it performs a *lot* better. But if the host crashes, the VM image can
> be damaged beyond repair. If the guest crashes, it should be OK. (I
> force quit VMs all the time, mainly because I am trying to damage file
> systems.)
>

I can always create a poor man's snapshot and create a xz archive of the
image. It's mostly throw away except all the windows updates even using the
latest Win10 ISO.


I think the default cache mode for GNOME Boxes is none. It is possible
> to change it via virsh to writeback and see if that's better or worse.
> And if it's better then that maybe could become the default for
> Windows guests. I don't expect unsafe could ever be a default.
>
> https://documentation.suse.com/sles/11-SP4/html/SLES-kvm4zseries/cha-qemu-cachemodes.html


Thanks, I'll give it a try and report back here.

Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Abysmal VM performance even with btrfs+nodatacow

2021-04-03 Thread Richard Shaw
On Sat, Apr 3, 2021 at 2:41 PM Tom Horsley  wrote:

> On Sat, 3 Apr 2021 14:32:03 -0500
> Richard Shaw wrote:
>
> > Any tips? Or do I just need to buy a cheap SSD and format it EXT4 just
> for
> > virtual machine images?
>
> Did you install the virtual disk and network drivers from redhat
> inside the Windows machine? If not, you are doing everything with
> dead slow emulation. I get fairly decent performance with
> my windows VM, but only by using the redhat drivers.
>

Thanks, that helped a lot. Not quite as responsive as VirtualBox but a lot
better.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Fwd: Abysmal VM performance even with btrfs+nodatacow

2021-04-03 Thread Richard Shaw
I just setup a Windows 10 to do some debugging of a mingw project. Gnome
Boxes made the process very simple but the performance is horrendous.

Even after the following I still wouldn't consider it usable.

# chattr +C ~/.local/share/gnome-boxes/images
# cd ~/.local/share/gnome-boxes/images
# mv win10 ../
# cat ../win10 win10

$ lsattr
---C ./win10

Here's a screenshot showing windows process manager with < 1MB transfer
rates but 100% disk busy while installing MinGW w64 in windows, which is
not a huge amount of data...

https://www.dropbox.com/s/2m0p3lptbqwd7lp/Screenshot%20from%202021-04-03%2014-22-02.png

Any tips? Or do I just need to buy a cheap SSD and format it EXT4 just for
virtual machine images?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: AMD Ryzen laptop does not resume from sleep at random

2021-04-02 Thread Richard Shaw
On Fri, Apr 2, 2021 at 10:49 AM lejeczek via users <
users@lists.fedoraproject.org> wrote:

> Hi guys.
>
> I have a Lenovo E14 Gen2 which sports AMD Ryzen 4500U which
> has recently became very annoying.
> I do not shut the system off but, like many other I presume,
> put it to sleep, or system does it automatically.
> Resuming is the problem, sometimes. It's third sometimes Nth
> time, previous times it would wake up, where system instead
> of to wake up, freezes.
> When it freezes, screens stay blank/black, I have an
> external Dell monitor connected all the time as well as
> external USB ThinkPad keyboard (in case somebody sees the
> same problem in their config). Only power LED changes to
> state saying it's back on, not sleeping.
>
> I wonder if somebody might have any suggestions. My first
> thought was tweaking, adding some kernel parameters but will
> have to research that.
>

https://gitlab.freedesktop.org/drm/amd/-/issues/1230#note_824935

It's basically because S3 sleep was removed from the BIOS and instead has a
MS proprietary Si0x or something like that, don't quote me, but the details
are in the link.

It will not likely be fixed anytime soon although there has been some
progress recently. I disabled sleep on my laptop since it boots pretty darn
fast anyway.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Suggestion to improve documentation of Changes/BtrfsTransparentCompression

2021-03-31 Thread Richard Shaw
On Wed, Mar 31, 2021 at 12:29 AM misterx42--- via users <
users@lists.fedoraproject.org> wrote:

> Just a small thing, but as someone who never actually played around with
> filesystems so far, I was looking to try out the changes outlined in
> Changes/BtrfsTransparentCompression, but the command on the page:
>
> btrfs filesystem defrag -czstd -r
>

If you add the compression option to /etc/fstab, is the -czatd option
needed here?

I'm going to try out zstd:3 for my spinning disk as I remember some
conversation about that on the list a while ago.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: BTRFS settings for media storage

2021-03-29 Thread Richard Shaw
So after about 12 forced power offs while copying data (via rsync) this is
the only output from dmesg:

# dmesg | grep -i btrfs
[0.776375] Btrfs loaded, crc32c=crc32c-generic, zoned=yes
[5.497241] BTRFS: device fsid d9a2a011-77a2-43be-acd1-c9093d32125b
devid 1 transid 389 /dev/sdc scanned by systemd-udevd (732)
[5.521210] BTRFS: device fsid d9a2a011-77a2-43be-acd1-c9093d32125b
devid 2 transid 389 /dev/sdd scanned by systemd-udevd (743)
[6.743097] BTRFS info (device sdc): disk space caching is enabled
[6.743100] BTRFS info (device sdc): has skinny extents
[   61.730008] BTRFS info (device sdc): the free space cache file
(1833981444096) is invalid, skip it

Should I worry about the last line?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: BTRFS settings for media storage

2021-03-28 Thread Richard Shaw
On Fri, Mar 26, 2021 at 9:41 AM Chris Murphy 
wrote:

> On Thu, Mar 25, 2021 at 6:00 AM Richard Shaw  wrote:
> >
> > So how long do you wait until you consider the drive "good"? :)
> >
> > I'm not in a hurry so I could setup two of the drives in a RAID1 mirror
> and copy my media over and just let it run for a while before I add disks 3
> & 4.
>
> We don't have much control over when and how bugs manifest. It could
> be true that drive firmware is improperly reordering 1 in 100 commits,
> or only a particular sequence of flushing, or always. Such behavior
> not a problem by itself, it takes a power fail or a crash to expose
> the problem at just the right time. The whole point of write ordering
> is to make sure the file system is consistent.
>
> In the case of btrfs, the write order is simplistically:
> data->metadata->flush/fua->superblock->flush/fua
>
> What makes this safe with copy on write is no data or metadata is
> overwritten, so there's no in between state. All the data writes in a
> commit are represented by metadata (the btrees) in that commit, and
> those trees aren't pointed to as current and valid until they are on
> stable media. That's the point of the first flush. Then comes the
> superblock which is what points to the new trees.
>
> The problem happens if the super is written pointing to new trees
> before all the metadata (or data) has arrived on stable media. And
> then you get a power fail or crash. Now the super block is pointing to
> locations that don't have consistent tree state and you get some
> variation on mount failure.
>

Ok, so I'm struggling a bit here :)

I appreciate all the detailed response, but at the same time the answers
seem often bi-polar... You can do all these great things with BTRFS! But
even if you test your raid array multiple times, a bad firmware may still
eat all your data :)

I know you can't give absolute answers sometimes, but it feels like you're
often a btrfs cheerleader and critic at the same time :)

It sounds like there needs to be an easy to find list of known good and
known bad drives to use (be it btrfs or other similar filesystem).

My plan is to use Seagate Terascale drives which as far as I can tell are
CMR and not SMR at least.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: btrfs system slow down with 100GB file

2021-03-25 Thread Richard Shaw
On Wed, Mar 24, 2021 at 11:05 PM Chris Murphy 
wrote:

> On Wed, Mar 24, 2021 at 6:09 AM Richard Shaw  wrote:
> >
> > I was syncing a 100GB blockchain, which means it was frequently getting
> appended to, so COW was really killing my I/O (iowait > 50%) but I had
> hoped that marking as nodatacow would be a 100% fix, however iowait would
> be quite low but jump up on a regular basis to 25%-50% occasionally locking
> up the GUI briefly. It was worst when the blockchain was syncing and I was
> rm the old COW version even after rm returned. I assume there was quite a
> bit of background tasks that were still updating.
>
> > I assume for a blockchain, starts small and just grows / appended to.
>
> Append writes are the same on overwriting and cow file systems. You
> might get slightly higher iowait because datacow means datasum which
> means more metadata to write. But that's it. There's no data to COW if
> it's just appending to a file. And metadata writes are always COW.
>

Hmm... While still annoying (chrome locking up because it can't read/write
to it's cache in my /home) my desk chair benchmarking says that it was
definitely better as nodatacow. Now that I think about it, initial syncing
I'm likely getting the blocks out of order which would explain things a bit
more. I'm not too worried about nodatasum for this file as the nature of
the blockchain is to be able to detect errors (intentional or accidental)
already and should be self correcting.


You could install bcc-tools and run btrfsslower with the same
> (exclusive) workload with datacow and nodatacow to see if latency is
> meaningfully higher with datacow but I don't expect that this is a
> factor.
>

That's an interesting tool. So I don't want to post all of it here as it
could have some private info in it but I'd be willing to share it
privately.

One interesting output now is the blockchain file is almost constantly
getting written to but since it's synced, it's only getting appended to (my
guess) and I'm not noticing any "chair benchmark" issues but one of the
writes did take 1.8s while most of them were a few hundred ms or less.


iowait just means the CPU is idle waiting for IO to complete. It could
> do other things, even IO, if that IO can be preempted by proper
> scheduling. So the GUI freezes are probably because there's some other
> file on /home, along with this 100G file, that needs to be accessed
> and between the kernel scheduler, the file system, the IO scheduler,
> and the drive, it's just reluctant to go do that IO. Again, bcc-tools
> can help here in the form of fileslower, which will show latency
> spikes regardless of the file system (it's at the VFS layer and thus
> closer to the application layer which is where the GUI stalls will
> happen).
>

I'm pretty sure that's exactly what's happening. But is there a better I/O
scheduler for traditional hard disks, currently I have:

$ cat /sys/block/sda/queue/scheduler
mq-deadline kyber [bfq] none



> Any way this workload can be described in sufficient detail that
> anyone can reproduce the setup, can help make it possible for multiple
> other people trying to collect the information we'd need to track down
> what's going on. And that also includes A/B testing, such as the exact
> same setup but merely running the 100G (presumably it is not actually
> the exact size but the workload as the sync is happening)
>

I was rounding slightly, so yes not exactly 100GB but as the nature of a
blockchain it keeps growing:

$ ls -sh data.mdb
101G data.mdb

A large bittorrent download should also be similar since you don't get the
parts in order, but perhaps it's smart enough to allocate all the space on
the front end?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: BTRFS settings for media storage

2021-03-25 Thread Richard Shaw
On Wed, Mar 24, 2021 at 11:26 PM Chris Murphy 
wrote:

> On Wed, Mar 24, 2021 at 3:47 PM Richard Shaw  wrote:
> >
> > I've been running MythTV for about 10 years now and I've finally
> outgrown my media storage, currently a single 4TB disk drive. I have
> purchased 3 additional drives of the same model and plan to put them into a
> BTRFS RAID1 array.
> >
> > Setting nodatacow on the media directories is a no-brainer, but what
> other optimizations can I do?
>
> nodatacow means nodatasum and no compression. If the file becomes
> corrupt, it can't be detected or corrected.
>

Ok, so that may be a problem. I'm not worried about compression since it's
all MPEG2/H264 files anyway but the nodatasum would defeat the purpose...


>
> Due to all the firmware bugs, I tend to mix make/model drives rather
> than get the same ones that are all going to have the same bug at the
> time time if something goes wrong like a power fail or crash right
> after going a bunch of writes. Whereas separate bugs, btrfs can always
> do fix ups from the good drive whenever the bad one misbehaves.
>

So how long do you wait until you consider the drive "good"? :)

I'm not in a hurry so I could setup two of the drives in a RAID1 mirror and
copy my media over and just let it run for a while before I add disks 3 & 4.


> If they've proven their reliability in case of crash or power fail, as
> in start doing a big file(s) copy, and yank power on all the drives at
> once:  Reboot. Reattach the drives. Remount. Any errors? Does it
> mount? If you can do this 10x without errors, it might be OK.
>

Regardless of which computer it is in the house, critical stuff is backed
up on a BackupPC server and the super critical stuff also backed up on
multiple cloud services (Google Drive, SpiderOak, Dropbox, etc), although
it has been a while since I burned a disc and put it in the fire safe :)

I would hate to lose all the media but it wouldn't be the end of the world
for me so I think 10x is good enough :)

Still, I'd probably opt to set a udev rule for all the drives and
> disable the write cache. It isn't worth the trouble.
>

I know you mentioned this on another thread but google is failing me as to
how to do it. Do you have a useful link?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


BTRFS settings for media storage

2021-03-24 Thread Richard Shaw
I've been running MythTV for about 10 years now and I've finally outgrown
my media storage, currently a single 4TB disk drive. I have purchased 3
additional drives of the same model and plan to put them into a BTRFS RAID1
array.

Setting nodatacow on the media directories is a no-brainer, but what other
optimizations can I do?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: btrfs system slow down with 100GB file

2021-03-24 Thread Richard Shaw
On Tue, Mar 23, 2021 at 7:11 PM Chris Murphy 
wrote:

> On Tue, Mar 23, 2021 at 8:39 AM Richard Shaw  wrote:
> >
> > I'm getting significant iowait while writing to a 100GB file.
>
> High iowait means the system is under load and not CPU bound but IO
> bound. It sounds like the drive is writing as fast as it can.   What's
> the workload?


I was syncing a 100GB blockchain, which means it was frequently getting
appended to, so COW was really killing my I/O (iowait > 50%) but I had
hoped that marking as nodatacow would be a 100% fix, however iowait would
be quite low but jump up on a regular basis to 25%-50% occasionally locking
up the GUI briefly. It was worst when the blockchain was syncing and I was
rm the old COW version even after rm returned. I assume there was quite a
bit of background tasks that were still updating.


Reproduce the GUI stalls and capture all of the
> following:
>
> sudo iostat -x -d -m 5
>
> This is part of sysstat package (you can disable the service and timer
> units it installs). Probably best to copy/paste into a plaint text
> file and put it up in a file share service, most anything else is
> going to wrap it, making it hard to read. A minute of capture while
> the workload is proceeding is enough. Also capture a few
>
> grep -R . /proc/pressure
>

Unfortunately it's now fully synced so I can easily reproduce the workload.
I could move the file to another directory and start over but then then the
file would start at 0 bytes and it takes a couple to three days for things
to sync.


And each of these (workload doesn't need to be running)
>
> lsblk -o
> NAME,FSTYPE,SIZE,FSUSE%,MOUNTPOINT,UUID,MIN-IO,SCHED,DISC-GRAN,MODEL
> uname -r
> mount | grep btrfs
>

 $ lsblk -o
NAME,FSTYPE,SIZE,FSUSE%,MOUNTPOINT,UUID,MIN-IO,SCHED,DISC-GRAN,MODEL
NAMEFSTYPE   SIZE FSUSE% MOUNTPOINT UUID
  MIN-IO SCHED DISC-GRAN MODEL
sda  2.7T
   4096 bfq  0B ST3000DM008-2DM166
└─sda1  btrfs2.7T27% /home
 e80829f3-3dd3-486d-a553-dcf54b384c80   4096 bfq  0B
sr0 1024M
512 bfq  0B HL-DT-ST_BD-RE_WH14NS40
zram0  4G[SWAP]
   4096  4K
nvme0n1465.8G
512 none   512B Samsung SSD 970 EVO Plus 500GB
├─nvme0n1p1 vfat 600M 3% /boot/efi  98D5-E8CE
512 none   512B
├─nvme0n1p2 ext4   1G28% /boot
 48295095-3e89-4d32-905f-bbffcd2051ff512 none   512B
└─nvme0n1p3 btrfs  464.2G 4% /var
eca99700-77f4-44ea-b8d5-26673abc4d65512 none   512B



> >I have already made it nocow by copying it to another directory, marking
> the director nocow (+C) and using cat   to re-create it
> from scratch.
> >
> > I was under the impression that this should fix the problem.
>
> It depends on the workload for this file. Was the 100G file fallocated
> or created as a sparse file? File format?
>

I assume for a blockchain, starts small and just grows / appended to.



> >
> > On a tangent, it took about 30 minutes to delete the old file... My
> system is a Ryzen 5 3600 w/ 16GB or memory but it is a spinning disk. I use
> an NVME for the system and the spinning disk for /home.
>
> filefrag 100G.file
> What's the path to the file?
>

$ filefrag /home/richard/.bitmonero/lmdb/data.mdb
/home/richard/.bitmonero/lmdb/data.mdb: 1424 extents found

However, I let a rebalance run overnight.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


btrfs system slow down with 100GB file

2021-03-23 Thread Richard Shaw
I'm getting significant iowait while writing to a 100GB file. I have
already made it nocow by copying it to another directory, marking the
director nocow (+C) and using cat   to re-create it from
scratch.

I was under the impression that this should fix the problem.

On a tangent, it took about 30 minutes to delete the old file... My system
is a Ryzen 5 3600 w/ 16GB or memory but it is a spinning disk. I use an
NVME for the system and the spinning disk for /home.

Currently I'm getting random GUI freezes due to the iowait problem and my
HDD indicator light basically stays on solid for over an hour now.

Any tips?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Best video card with native drivers?

2021-03-07 Thread Richard Shaw
On Sun, Mar 7, 2021 at 8:56 AM Alex  wrote:

> Hi,
>
> > In my experience the only reliable open source drivers are the
> > ones for Intel, and Intel doesn't make a stand alone video
> > card, just on board video for Intel motherboards.
> >
> > For several releases now I've given the nouveau drivers a chance
> > on each new fedora install, and within a week (usually within
> > two hours) I've had the desktop freeze up hard, so I install the
> > rpmfusion binary nvidia drivers and never have any more trouble.
>
> Yeah, great point. I actually forgot about that - I'm using the radeon
> driver, which I think is also from rpmfusion.
>

I had very few problems running akmods with Nvidia drivers from RPM Fusion,
but then again, I also was the maintainer for quite some time :) However,
you mentioned FOSS drivers so I didn't mention it. You shouldn't need the
radeon drivers with the newer AMD cards, which is why I mentioned the RX
5XX series, they run well out of the box. I only installed the amdgpu
drivers for OpenCL support.

If you can find the RX  4XX card they're nearly identical, the 5XX series
have a little higher clock speed.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Best video card with native drivers?

2021-03-07 Thread Richard Shaw
On Sun, Mar 7, 2021 at 8:54 AM Alex  wrote:

> Hi,
>
> >> I have about $300 to spend on a new video controller for my desktop.
> >> I'm using f33 with Xwayland and GNOME. I currently have two 27"
> >> monitors and plan to get a third 32" 4K in the coming months. I have
> >> an i7-8700 3.2Ghz on an Asus PRIME Z370-A with 64GB.
> >>
> https://www.asus.com/us/Motherboards-Components/Motherboards/All-series/PRIME-Z370-A/
> >
> >
> > With the caveat that right now is a TERRIBLE time to buy a video card...
>
> Do you mean because of manufacturing problems, or some other reason?
> Is it all about cryptomining?
>

There's multiple issues, silicon shortage, more demand from staying at
home, and yes mining.

I've even seen used cards going for more than what I paid new. I can
occasionally find okay deals on Facebook Marketplace, then there's people
trying to sell ancient cards for $100...

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Best video card with native drivers?

2021-03-07 Thread Richard Shaw
On Sun, Mar 7, 2021 at 8:15 AM Alex  wrote:

> Hi,
> I have about $300 to spend on a new video controller for my desktop.
> I'm using f33 with Xwayland and GNOME. I currently have two 27"
> monitors and plan to get a third 32" 4K in the coming months. I have
> an i7-8700 3.2Ghz on an Asus PRIME Z370-A with 64GB.
>
> https://www.asus.com/us/Motherboards-Components/Motherboards/All-series/PRIME-Z370-A/
>
>
With the caveat that right now is a TERRIBLE time to buy a video card...

I'm very happy with my AMD RX 580 8GB but I don't mind buying previous
generation hardware. I got it before the mining boom for $145 new, now
they're almost $400 if you can find them.

If you're not doing any gaming then a 560/570 would work as well.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: can't upgrade from fedora 31 to Fedora 32

2021-03-01 Thread Richard Shaw
On Mon, Mar 1, 2021 at 5:04 PM Paolo Galtieri  wrote:

> Folks,
>I was trying to upgrade my Fedora 31 system to F32, but it failed due
> to conflicts.  Here's the output:
>
>   Problem: conflicting requests
>- nothing provides module(platform:f31) needed by module
> gimp:2.10:3120191106095052:f636be4b-0.x86_64
>

Try resetting modules

$ sudo dnf module reset gimp

Then try again and troubleshoot the next error.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Preventing display manager running on gpgpu

2021-02-09 Thread Richard Shaw
I'm not sure I have a 100% solution for you but you could start with
blacklisting the nouveau driver...

/etc/default/grub:
GRUB_CMDLINE_LINUX=" rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau"

(assuming UEFI)
# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

HTH!

Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: rdma-core-32.0-1.fc33.i686 has inferior architecture

2021-01-25 Thread Richard Shaw
On Sun, Jan 24, 2021 at 1:52 PM Matthew Miller 
wrote:

> On Sun, Jan 24, 2021 at 11:38:52AM -0800, ToddAndMargo via users wrote:
> > Anyone know what this is `dnf upgrade` error is
> > all about?
> >
> >  Problem: cannot install both rdma-core-33.0-1.fc33.x86_64 and
> > rdma-core-32.0-1.fc33.x86_64
> >   - rdma-core-32.0-1.fc33.i686 has inferior architecture
> >   - cannot install the best update candidate for package
> > rdma-core-32.0-1.fc33.x86_64
> >   - problem with installed package rdma-core-32.0-1.fc33.i686
>
> Are you trying to upgrade everything or just one package at once? This kind
> of error is common when attempting to do a piecemeal upgrade.
>
> In any case, something is out of sync, and it knows there is an update for
> x86_64 but doesn't see one for i686, and you have both installed.
>
> Is this for a supercomputer cluster system? Because if it is not, I would
> be
> surprised if you have a use for this particular package, and `dnf remove
> rdma-core` is going to be the easiest resolution.
>

I ran into the same thing yesterday, however, I have never explicitly
installed rdma-core. I wonder what pulled it in on both x86_64 and i686?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


dnf conflict with cockpit upgrades

2021-01-16 Thread Richard Shaw
So as far as I can remember I haven't done anything custom here but...

 Problem 1: package cockpit-bridge-235-1.fc33.x86_64 conflicts with
cockpit-dashboard < 233 provided by cockpit-dashboard-229-1.fc33.noarch
  - cannot install the best update candidate for package
cockpit-dashboard-229-1.fc33.noarch
  - cannot install the best update candidate for package
cockpit-bridge-229-1.fc33.x86_64
 Problem 2: problem with installed package
cockpit-dashboard-229-1.fc33.noarch
  - package cockpit-bridge-235-1.fc33.x86_64 conflicts with
cockpit-dashboard < 233 provided by cockpit-dashboard-229-1.fc33.noarch
  - package cockpit-system-235-1.fc33.noarch requires cockpit-bridge >=
235-1.fc33, but none of the providers can be installed
  - cannot install the best update candidate for package
cockpit-system-229-1.fc33.noarch

Is it me or a packaging problem?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: btrfs: What to do with large growing files?

2021-01-12 Thread Richard Shaw
On Tue, Jan 12, 2021 at 8:08 AM Roberto Ragusa 
wrote:

> On 1/12/21 2:21 PM, Richard Shaw wrote:
>
> > I would think a blockchain is roughly equivalent to a database but I
> have no idea if the blocks were downloaded in order (appended) or randomly
> (inserted). The single file (data.mdb) ended up being 96GB in total. It
> seems to have settled down as I expected but it took about 2 days to
> download so it was a bit frustrating using my computer at that time.
> Anything that tried to access /home (my spinning btrfs drive) would
> basically stall including youtube videos that ran out of cache, browser
> tabs, etc.
> 98GB in 48 hours is an average of 500kB/s.
>


> A spinning disk can seek 100 time per second, was the filesystem doing a
> seek every about 5kB of data?
> Looks unreasonable, especially since I would not expect the access to be
> random at all in a blockchain.
> Would be interesting to do the same operation in different conditions (SSD
> <-> HDD, ext4 <-> btrfs).
>

Yes, I almost stopped and copied the file to somewhere in /var since my
system SSD (970 EVO m.2) is still EXT4. To be fair, it seemed to save up
the download for some time and then dump to the disk all at once. My system
wasn't unuseable all the time, but during the writes to disk it was very
frustrating.

I knew it wasn't an overall system problem since glances showed low CPU and
memory usage. It's a Ryzen 5 3600 w/ 32GB of memory :)

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: btrfs: What to do with large growing files?

2021-01-12 Thread Richard Shaw
On Mon, Jan 11, 2021 at 11:49 PM Chris Murphy 
wrote:

> On Mon, Jan 11, 2021 at 12:57 PM Richard Shaw 
> wrote:
>
> > I'm playing around with cryptocurrency and the current one downloads the
> whole blockchain and it's at 65GB and growing. I think the growing part is
> the problem. That and it's being stored on /home which is a spinning disk
> not an SSD like the system disk.
> >
> > I'm seeing a lot of IO wait in glances and the system is sluggish even
> though CPU and memory usage is relatively low.
>
> It'd be useful to know if this is some kind of database, if it's one
> big file or many, if it's doing insertions (typical with database) or
> append. It might just be busy and will settle itself out once it's
> done downloading. And even maybe know what the program is. And I can
> ask folks on #btrfs.
>

I would think a blockchain is roughly equivalent to a database but I have
no idea if the blocks were downloaded in order (appended) or randomly
(inserted). The single file (data.mdb) ended up being 96GB in total. It
seems to have settled down as I expected but it took about 2 days to
download so it was a bit frustrating using my computer at that time.
Anything that tried to access /home (my spinning btrfs drive) would
basically stall including youtube videos that ran out of cache, browser
tabs, etc.

The program/cryptocurrency is Monero and was downloaded via Flatpack (I
think, could be an Appimage).


Btrfs does quite a lot of delayed allocation so you might see higher
> IO wait than you're used to, but as a side effect it turns random
> writes into sequential writes which write and read faster and have
> less fragmentation. So it's overall better. But the system being
> sluggish makes me wonder if something else is competing for IO with
> this task and what that process's write pattern is too. It could be
> lock contention, the easy way to alleviate that is give one of the
> tasks its own subvolume.
>
> I'm assuming this problem is all over by now but if you can reproduce
> it the first thing to look at is sysrq+t
> https://fedoraproject.org/wiki/QA/Sysrq


Yeah, it's done, otherwise I would do it :)

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: btrfs: What to do with large growing files?

2021-01-11 Thread Richard Shaw
On Mon, Jan 11, 2021 at 4:57 PM Joe Zeff  wrote:

> On 1/11/21 3:14 PM, Patrick O'Callaghan wrote:
> > There may be a slicker way to do it but this does work.
>
> Is there a reason that you can't just us
>
> chattr -C /some/path/Blockchain
>
> and get it all done with one step?
>

My understanding is that once the file is create (> 0 bytes) that you can't
change it.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


btrfs: What to do with large growing files?

2021-01-11 Thread Richard Shaw
So from what I understand once a file is >0 that you can't set nodatacow.

I'm playing around with cryptocurrency and the current one downloads the
whole blockchain and it's at 65GB and growing. I think the growing part is
the problem. That and it's being stored on /home which is a spinning disk
not an SSD like the system disk.

I'm seeing a lot of IO wait in glances and the system is sluggish even
though CPU and memory usage is relatively low.

Ideas?

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Limit size of a btrfs subvolume?

2021-01-09 Thread Richard Shaw
On Sat, Jan 9, 2021 at 6:25 PM Chris Murphy  wrote:

> On Sat, Jan 9, 2021 at 6:11 AM Richard Shaw  wrote:
> >
> > On Fri, Jan 8, 2021 at 10:12 AM Qiyu Yan 
> wrote:
> >>
> >> I think https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-qgroup
> and https://btrfs.wiki.kernel.org/index.php/Quota_support are what you
> are looking for.
> >
>
> While the quota tracks space usage for a subvolume, once it's reached,
> writes fail. I'm not sure what interface exists for applications to
> learn whether a quota is set and what value. I've noticed that ext4,
> xfs, btrfs each have their own quota implementation and they're all
> kinda confusing in different ways.
>

Any way to achieve what I'm trying to do then? Maybe I should ask on the
MythTV mailing list.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Limit size of a btrfs subvolume?

2021-01-09 Thread Richard Shaw
On Fri, Jan 8, 2021 at 10:12 AM Qiyu Yan  wrote:

> I think https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs-qgroup and
> https://btrfs.wiki.kernel.org/index.php/Quota_support are what you are
> looking for.
>

Thanks. That should do it!

Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Limit size of a btrfs subvolume?

2021-01-08 Thread Richard Shaw
I think this is one of the corner cases for BTRFS as most people want the
opposite behavior, but on one computer I run MythTV and it manages how many
recordings to keep based on the available free space. Once free space comes
down to a certain threshold it starts expiring older recordings.

Obviously this runs counter to btrfs's subvolume method of sharing free
space.

So is there a way to set the "maximum" size of a subvolume? Google has
failed me on this one.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: btrfs RAID 5?

2021-01-05 Thread Richard Shaw
On Tue, Jan 5, 2021 at 12:31 PM Chris Murphy 
wrote:

> On Tue, Jan 5, 2021 at 6:24 AM Richard Shaw  wrote:
> > Ok, so not so bad. The main reason I'm considering raid5 is that I have
> one 4TB drive right now, if I add 2 more with raid one, I'm only going to
> get 2TB. I know it's kind of a duh, you're mirroring and right now I have
> no redundancy, but this is for home use and $$$/TB is important and I can't
> fit any more drives in this case :)
>
> Adding 2 drives at a time to Btrfs raid1 is trivial, you just add each:
> btrfs dev add /dev/3 /mnt
> btrfs dev add /dev/4 /mnt
>
> Implies both mkfs and resize. You don't need to balance it.
>

Ok, but my current drive is ext4 formatted. I could convert it in place but
I just did that with my home drive on my desktop and it does take a while
to create and remove the ext2_saved image. Wouldn't it be better to create
a 2 drive raid1 array, copy the files over, update fstab, and then add the
original drive to the raid1 array?

As far as balancing, I wasn't sure it was helpful but was thinking of just
spreading the data around :)



> For btrfs raid5 that is also true, it'll just make new block groups
> that have more stripes. But depending on the sizes of all the drives
> it'll probably be more efficient utilization of space to rebalance.
> Note if you add two drives that are bigger than the others, once the
> others fill up, you'll get block groups made of two chunks on the two
> drives with remaining space and that's effectively raid1 utilization,
> because it's 1 data strip and 1 parity strip to do raid5 on two
> devices.
>

In my case I'm going to use identical drives.


Unique to Btrfs, you can start raid1 today, add drives, and move to
> raid5 later. It's just a balance with a conversion filter.
>

That's pretty cool. 2TB of additional space will be plenty for now.



> > Obviously if I go raid5 I won't have this option unless I can
> temporarily house my data on a separate drive.
> >
> > Looking at the link it looks like I'm OK?
> >
> > # smartctl -l scterc /dev/sda1
> > smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.9.16-200.fc33.x86_64]
> (local build)
> > Copyright (C) 2002-19, Bruce Allen, Christian Franke,
> www.smartmontools.org
> >
> > SCT Error Recovery Control:
> >Read:100 (10.0 seconds)
> >   Write:100 (10.0 seconds)
>
> yeah if that's the default it's fine. The kernel's command timer is
> 30s, so the drive will give up on a read/write error before the kernel
> will think it's MIA.
>

Good deal, so raid1 for now, hopefully raid5/6 support will be better if I
need to convert later.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: btrfs RAID 5?

2021-01-05 Thread Richard Shaw
On Mon, Jan 4, 2021 at 10:27 PM Chris Murphy 
wrote:

> On Sun, Jan 3, 2021 at 3:09 PM Richard Shaw  wrote:
> > On Sun, Jan 3, 2021 at 3:34 PM Chris Murphy 
> wrote:
> >> On Sun, Jan 3, 2021, 6:26 AM Richard Shaw  wrote:
> >
> > Yeah, the RAID1 seems a lot easier with the caveat that the free space
> reporting is bogus, which may be important for a media drive. :) The RAID5
> caveats don't scare me too much.
>
> The odd number device raid1 free space reporting issue is 'df'
> specific. If you try it out and fallocate a bunch of files 10G at a
> time (no writes for fallocate, it's fast) you can see the goofy thing
> that happens in the bug report. It isn't ever 100% wrong, but it is
> confusing. The btrfs specific commands tell the truth always: btrf fi
> df is short and sweet; btrfs fi us is very information dense.
>

Ok, so not so bad. The main reason I'm considering raid5 is that I have one
4TB drive right now, if I add 2 more with raid one, I'm only going to get
2TB. I know it's kind of a duh, you're mirroring and right now I have no
redundancy, but this is for home use and $$$/TB is important and I can't
fit any more drives in this case :)


Toss up on xxhash64, it's as fast or faster than crc32c to compute,
> collision resistance, but csum algo is a mkfs time only option - only
> reason why I mention it. I can write more upon request.
>

That's interesting. I hadn't read into the documentation that far yet. Are
those the only two options?



> If these are consumer drives: (a) timeout mismatch (b) disable each
> drive's write cache. This is not btrfs specific advice, applies to
> mdadm and LVM raid as well. Maybe someone has udev rules for this
> somewhere and if not we ought to get them into Fedora somehow. hdparm
> -W is the command, -w is dangerous (!). It is ok to use the write
> cache if it's determined that the drive firmware honors flush/fua,
> which they usually do, but the penalty is so bad if they don't and you
> get a crash that it's maybe not worth taking the risk. Btrfs raid1
> metadata helps here, as will using different drive make/models,
> because if one drive does the wrong thing, btrfs self heals from
> another drive even passively - but for parity raid you really ought to
> scrub following a crash. Or hey, just avoid crashes :)
>

I guess I could test for this? The current drive is ext4 formatted so my
original plan was to create a 2 drive raid1 and copy the files over, format
the old drive and then add it to the array and rebalance (a +1 for raid1!).
I could switch over to the 2 drive raid1 array for a while and "wait and
see" or is there a more proactive method?

Obviously if I go raid5 I won't have this option unless I can temporarily
house my data on a separate drive.

Looking at the link it looks like I'm OK?

# smartctl -l scterc /dev/sda1
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.9.16-200.fc33.x86_64] (local
build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

SCT Error Recovery Control:
   Read:100 (10.0 seconds)
  Write:100 (10.0 seconds)

The drive is a Seagate Terascale which is supposedly designed for cloud
computing / datacenters.

So raid1 or raid5...

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: btrfs RAID 5?

2021-01-03 Thread Richard Shaw
On Sun, Jan 3, 2021 at 3:34 PM Chris Murphy  wrote:

>
>
> On Sun, Jan 3, 2021, 6:26 AM Richard Shaw  wrote:
>
>> Chris,
>>
>> Thanks for the detailed explanation. Too much to quote for my follow up
>> question :)
>>
>> So for 3 drives and my desire to have more capacity and redundancy (for
>> drive failure) would I be better off with RAID1 or RAID5 w/ btrfs?
>>
>
> Depends on what you mean by better. :D In terms of survivability of your
> data? You're better off with more independent copies/backups than you are
> with any kind of raid. Raid improves availability, i.e. instead of 0%
> working it has a degraded mode where it's mostly working, but will require
> specific actions to make it healthy again, before it also becomes 0%
> working.
>

Yeah, the RAID1 seems a lot easier with the caveat that the free space
reporting is bogus, which may be important for a media drive. :) The RAID5
caveats don't scare me too much.



> Would RAID1 still allow for any single drive failure?
>>
>
> Yes. Same for raid10.
>
>
>> I don't really need the faster IO RAID5 might provide.
>>
>
> Striped parity raids perform well for sequential workloads. They're not
> good for metadata heavy workloads. Btrfs alters this calculation because
> metadata (the fs itself) can have a different profile than data. i.e. the
> recommendation is to use raid1 metadata when using raid5 data; and raid1c3
> metadata when using raid6 data.
>

For a media drive (smallest file is a few MB ogg to 30GB movie) I don't
think things will be very metadata heavy.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: btrfs RAID 5?

2021-01-03 Thread Richard Shaw
Chris,

Thanks for the detailed explanation. Too much to quote for my follow up
question :)

So for 3 drives and my desire to have more capacity and redundancy (for
drive failure) would I be better off with RAID1 or RAID5 w/ btrfs?

Would RAID1 still allow for any single drive failure?

I don't really need the faster IO RAID5 might provide.

Thanks,
Richard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


  1   2   3   4   5   6   7   8   9   10   >