* [gentoo-user] using lvm without a partition of type linux LVM
@ 2013-10-12 1:51 gottlieb
2013-10-12 6:59 ` joost
2013-10-12 9:49 ` Alan McKinnon
0 siblings, 2 replies; 10+ messages in thread
From: gottlieb @ 2013-10-12 1:51 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] using lvm without a partition of type linux LVM
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
2013-10-12 9:49 ` Alan McKinnon
1 sibling, 1 reply; 10+ messages in thread
From: joost @ 2013-10-12 6:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]
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.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
[-- Attachment #2: Type: text/html, Size: 1599 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] using lvm without a partition of type linux LVM
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 9:49 ` Alan McKinnon
1 sibling, 0 replies; 10+ messages in thread
From: Alan McKinnon @ 2013-10-12 9:49 UTC (permalink / raw
To: gentoo-user
On 12/10/2013 03:51, 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
>
partition type is mostly meaningless, useful only to document your
intent. It's something MS-DOS made use of, everything else not so much.
Some software packages may read the type attribute and make their own
decisions based on that, but for the most part stuff just works, as you
found.
It makes so much more sense for software to examine the partition
itself, or read the signature it left at the beginning of the partition
to find out what it is, rather than relying on some weird arcane flag
set somewhere else.
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] using lvm without a partition of type linux LVM
2013-10-12 6:59 ` joost
@ 2013-10-12 14:40 ` gottlieb
2013-10-12 23:07 ` Thanasis
0 siblings, 1 reply; 10+ messages in thread
From: gottlieb @ 2013-10-12 14:40 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] using lvm without a partition of type linux LVM
2013-10-12 14:40 ` gottlieb
@ 2013-10-12 23:07 ` Thanasis
2013-10-13 6:48 ` Mick
2013-10-13 16:05 ` gottlieb
0 siblings, 2 replies; 10+ messages in thread
From: Thanasis @ 2013-10-12 23:07 UTC (permalink / raw
To: gentoo-user
on 10/12/2013 05:40 PM gottlieb@nyu.edu wrote the following:
> copy the lvm partitions to directories on an external disk (ext3)
What command did you use for copying?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] using lvm without a partition of type linux LVM
2013-10-12 23:07 ` Thanasis
@ 2013-10-13 6:48 ` Mick
2013-10-13 8:19 ` Dale
2013-10-13 16:05 ` gottlieb
1 sibling, 1 reply; 10+ messages in thread
From: Mick @ 2013-10-13 6:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 570 bytes --]
On Sunday 13 Oct 2013 00:07:56 Thanasis wrote:
> on 10/12/2013 05:40 PM gottlieb@nyu.edu wrote the following:
> > copy the lvm partitions to directories on an external disk (ext3)
>
> What command did you use for copying?
You can use rsync, scp or (s)tar.
Personally I prefer star with the copy option.
Word of warning: check that the attributes and mod times are as you want
them, especially with rsync which with the -a parameter preserves the source
directory/machine ownership, rather than the expected destination defaults.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] using lvm without a partition of type linux LVM
2013-10-13 6:48 ` Mick
@ 2013-10-13 8:19 ` Dale
0 siblings, 0 replies; 10+ messages in thread
From: Dale @ 2013-10-13 8:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 932 bytes --]
Mick wrote:
> On Sunday 13 Oct 2013 00:07:56 Thanasis wrote:
>> on 10/12/2013 05:40 PM gottlieb@nyu.edu wrote the following:
>>> copy the lvm partitions to directories on an external disk (ext3)
>>
>> What command did you use for copying?
>
> You can use rsync, scp or (s)tar.
>
> Personally I prefer star with the copy option.
>
> Word of warning: check that the attributes and mod times are as you want
> them, especially with rsync which with the -a parameter preserves the
source
> directory/machine ownership, rather than the expected destination
defaults.
When I do a copy on a setup like this, I just use cp -a. Add the v if
you want to see what it is doing. I have used it many times and it
works just fine. Clean and simple. If over a network or something tho,
gets complicated pretty quick.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!
[-- Attachment #2: Type: text/html, Size: 1532 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] using lvm without a partition of type linux LVM
2013-10-12 23:07 ` Thanasis
2013-10-13 6:48 ` Mick
@ 2013-10-13 16:05 ` gottlieb
1 sibling, 0 replies; 10+ messages in thread
From: gottlieb @ 2013-10-13 16:05 UTC (permalink / raw
To: gentoo-user
On Sat, Oct 12 2013, thanasis@asyr.hopto.org wrote:
> on 10/12/2013 05:40 PM gottlieb@nyu.edu wrote the following:
>> copy the lvm partitions to directories on an external disk (ext3)
>
> What command did you use for copying?
cp -ax
rsync not is on the minimal install.
allan
^ permalink raw reply [flat|nested] 10+ messages in thread
* [gentoo-user] using lvm without a partition of type linux LVM
[not found] ` <m2woW-4po-5@gated-at.bofh.it>
@ 2013-10-15 1:29 ` Gregory Shearman
2013-10-15 23:17 ` gottlieb
0 siblings, 1 reply; 10+ messages in thread
From: Gregory Shearman @ 2013-10-15 1:29 UTC (permalink / raw
To: gentoo-user
In linux.gentoo.user, allan wrote:
> On Sat, Oct 12 2013, thanasis@asyr.hopto.org wrote:
>
>> on 10/12/2013 05:40 PM gottlieb@nyu.edu wrote the following:
>>> copy the lvm partitions to directories on an external disk (ext3)
>>
>> What command did you use for copying?
>
> cp -ax
>
> rsync not is on the minimal install.
rsync is on my 2013 amd-x64 minimal install CD. Do you have an amd-x64
install and do you have the latest version of the minimal install CD?
--
Regards,
Gregory.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] using lvm without a partition of type linux LVM
2013-10-15 1:29 ` Gregory Shearman
@ 2013-10-15 23:17 ` gottlieb
0 siblings, 0 replies; 10+ messages in thread
From: gottlieb @ 2013-10-15 23:17 UTC (permalink / raw
To: gentoo-user
On Mon, Oct 14 2013, Gregory Shearman wrote:
> In linux.gentoo.user, allan wrote:
>> On Sat, Oct 12 2013, thanasis@asyr.hopto.org wrote:
>>
>>> on 10/12/2013 05:40 PM gottlieb@nyu.edu wrote the following:
>>>> copy the lvm partitions to directories on an external disk (ext3)
>>>
>>> What command did you use for copying?
>>
>> cp -ax
>>
>> rsync not is on the minimal install.
>
> rsync is on my 2013 amd-x64 minimal install CD. Do you have an amd-x64
> install and do you have the latest version of the minimal install CD?
I do have amd64, but not 2013.
allan
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-10-15 23:18 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox