public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: gottlieb@nyu.edu
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] using lvm without a partition of type linux LVM
Date: Sat, 12 Oct 2013 10:40:05 -0400	[thread overview]
Message-ID: <87a9iewo1m.fsf@nyu.edu> (raw)
In-Reply-To: <657131f0-2d16-4fdd-9df4-40dc96ed7b1b@email.android.com> (joost@antarean.org's message of "Sat, 12 Oct 2013 08:59:39 +0200")

On Sat, Oct 12 2013, joost@antarean.org wrote:

> gottlieb@nyu.edu wrote:
>>The lvm handbook addendum is no longer and we are instead to use
>>the software raid + lvm2 quick install guide.
>>
>>That guide makes a few partitions of type linux raid and then puts lvm
>>on a mirrored set (more is done).
>>
>>I wasn't using raid so skipped that step and wound up with 
>>one partition as a pv in my single vg and created several lvs in that
>>vg.
>>
>>So far so good.  But I realized that the single partition that I used
>>was of type linux instead of linux lvm as I had always done when
>>following the lvm handbook addendum.
>>
>>So what, I've made plenty of mistakes before, and will surely make
>>plenty more later.
>>
>>But the resulting system works perfectly!
>>
>>If this is risky; I can reinstall.  But I wonder if any action is
>>necessary.
>>
>>What do you think?
>>allan
>
> I have done similar things in the past.
> I think the idea is that with the LVM partition type, the tools can auto detect.
> The reality is, the tools scan all the block devices.
>
> It is possible to change the partition type from Linux to LVM without
> a reinstall. I would just reboot afterwards to be safe.

Thank you and alan.

I did a paranoic version of your suggestion

boot minimal install disk
copy the lvm partitions to directories on an external disk (ext3)
change partition type
reboot onto hard disk
test
remove copies

thanks again.
allan


  reply	other threads:[~2013-10-12 15:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-12  1:51 [gentoo-user] using lvm without a partition of type linux LVM gottlieb
2013-10-12  6:59 ` joost
2013-10-12 14:40   ` gottlieb [this message]
2013-10-12 23:07     ` Thanasis
2013-10-13  6:48       ` Mick
2013-10-13  8:19         ` Dale
2013-10-13 16:05       ` gottlieb
2013-10-12  9:49 ` Alan McKinnon
     [not found] <m1WEP-1da-9@gated-at.bofh.it>
     [not found] ` <m21uO-OC-15@gated-at.bofh.it>
     [not found]   ` <m29LH-4hi-5@gated-at.bofh.it>
     [not found]     ` <m2gtQ-5Zs-19@gated-at.bofh.it>
     [not found]       ` <m2woW-4po-5@gated-at.bofh.it>
2013-10-15  1:29         ` Gregory Shearman
2013-10-15 23:17           ` gottlieb

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=87a9iewo1m.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=gentoo-user@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox