Re: Migrate to different FS layout of OpenBSD

2024-04-07 Thread Kirill A . Korinsky
On Sun, 07 Apr 2024 12:02:05 +0200, Stuart Henderson wrote: > > softraid doesn't allow creating a 'degraded mirror' i.e. a single drive > that you can later add another drive to make a RAID1. You would need at > least one spare drive to do what you want. > Thanks, that is a kind of inside which

Re: Migrate to different FS layout of OpenBSD

2024-04-07 Thread Stuart Henderson
On 2024-04-06, Kirill A Korinsky wrote: > On Sat, 06 Apr 2024 23:14:39 +0200, > Peter Hessler wrote: >> >> RAID0 is called that because zero is what you'll recover if you lose a >> disk. This is amazingly dangerous, and you're going to have a bad time. >> >> Do a backup, then restore from

Re: Migrate to different FS layout of OpenBSD

2024-04-06 Thread Kirill A . Korinsky
On Sat, 06 Apr 2024 23:14:39 +0200, Peter Hessler wrote: > > RAID0 is called that because zero is what you'll recover if you lose a > disk. This is amazingly dangerous, and you're going to have a bad time. > > Do a backup, then restore from backup. > I was totally misslead. I mean that I have

Re: Migrate to different FS layout of OpenBSD

2024-04-06 Thread chohag
Kirill A. Korinsky writes: > Folks, > > I'm looking for a way to migrate to different layout some OpenBSD systems. > > So, questions: > 1. Has anyone done something like this before? > 2. Do you have any instruction or that to expect? Yes. What to expect? There is a very good chance data will be

Re: Migrate to different FS layout of OpenBSD

2024-04-06 Thread Peter Hessler
RAID0 is called that because zero is what you'll recover if you lose a disk. This is amazingly dangerous, and you're going to have a bad time. Do a backup, then restore from backup. On 2024 Apr 06 (Sat) at 22:43:05 +0200 (+0200), Kirill A. Korinsky wrote: :Folks, : :I'm looking for a way to

Migrate to different FS layout of OpenBSD

2024-04-06 Thread Kirill A . Korinsky
Folks, I'm looking for a way to migrate to different layout some OpenBSD systems. All of them has RAID0 and as far as I think I may something like this: 1. Remove second disk from RAID. 2. Build a new RAID0 on the second disk. 3. Make desires layout on the second RAID. 4. dump | restore 5. Boot