Linux RAID subsystem development
 help / color / mirror / Atom feed
From: Janek Kozicki <janek_listy@wp.pl>
Cc: Tim Small <tim@seoss.co.uk>, linux-raid@vger.kernel.org
Subject: Re: booting into /dev/md0 after an upgrade to squeeze - SOLVED
Date: Tue, 19 Oct 2010 08:53:53 +0200	[thread overview]
Message-ID: <20101019085353.37ebb5a1@atak.bl.pg.gda.pl> (raw)
In-Reply-To: <20101018231850.46d1375c@atak.bl.pg.gda.pl>

Janek Kozicki said:     (by the date of Mon, 18 Oct 2010 23:18:50 +0200)

> I was trying to change the name from 'backup':0 to backup:0, but I
> must be doing something wrong, or it's not possible. ... or do I have
> to do this while assembling, and cannot do that on "live" array?


While inside initrd shell I brought up /dev/md0 while renaming it
at the same time, then booted into debian, like this:

# hostname backup
# mdadm -A -U name -U hostname /dev/md0 /dev/sda1 /dev/sdf1 /dev/sdg1 /dev/sdh1
# <Ctrl-D>

This caused change of Array Name from 'backup':0 to backup:0

When booted, I reinstalled linux-image package (with aptitude) and
this forced regeneration of initrd. Now it reboots just fine.

thank you for your help!
-- 
Janek Kozicki                               http://janek.kozicki.pl/  |

      reply	other threads:[~2010-10-19  6:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-18 18:14 booting into /dev/md0 after an upgrade to squeeze Janek Kozicki
2010-10-18 19:49 ` Tim Small
2010-10-18 21:18   ` Janek Kozicki
2010-10-19  6:53     ` Janek Kozicki [this message]

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

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

  git send-email \
    --in-reply-to=20101019085353.37ebb5a1@atak.bl.pg.gda.pl \
    --to=janek_listy@wp.pl \
    --cc=linux-raid@vger.kernel.org \
    --cc=tim@seoss.co.uk \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox