Re: Disk config with GRUB/EFI, RAID + LVM

2023-12-05 Diskussionsfäden Rémy Dernat
BTW, I am wondering what would be the corresponding BTRFS config. Does something like this work as expected or not (mixing / and /tmp this time) : ``` disk_config disk1 disklabel:gpt bootable:1 fstabkey:uuid primary - 2G -- primary - 70% -- primary - 0- -- d

Re: Disk config with GRUB/EFI, RAID + LVM

2023-12-05 Diskussionsfäden Rémy Dernat
Hi, After digging some time around this issue, I am finally able to boot the RAID1 partition with EFI boot enabled on it (using this example: https://fai-project.org/download/misc/disk_config/lvm-on-luks-on-raid). Here is my final disk_config file: ```# example of new config file for setup-stora

Re: Disk config with GRUB/EFI, RAID + LVM

2023-12-01 Diskussionsfäden Rémy Dernat
Hi Andrew, Thanks for suggestions. Now, my file "disk_config/GRUB_EFI_RAID1" is [*]: ``` # example of new config file for setup-storage # # disk_config disk1 disklabel:gpt fstabkey:uuid bootable:1 primary - 2G - - primary /boot/efi 1G vfat rw createopts="-F32" primary - 2G - - primary -

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Andrew Ruthven
Nice, good work. A couple of suggestions... I'd put swap on RAID1, if you have a disk go offline while the system is running, you've lost anything that had been swapped out to the swap on the failed disk. I like to put a 100MB partition at the end of disks in a RAID pair to allow for slightly di

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Rémy Dernat
Ok, FYI, I think I have a working configuration with : ``` # example of new config file for setup-storage # # disk_config disk1 disklabel:gpt fstabkey:uuid bootable:1 primary - 2G - - primary /boot/efi 1G vfat rw createopts="-F32" primary swap 2G swap sw,pri=1 primary - 0- - - #disk_conf

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Rémy Dernat
What is strange here, is that md1 is found, as well as md0, but contrary to md0, md1 have an UUID ... However, UUID seems to be retrieve by blkid from /dev/disk/by-id, where both md array have their own mdadm UUID, but only md1 have an UUID from LVM (with pvdisplay / pvs ) ... Le jeu. 30 nov. 20

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Rémy Dernat
Hi Andrew, Indeed, this removed the syntax issue. However, I have a new error now: ``` /sbin/blkid -c /dev/null -s UUID -o value /dev/md0 had exit code 2 Command had non-zero exit code ``` Indeed, blkid is not able to found md0 UUID. I tried to modify the disk_config file to avoid this error, bu

Re: Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Andrew Ruthven
Hey, On Thu, 2023-11-30 at 11:14 +0100, Rémy Dernat wrote: > Hi awesome Fai guys, > > I have a weird syntax issue with the following disk_config: > [snip] > disk_config raid disklabel:gpt fstabkey:uuid bootable:1 This line is your problem, remove everything after the word raid. So it should jus

Disk config with GRUB/EFI, RAID + LVM

