unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Giovanni Biscuolo <g@xelera.eu>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: problem installing on RAID partition and hot to rescue
Date: Wed, 08 May 2019 16:55:04 +0200	[thread overview]
Message-ID: <87pnot6lo7.fsf@roquette.mug.biscuolo.net> (raw)
In-Reply-To: <87sgtpw139.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2659 bytes --]

Hello!

Ludovic Courtès <ludo@gnu.org> writes:

> Giovanni Biscuolo <g@xelera.eu> skribis:
>
>> I "manually" created a RAID 1 device /dev/md0 and used that device with
>> the "guided partitioning" method:
>
> What did you do exactly?

right before the partitioning phase in the installer, I switched to a
terminal console, partitioned the two physical disks [1] with cfdisk
with 1 partition each (/dev/sda1 and /dev/sdb1) then assembled the RAID
1 device via mdadm, something like

   mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/sda1 /dev/sdb1

then switched back to the installer and used /dev/md0 as the device for
"Guided partitioning": it worked well up until grub-install

> Did you modify /mnt/etc/config.scm once the graphical installer had
> displayed it?

ehrm... no :-S
I should have done this, as documented in the manual [2]

> And did you also re-partition and re-mount your disks accordingly?

no but I don't understand what's the rationale to re-partition (delete
and recreate partitions?) and re-mount the partitions ad this phase of
installation

> That sounds inconvenient and error-prone.  :-/

do you mean: it's inconvenient to manually edit /mnt/etc/config.scm once
the graphical installer displayed it and before the "guix system init
/mnt/etc/config.scm /mnt" by the installer?

thinking twice I realize that mix-and-match guided (installer) and
manual installation is not a great idea... it was a dirty hack :-)

by the way, I'll try to rescue the system from the unbootable state:
I'll re-assemble /dev/md0, chroot to it and try to grub-install and
re-init Guix system with a fixed config.scm

if the above fails, I'll re-install from scratch using the manual
installation method

>> last but not least: should we add a guided RAID<N> partitioning
>> method to the Graphical Installer?
>
> I guess we should!

I'd like to help with patches but I'm still not able to code in Guile
[3]... I can test it 10 times if that feature will be added :-)

Thanks! Gio'


[1] actually they are RAID 0 logical volumes created via the "smart
array" HP controller software: I was not able (it seems impossible) to
configure the controller for direct access of *physical* disks from the
OS (HP Smart Array P410 - I **hate** this)... but that's a completely
different story... or not?
https://serverfault.com/questions/29349/disabling-raid-feature-on-hp-smart-array-p400#41975

[2]
https://www.gnu.org/software/guix/manual/en/html_node/Mapped-Devices.html#Mapped-Devices

[3] configuring and packaging is easy but it's not the kind of coding we need


[-- Attachment #2.1: Type: text/plain, Size: 53 bytes --]

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2019-05-08 14:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-07 17:54 problem installing on RAID partition and hot to rescue Giovanni Biscuolo
2019-05-08 13:02 ` Ludovic Courtès
2019-05-08 14:55   ` Giovanni Biscuolo [this message]
2019-05-09 14:37     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnot6lo7.fsf@roquette.mug.biscuolo.net \
    --to=g@xelera.eu \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).