Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1
> On 23/11/2020 17:16, Ralf Prengel wrote: >> Backup >> >> Von meinem iPhone gesendet > > You do have a recent backup available anyway, haven't you? That is: Even > without planning to replace disks. And testing such strategies/sequences > using loopback devices is definitely a good idea to get used to the > machinery... > > On a side note: I have had a fair number of drives die on me during > RAID-rebuild so I would try to avoid (if at all possible) to > deliberately reduce redundancy just for a drive swap. I have never had a > problem (yet) due to a problem with the RAID-1 kernel code itself. And: > If you have to change a disk because it already has issues it may be > dangerous to do a backup - especially if you do a file based backups - > because the random access pattern may make things worse. Been there, > done that... Sure, and for large disks I even go further: don't put the whole disk into one RAID device but build multiple segments, like create 6 partitions of same size on each disk and build six RAID1s out of it. So, if there is an issue on one disk in one segment, you don't lose redundancy of the whole big disk. You can even keep spare segments on separate disks to help in case where you can not quickly replace a broken disk. The whole handling is still very easy with LVM on top. Regards, Simon ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Password manager for the command line ?
Le 23/11/2020 à 14:37, Greg Bailey a écrit : > I've been using "yapet" for quite awhile: https://yapet.guengel.ch/ > > It's already packaged in EPEL. > > The password store is in a single file so it's easy to copy between servers. > It's a curses interface vs. CLI, though... Thank you very much everybody for all your numerous suggestions. This all looks very promising, and I'll test all the suggested solutions over the next few days. Cheers, Niki -- Microlinux - Solutions informatiques durables 7, place de l'église - 30730 Montpezat Site : https://www.microlinux.fr Blog : https://blog.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 Mob. : 06 51 80 12 12 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Update from 7 to 8
On Mon, 2020-11-23 at 10:44 -0500, Jerry Geis wrote: > I stumbled on this today. > https://www.hostwinds.com/guide/upgrading-from-centos-7-to-8/ > > I understand the best is always a re-install But are these steps > the > next best thing to update from 7 to 8 ? > Jerry, There is a formally supported upgrade from RHEL 7 to 8, but unfortunately there is none for CentOS 7 to 8. The reason for this is based on the totally new repository structure Red Hat used for v8. It's different enough that an exact counterpart to the RHEL 7>8 upgrade script hasn't been compiled, tested, and supported. Your only choice is to back up everything and install CentOS 8 from scratch. --Doc Savage Fairview Heights, IL ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Xorg --configure
On Mon, Nov 23, 2020 at 09:27:21AM -0600, Michael Hennebry wrote: > > I'm currently running Centos 8 off an SD card. > It, unlike F32, lets me use my monitor's full 1440 x 900. > > Both seem to use defaults and EDID, > but F32 gets it wrong and saddles me with 640 x 480 > when I can find the incantation to have it run at all. > The configuration files and directories I can find are pretty much empty. > > How do I add --configure to the Xorg command line? > 'Tis my understanding that would generate > a configuration file that I could port to F32. Are you sure it isn't dropping to basic VGA or VESA driver because the video card isn't supported in Fedora? Can you change the resolution through the control panel or xrandr? -- Jonathan Billings ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1
On 23/11/2020 17:16, Ralf Prengel wrote: Backup Von meinem iPhone gesendet You do have a recent backup available anyway, haven't you? That is: Even without planning to replace disks. And testing such strategies/sequences using loopback devices is definitely a good idea to get used to the machinery... On a side note: I have had a fair number of drives die on me during RAID-rebuild so I would try to avoid (if at all possible) to deliberately reduce redundancy just for a drive swap. I have never had a problem (yet) due to a problem with the RAID-1 kernel code itself. And: If you have to change a disk because it already has issues it may be dangerous to do a backup - especially if you do a file based backups - because the random access pattern may make things worse. Been there, done that... peter Am 23.11.2020 um 17:10 schrieb cen...@niob.at: On 23/11/2020 16:49, Frank Bures wrote: On 11/23/20 10:46 AM, Simon Matter wrote: Hi, I want to replace my hard drives based SW RAID-1 with SSD's. What would be the recommended procedure? Can I just remove one drive, replace with SSD and rebuild, then repeat with the other drive? I suggest to "mdadm --fail" one drive, then "mdadm --remove" it. After replacing the drive you can "mdadm --add" it. If you boot from the drives you also have to care for the boot loader. I guess this depends on how exactly the system is configured. If you can the new disks while the original 2 disks are still available then grow, add, wait, fail, remove, shrink. That way you will never loose redundancy... # grow and add new disk mdadm --grow -n 3 /dev/mdX -a /dev/... # wait for rebuild of the array mdadm --wait /dev/mdX # fail old disk mdadm --fail /dev/sdY # remove old disk mdadm /dev/mdX --remove /dev/sdY # add second disk mdadm /dev/mdX --add /dev/... # wait mdadm --wait /dev/mdX # fail and remove old disk mdadm --fail /dev/sdZ mdadm /dev/mdX --remove /dev/sdZ # shrink mdadm --grow -n 2 /dev/mdX ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1
Backup Von meinem iPhone gesendet > Am 23.11.2020 um 17:10 schrieb cen...@niob.at: > > On 23/11/2020 16:49, Frank Bures wrote: >> On 11/23/20 10:46 AM, Simon Matter wrote: Hi, I want to replace my hard drives based SW RAID-1 with SSD's. What would be the recommended procedure? Can I just remove one drive, replace with SSD and rebuild, then repeat with the other drive? >>> >>> I suggest to "mdadm --fail" one drive, then "mdadm --remove" it. After >>> replacing the drive you can "mdadm --add" it. >>> >>> If you boot from the drives you also have to care for the boot loader. I >>> guess this depends on how exactly the system is configured. >> > If you can the new disks while the original 2 disks are still available then > grow, add, wait, fail, remove, shrink. That way you will never loose > redundancy... > > # grow and add new disk > > mdadm --grow -n 3 /dev/mdX -a /dev/... > > # wait for rebuild of the array > > mdadm --wait /dev/mdX > > # fail old disk > > mdadm --fail /dev/sdY > > # remove old disk > > mdadm /dev/mdX --remove /dev/sdY > > # add second disk > > mdadm /dev/mdX --add /dev/... > > # wait > > mdadm --wait /dev/mdX > > # fail and remove old disk > > mdadm --fail /dev/sdZ > > mdadm /dev/mdX --remove /dev/sdZ > > # shrink > > mdadm --grow -n 2 /dev/mdX > > > > > peter > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1
On 23/11/2020 16:49, Frank Bures wrote: On 11/23/20 10:46 AM, Simon Matter wrote: Hi, I want to replace my hard drives based SW RAID-1 with SSD's. What would be the recommended procedure? Can I just remove one drive, replace with SSD and rebuild, then repeat with the other drive? I suggest to "mdadm --fail" one drive, then "mdadm --remove" it. After replacing the drive you can "mdadm --add" it. If you boot from the drives you also have to care for the boot loader. I guess this depends on how exactly the system is configured. If you can the new disks while the original 2 disks are still available then grow, add, wait, fail, remove, shrink. That way you will never loose redundancy... # grow and add new disk mdadm --grow -n 3 /dev/mdX -a /dev/... # wait for rebuild of the array mdadm --wait /dev/mdX # fail old disk mdadm --fail /dev/sdY # remove old disk mdadm /dev/mdX --remove /dev/sdY # add second disk mdadm /dev/mdX --add /dev/... # wait mdadm --wait /dev/mdX # fail and remove old disk mdadm --fail /dev/sdZ mdadm /dev/mdX --remove /dev/sdZ # shrink mdadm --grow -n 2 /dev/mdX peter ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1
On 23/11/2020 15:49, Frank Bures wrote: On 11/23/20 10:46 AM, Simon Matter wrote: Hi, I want to replace my hard drives based SW RAID-1 with SSD's. What would be the recommended procedure? Can I just remove one drive, replace with SSD and rebuild, then repeat with the other drive? I suggest to "mdadm --fail" one drive, then "mdadm --remove" it. After replacing the drive you can "mdadm --add" it. If you boot from the drives you also have to care for the boot loader. I guess this depends on how exactly the system is configured. Thanks, that's what I had in mind. Of course, I will rebuild grab2 after each iteration. Thanks Fra You could also grow the array to add in the new devices before removing the old HDDs ensuring you retain at least 2 devices in the array at any one time. For example, in an existing raid of sda1 and sdb1, add in sdc1 before removing sda1 and add sdd1 before removing sdb1, finally shrinking the array back to 2 devices: mdadm --grow /dev/md127 --level=1 --raid-devices=3 --add /dev/sdc1 mdadm --fail /dev/md127 /dev/sda1 mdadm --remove /dev/md127 /dev/sda1 mdadm /dev/md127 --add /dev/sdd1 mdadm --fail /dev/md127 /dev/sdb1 mdadm --remove /dev/md127 /dev/sdb1 mdadm --grow /dev/md127 --raid-devices=2 then reinstall grub to sdc and sdd once everything has fully sync'd: blockdev --flushbufs /dev/sdc1 blockdev --flushbufs /dev/sdd1 grub2-install --recheck /dev/sdc grub2-install --recheck /dev/sdd ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1
On 11/23/20 10:46 AM, Simon Matter wrote: Hi, I want to replace my hard drives based SW RAID-1 with SSD's. What would be the recommended procedure? Can I just remove one drive, replace with SSD and rebuild, then repeat with the other drive? I suggest to "mdadm --fail" one drive, then "mdadm --remove" it. After replacing the drive you can "mdadm --add" it. If you boot from the drives you also have to care for the boot loader. I guess this depends on how exactly the system is configured. Thanks, that's what I had in mind. Of course, I will rebuild grab2 after each iteration. Thanks Fra -- ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1
> Hi, > > I want to replace my hard drives based SW RAID-1 with SSD's. > > What would be the recommended procedure? Can I just remove one drive, > replace with SSD and rebuild, then repeat with the other drive? I suggest to "mdadm --fail" one drive, then "mdadm --remove" it. After replacing the drive you can "mdadm --add" it. If you boot from the drives you also have to care for the boot loader. I guess this depends on how exactly the system is configured. Regards, Simon ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Update from 7 to 8
I stumbled on this today. https://www.hostwinds.com/guide/upgrading-from-centos-7-to-8/ I understand the best is always a re-install But are these steps the next best thing to update from 7 to 8 ? Thanks, Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Replacing SW RAID-1 with SSD RAID-1
Hi, I want to replace my hard drives based SW RAID-1 with SSD's. What would be the recommended procedure? Can I just remove one drive, replace with SSD and rebuild, then repeat with the other drive? Thanks Frank -- ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Xorg --configure
I'm currently running Centos 8 off an SD card. It, unlike F32, lets me use my monitor's full 1440 x 900. Both seem to use defaults and EDID, but F32 gets it wrong and saddles me with 640 x 480 when I can find the incantation to have it run at all. The configuration files and directories I can find are pretty much empty. How do I add --configure to the Xorg command line? 'Tis my understanding that would generate a configuration file that I could port to F32. -- Michael henne...@web.cs.ndsu.nodak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Password manager for the command line ?
On 11/23/20 1:24 AM, Nicolas Kovacs wrote: Hi, On my workstation and my laptop I'm using KeePassXC to store login credentials for my websites. The database is stored in my OwnCloud share, so it's synchronized between my two computers. Ideally I'd like to have something similar for my servers, but command-line driven. I know these tools exist but I haven't tested them yet. What I have in mind is a command-line password manager that stores the database in an encrypted database - like KeePassXC - and then I could eventually store this file in a private Gitlab repo to centralize it and access it from all my servers. Can you recommend any particular command line password manager ? Any recommendations / caveats for this kind of setup ? I've been using "yapet" for quite awhile: https://yapet.guengel.ch/ It's already packaged in EPEL. The password store is in a single file so it's easy to copy between servers. It's a curses interface vs. CLI, though... -Greg ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Password manager for the command line ?
On 23/11/2020 11:42, Marek Blaha wrote: There is also a command line interface for keepass - if you wouldn't mind perl dependency. https://sourceforge.net/projects/kpcli/ -- Marek Blaha Red Hat Czech s.r.o. Software Engineer I've not personally used the CLI, but there is a command line interface for KeePassXC too, see here for usage: http://manpages.ubuntu.com/manpages/bionic/man1/keepassxc-cli.1.html Hope that helps. On Mon, Nov 23, 2020 at 9:24 AM Nicolas Kovacs wrote: Hi, On my workstation and my laptop I'm using KeePassXC to store login credentials for my websites. The database is stored in my OwnCloud share, so it's synchronized between my two computers. Ideally I'd like to have something similar for my servers, but command-line driven. I know these tools exist but I haven't tested them yet. What I have in mind is a command-line password manager that stores the database in an encrypted database - like KeePassXC - and then I could eventually store this file in a private Gitlab repo to centralize it and access it from all my servers. Can you recommend any particular command line password manager ? Any recommendations / caveats for this kind of setup ? Cheers from the locked down South of France, Niki ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Password manager for the command line ?
There is also a command line interface for keepass - if you wouldn't mind perl dependency. https://sourceforge.net/projects/kpcli/ -- Marek Blaha Red Hat Czech s.r.o. Software Engineer On Mon, Nov 23, 2020 at 9:24 AM Nicolas Kovacs wrote: > > Hi, > > On my workstation and my laptop I'm using KeePassXC to store login credentials > for my websites. The database is stored in my OwnCloud share, so it's > synchronized between my two computers. > > Ideally I'd like to have something similar for my servers, but command-line > driven. I know these tools exist but I haven't tested them yet. What I have in > mind is a command-line password manager that stores the database in an > encrypted database - like KeePassXC - and then I could eventually store this > file in a private Gitlab repo to centralize it and access it from all my > servers. > > Can you recommend any particular command line password manager ? > > Any recommendations / caveats for this kind of setup ? > > Cheers from the locked down South of France, > > Niki > > -- > Microlinux - Solutions informatiques durables > 7, place de l'église - 30730 Montpezat > Site : https://www.microlinux.fr > Blog : https://blog.microlinux.fr > Mail : i...@microlinux.fr > Tél. : 04 66 63 10 32 > Mob. : 06 51 80 12 12 > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Thunderbird 78.4.0 after update
Hello, lightning is now part of thunderbird, no add-on needed anymore. Am 18.11.20 um 06:03 schrieb R C: > Hello, > > > after an update I ended up with Thunderbird 78.4.0, it looks a little > different, which is ok, but it seems that all my descriptions and also > alerts disappeared. > > > Is that a known problem? If so, how to fix that. (btw; I am not > sure if I ever installed/used lightning, but that addon/extension > doesn't seem to be there anymore.) > > > If it is a known problem, is there a way to fix that? > > > thanks, > > > Ron > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Password manager for the command line ?
Am 23.11.20 um 09:24 schrieb Nicolas Kovacs: Can you recommend any particular command line password manager ? Self hosted Bitwarden: -> https://bitwarden.com/help/article/cli/ -> https://bitwarden.com/help/hosting/ -> https://bitwarden.com/open-source/ ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Password manager for the command line ?
On 23/11/20 10:52 pm, Sebastien Féminier via CentOS wrote: Hi Niki , I use "pass" to manage my password , it's based on gnuPG , you can find more info on the web site => https://www.passwordstore.org/ . For sync you can use Git . Seb. +1 -works well and can be used via ssh link as well if set up properly. Le Mon, Nov 23, 2020 at 09:24:18AM +0100, Nicolas Kovacs a écrit : Hi, On my workstation and my laptop I'm using KeePassXC to store login credentials for my websites. The database is stored in my OwnCloud share, so it's synchronized between my two computers. Ideally I'd like to have something similar for my servers, but command-line driven. I know these tools exist but I haven't tested them yet. What I have in mind is a command-line password manager that stores the database in an encrypted database - like KeePassXC - and then I could eventually store this file in a private Gitlab repo to centralize it and access it from all my servers. Can you recommend any particular command line password manager ? Any recommendations / caveats for this kind of setup ? Cheers from the locked down South of France, Niki -- Microlinux - Solutions informatiques durables 7, place de l'église - 30730 Montpezat Site : https://www.microlinux.fr Blog : https://blog.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 Mob. : 06 51 80 12 12 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Password manager for the command line ?
Hi Niki , I use "pass" to manage my password , it's based on gnuPG , you can find more info on the web site => https://www.passwordstore.org/ . For sync you can use Git . Seb. Le Mon, Nov 23, 2020 at 09:24:18AM +0100, Nicolas Kovacs a écrit : > Hi, > > On my workstation and my laptop I'm using KeePassXC to store login credentials > for my websites. The database is stored in my OwnCloud share, so it's > synchronized between my two computers. > > Ideally I'd like to have something similar for my servers, but command-line > driven. I know these tools exist but I haven't tested them yet. What I have in > mind is a command-line password manager that stores the database in an > encrypted database - like KeePassXC - and then I could eventually store this > file in a private Gitlab repo to centralize it and access it from all my > servers. > > Can you recommend any particular command line password manager ? > > Any recommendations / caveats for this kind of setup ? > > Cheers from the locked down South of France, > > Niki > > -- > Microlinux - Solutions informatiques durables > 7, place de l'église - 30730 Montpezat > Site : https://www.microlinux.fr > Blog : https://blog.microlinux.fr > Mail : i...@microlinux.fr > Tél. : 04 66 63 10 32 > Mob. : 06 51 80 12 12 > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Password manager for the command line ?
Hi, On my workstation and my laptop I'm using KeePassXC to store login credentials for my websites. The database is stored in my OwnCloud share, so it's synchronized between my two computers. Ideally I'd like to have something similar for my servers, but command-line driven. I know these tools exist but I haven't tested them yet. What I have in mind is a command-line password manager that stores the database in an encrypted database - like KeePassXC - and then I could eventually store this file in a private Gitlab repo to centralize it and access it from all my servers. Can you recommend any particular command line password manager ? Any recommendations / caveats for this kind of setup ? Cheers from the locked down South of France, Niki -- Microlinux - Solutions informatiques durables 7, place de l'église - 30730 Montpezat Site : https://www.microlinux.fr Blog : https://blog.microlinux.fr Mail : i...@microlinux.fr Tél. : 04 66 63 10 32 Mob. : 06 51 80 12 12 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos