Re: Making sure to partition the right disk(s)

2024-02-23 Diskussionsfäden Diego Zuccato
Just found another issue: if the MY-DATA partition is on the target disk, reinstall errors out at partitioning because it finds that partition in use. Error happens even if the partition is correctly flagged preserve_lazy :( Enough tampering for today. BYtE, Diego Il 19/01/2024 15:44,

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Thomas Lange
> On Fri, 19 Jan 2024 15:33:02 +0100, Diego Zuccato > said: > But it seems it doesn't get mounted (at least a custom script did not > find it mounted). I don't know FAI internals enough :( This mounting of a partition labeled MY-DATA will only work from FAI 6.2, which is not

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Diego Zuccato
Tks a lot. Really interesting & useful. I prefer to keep per-host configs in their own subdir (like 94-disklist-order.d/testserver1 so I don't have to touch a working script, but that's mostly "cosmetic". Diego Il 19/01/2024 13:29, Andrew Ruthven ha scritto: On Sat, 2024-01-20 at 01:27

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Diego Zuccato
Il 19/01/2024 10:12, Thomas Lange ha scritto: It may also work if you do a reinstallation via network and the kernel will find a partition with label MY-DATA. I guess this should also work. Seems it does not work with network boot and default config. I added: logical -

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Andrew Ruthven
On Sat, 2024-01-20 at 01:27 +1300, Andrew Ruthven wrote: > On Fri, 2024-01-19 at 09:48 +0100, Thomas Lange wrote: > > > > I use this script to manipulate the disklist: > > http://fai-project.org/download/misc/99-disklist.sh > > Attached is the script which I wrote to do this. It goes in the

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Andrew Ruthven
On Fri, 2024-01-19 at 09:48 +0100, Thomas Lange wrote: > I use this script to manipulate the disklist: > http://fai-project.org/download/misc/99-disklist.sh Attached is the script which I wrote to do this. It goes in the class directory. Some of our servers have NVMe drives that should be used

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Henning Glawe
Moin, On Fri, Jan 19, 2024 at 09:34:49AM +0100, Henning Glawe wrote: > On Fri, Jan 19, 2024 at 09:03:57AM +0100, Diego Zuccato wrote: > > It's not too unusual that sometimes disks get recognized in a different > > order across reboots. > > How can I make sure I'm repartitioning the right disk and

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Thomas Lange
> On Fri, 19 Jan 2024 10:03:50 +0100, Diego Zuccato > said: > PS: looking at the source, I noticed that a partition labeled "MY-DATA" > is automatically mounted to /media/data . Does it work only for boots > from CD or also from network? It could be useful to store

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Diego Zuccato
Wonderful! I'll wait for 6.2 to be out, then. For now, the use of explicit device path can be enough, but being able to tell it to "select the 2 small disks and create a RAID1" is surely way better (and handles disk replacement w/o reconfiguration). PS: looking at the source, I noticed that a

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Thomas Lange
> On Fri, 19 Jan 2024 09:03:57 +0100, Diego Zuccato > said: > Hello all. > It's not too unusual that sometimes disks get recognized in a different > order across reboots. > How can I make sure I'm repartitioning the right disk and not another > one containing data?

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Henning Glawe
Moin, On Fri, Jan 19, 2024 at 09:03:57AM +0100, Diego Zuccato wrote: > It's not too unusual that sometimes disks get recognized in a different > order across reboots. > How can I make sure I'm repartitioning the right disk and not another > one containing data? I can't find any way to bind some

Re: Making sure to partition the right disk(s)

2024-01-19 Diskussionsfäden Carsten Aulbert
Hi On 1/19/24 09:03, Diego Zuccato wrote: How can I make sure I'm repartitioning the right disk and not another one containing data? I can't find any way to bind some info about HDD to "disk1" instead of "disk2". If it's not currently supported, it shouldn't be too hard to add to