Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-26 Thread Simon Matter
> On 11/24/20 8:20 AM, Simon Matter wrote: > >> 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 d

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-26 Thread Roberto Ragusa
On 11/24/20 8:20 AM, Simon Matter wrote: 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,

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Jonathan Billings
On Tue, Nov 24, 2020 at 12:18:57PM -0700, Warren Young wrote: > ZFS is ready today. I disagree. It is ready today only if you are willing to abandon Linux entirely and switch to BSD, or run a Linux distro like Ubuntu that is possibly violating a license. 3rd-party repositories that use dkms c

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Warren Young
On Nov 24, 2020, at 10:05 AM, Simon Matter wrote: > > Why is a layered approach > worse than a fully included solution like ZFS? Just one reason is that you lose visibility of lower-level elements from the top level. You gave the example of a bad block in a RAID. What current RHEL type system

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Valeri Galtsev
On 11/24/20 12:44 PM, Simon Matter wrote: On 11/24/20 11:05 AM, Simon Matter wrote: On 11/24/20 1:20 AM, Simon Matter wrote: 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 wit

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Simon Matter
> > > On 11/24/20 11:05 AM, Simon Matter wrote: >>> >>> >>> On 11/24/20 1:20 AM, Simon Matter wrote: > 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: > Ev

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Warren Young
On Nov 24, 2020, at 10:43 AM, cen...@niob.at wrote: > > On 24/11/2020 18:32, John Pierce wrote: >> zpool create newpool mirror sdb sdc mirror sdd sde mirror sdf sdg mirror >> sdh sdi spare sdj sdk >> zfs create -o mountpoint=/var/lib/pgsql-11 newpool/postgres11 > > This *might* be a valid answer

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread centos
On 24/11/2020 18:32, John Pierce wrote: zpool create newpool mirror sdb sdc mirror sdd sde mirror sdf sdg mirror sdh sdi spare sdj sdk zfs create -o mountpoint=/var/lib/pgsql-11 newpool/postgres11 and done. This *might* be a valid answer if zfs was supported on plain CentOS... (and if the qu

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread John Pierce
zpool create newpool mirror sdb sdc mirror sdd sde mirror sdf sdg mirror sdh sdi spare sdj sdk zfs create -o mountpoint=/var/lib/pgsql-11 newpool/postgres11 and done. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/ce

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Valeri Galtsev
On 11/24/20 11:05 AM, Simon Matter wrote: On 11/24/20 1:20 AM, Simon Matter wrote: 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 s

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Simon Matter
> On Tue, 24 Nov 2020 at 02:20, Simon Matter wrote: > >> > 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

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Simon Matter
> --On Monday, November 23, 2020 4:46 PM +0100 Simon Matter > wrote: > >> I suggest to "mdadm --fail" one drive, then "mdadm --remove" it. After >> replacing the drive you can "mdadm --add" it. > > Does it make sense to dd or ddrescue from the removed drive to the > replacement? My md RAID set is

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Simon Matter
> > > On 11/24/20 1:20 AM, Simon Matter wrote: >>> 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 >>> strat

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Stephen John Smoogen
On Tue, 24 Nov 2020 at 02:20, Simon Matter wrote: > > 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 strategi

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Kenneth Porter
--On Monday, November 23, 2020 4:46 PM +0100 Simon Matter wrote: I suggest to "mdadm --fail" one drive, then "mdadm --remove" it. After replacing the drive you can "mdadm --add" it. Does it make sense to dd or ddrescue from the removed drive to the replacement? My md RAID set is on primary

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-24 Thread Valeri Galtsev
On 11/24/20 1:20 AM, Simon Matter wrote: 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 devic

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-23 Thread Simon Matter
> 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

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-23 Thread centos
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

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-23 Thread Ralf Prengel
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 recom

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-23 Thread centos
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

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-23 Thread Phil Perry
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

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-23 Thread Frank Bures
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

Re: [CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-23 Thread Simon Matter
> 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 d

[CentOS] Replacing SW RAID-1 with SSD RAID-1

2020-11-23 Thread Frank Bures
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 CentO