2023-11-30 Diskussionsfäden Rémy Dernat
Hi awesome Fai guys, I have a weird syntax issue with the following disk_config: ``` # example of new config file for setup-storage # # disk_config disk1 disklabel:gpt fstabkey:uuid primary - 2G - - primary /boot/efi 1G vfat rw createopts="-F32" primary swap 2G swap sw,pri=1 primary - 0-

RE: RAID 0 Disk config.

2023-04-05 Diskussionsfäden Marc Hoppins via linux-fai
t; ;; -Original Message- From: linux-fai On Behalf Of Thomas Lange Sent: Wednesday, April 5, 2023 9:57 AM To: fully automatic installation for Linux Subject: RE: RAID 0 Disk config. EXTERNAL >>>>> On Wed, 5 Apr 2023 07:34:11 +, Marc Hoppins via linux-fai >>&g

RE: RAID 0 Disk config.

2023-04-05 Diskussionsfäden Thomas Lange
> On Wed, 5 Apr 2023 07:34:11 +, Marc Hoppins via linux-fai > said: > Would the wipe-all script sit in class, like > 20-hwdetect.sh > 21-wipe-all.sh No, put those script into hooks/ and name them for e.g. partition.WIPEDISKS Then it get executed before the partitioning

RE: RAID 0 Disk config.

2023-04-05 Diskussionsfäden Marc Hoppins via linux-fai
Subject: RE: RAID 0 Disk config. EXTERNAL Here you can find two small bash scripts, one called wipe-all which removes all partitions without caring about raid or lvm. The other script is called partition.WIPEDISKS is a FAI hooks and first stops lvm and raid then does the wipefs call. https://fai

RE: RAID 0 Disk config.

2023-04-04 Diskussionsfäden Thomas Lange
Here you can find two small bash scripts, one called wipe-all which removes all partitions without caring about raid or lvm. The other script is called partition.WIPEDISKS is a FAI hooks and first stops lvm and raid then does the wipefs call. https://fai-project.org/download/misc/

RE: RAID 0 Disk config.

2023-04-04 Diskussionsfäden Marc Hoppins via linux-fai
set terminal process group (1076): inappropriate ioctl for device messages. Food for thought. Marc -Original Message- From: linux-fai On Behalf Of Thomas Lange Sent: Tuesday, April 4, 2023 2:39 PM To: fully automatic installation for Linux Subject: RE: RAID 0 Disk config. EXTERNAL

RE: RAID 0 Disk config.

2023-04-04 Diskussionsfäden Thomas Lange
> On Tue, 4 Apr 2023 12:11:23 +, Marc Hoppins via linux-fai > said: > Another disk question if I may, does FAI test for existing partitions on the target disk? I think the reason I was getting failures is that the target probably had partitions created by a previous, failed FA

RE: RAID 0 Disk config.

2023-04-04 Diskussionsfäden Marc Hoppins via linux-fai
automatic installation for Linux Subject: Re: RAID 0 Disk config. EXTERNAL >>>>> On Thu, 23 Mar 2023 14:56:35 +, Marc Hoppins via linux-fai >>>>> said: > For a RAID config, the documentation only specifies pre-sized partitions which I do not want. I c

Re: RAID 0 Disk config.

2023-04-03 Diskussionsfäden Thomas Lange
> On Thu, 23 Mar 2023 14:56:35 +, Marc Hoppins via linux-fai > said: > For a RAID config, the documentation only specifies pre-sized partitions which I do not want. I currently have: Hi Marc, without checking I guess our tool does not support raw disks for this setup. But you

RAID 0 Disk config.

2023-03-23 Diskussionsfäden Marc Hoppins via linux-fai
Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die eigentliche Nachricht steht dadurch in einem Anhang. This message was wrapped to be DMARC compliant. The actual message text is therefore in an attachment.--- Begin Message --- Apologies for previous message...forgot to suggest pl

Re: FAI disk config problem

2012-10-11 Diskussionsfäden RU Admin
inux /dev/sda9 123734026 1952448511 914357243 83 Linux Why is the first partition starting at 2048 instead of 1? If I look at the disk in cfdisk, it's showing 1.05MB of free space at the beginning of the disk...although it's a trivial amount of space being lost, why am

Re: FAI disk config problem

2012-10-10 Diskussionsfäden Sylvain Milot
at the disk in cfdisk, it's showing 1.05MB of free space at the beginning of the disk...although it's a trivial amount of space being lost, why am I losing it? I have a Debian Squeeze system running FAI 3.4.7 and I don't see that problem when using the same disk config. An

FAI disk config problem

2012-10-10 Diskussionsfäden RU Admin
I look at the disk in cfdisk, it's showing 1.05MB of free space at the beginning of the disk...although it's a trivial amount of space being lost, why am I losing it? I have a Debian Squeeze system running FAI 3.4.7 and I don't see that problem when using the same disk config. Any

RE: Disk config

2011-06-16 Diskussionsfäden Ahmed Altaher
From: ahmta...@hotmail.com To: cour...@cena.fr Subject: RE: Disk config Date: Thu, 16 Jun 2011 13:40:38 +0200 >Date: Thu, 16 Jun 2011 12:37:42 +0200 >From: cour...@cena.fr >To: linux-fai@uni-koeln.de >Subject: Re: Disk config > Le 16/06/2011 12:14,

Re: Disk config

2011-06-16 Diskussionsfäden Nicolas Courtel
Le 16/06/2011 12:14, Ahmed Altaher a écrit : Dearest all, I succeded installing Ubuntu 10.10 from Debian squeeze based FAI. But my problem is; how could I preserve the 1st partition that includes Windows 7. my disk config is disk_config sda preserve_always:1,2 bootable:3 primary - 0

Re: Disk config

2011-06-16 Diskussionsfäden Michael Tautschnig
Hi, [...] > But my problem is; how could I preserve the 1st partition that includes > Windows 7. > > my disk config is > > disk_config sda preserve_always:1,2 bootable:3 > primary - 0 - - > primary - 0 - - > primary /boot 512ext3rw

Disk config

2011-06-16 Diskussionsfäden Ahmed Altaher
Dearest all, I succeded installing Ubuntu 10.10 from Debian squeeze based FAI. But my problem is; how could I preserve the 1st partition that includes Windows 7. my disk config is disk_config sda preserve_always:1,2 bootable:3 primary - 0 - - primary - 0 - - primary /boot 512

Re: Error disk config fai

2010-07-03 Diskussionsfäden Manuel Hachtkemper
Hi, the bug is solved and a few days ago the patch was merged from sid to squeeze. Best regards, Manuel

Re: Error disk config fai

2010-06-11 Diskussionsfäden Wim De Geeter
Thanks, this soved it. I installed it in the chroot

Re: Error disk config fai

2010-06-10 Diskussionsfäden Ahmad Khayyat
Easy fix: chroot to the nfs root, and install libblkid1 from sid. Make sure you remove sid apt sources after you're done, if you do add them. On Thu, Jun 10, 2010 at 10:04 AM, Manuel Hachtkemper wrote: > Hello, > >>    Executing: mkfs.ext3  /dev/sda1 >>    Command mkfs.ext3  /dev/sda1 had exit c

Re: Error disk config fai

2010-06-10 Diskussionsfäden Manuel Hachtkemper
Hello, >Executing: mkfs.ext3 /dev/sda1 >Command mkfs.ext3 /dev/sda1 had exit code 1 there is a bug in e2fsprogs in debian squeeze. ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583551 ) The bug is fixed in sid, but the package wasn't merged to squeeze, yet. Best regards, Manuel H

Error disk config fai

2010-06-10 Diskussionsfäden Wim De Geeter
Hi, I have used fai with lenny without problems No i try to test it with squeeze. When I boot my first client I get an error in task partition With Lenny the disk_config file was working fine failog: /FAI_ACTION: install Performing FAI installation. All data may be overwritten! ^G^G^G Calling ta