From: Ray Morris <support@bettercgi.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Re: brainfart: lilo'd a PV
Date: Thu, 17 Dec 2009 21:31:58 -0600 [thread overview]
Message-ID: <1261107118.11465.16@raydesk1.bettercgi.com> (raw)
In-Reply-To: <1261101785.21162.712.camel@pc.interlinx.bc.ca> (from brian@interlinx.bc.ca on Thu Dec 17 20:03:08 2009)
> > Yes. The area begin with "LABELONE" is PV label,
>
> Looks like the LVM developers foresaw my brainfart and left the first
> sector of the disk for me to bugger up without buggering up LVM. :-)
Applause.
--
Ray Morris
support@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/
Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php
On 12/17/2009 08:03:08 PM, Brian J. Murrell wrote:
> On Thu, 2009-12-17 at 19:48 -0500, Takahiro Yasui wrote:
> >
> > Yes. The area begin with "LABELONE" is PV label,
>
> Looks like the LVM developers foresaw my brainfart and left the first
> sector of the disk for me to bugger up without buggering up LVM. :-)
>
> > which is recorded in
> > the first sector by default.
>
> Hrm. Do you really mean "first" there or second, which is sector 1 if
> you start counting with 0?
>
> > This is the description from the pvcreate
> > man page.
> >
> > --labelsector sector
> > By default the PV is labelled with an LVM2
> identifier in its
> > second sector (sector 1).
>
> Yes, this looks so.
>
> > This lets you use a different sector
> > near the start of the disk (between 0 and 3
> inclusive - see
> > LABEL_SCAN_SECTORS in the source). Use with care.
>
> > You don't have any problem on the PV, do you?
>
> I don't think I do:
>
> # pvdisplay /dev/sda
> --- Physical volume ---
> PV Name /dev/sda
> VG Name datavol
> PV Size 931.51 GB / not usable 1.71 MB
> Allocatable yes
> PE Size (KByte) 4096
> Total PE 238467
> Free PE 85356
> Allocated PE 153111
> PV UUID C22uVB-4m26-5cvl-I11V-NXCm-mVNo-UTAXUH
>
> But of course, I just want to get the opinion of the experts.
>
> > I don't think you need something to repair the PV.
>
> I don't think so either, but of course, do want to confirm my
> suspicion.
>
> Thanx much for your insight.
>
> b.
>
>
------quoted attachment------
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
next prev parent reply other threads:[~2009-12-18 3:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-17 23:41 [linux-lvm] brainfart: lilo'd a PV Brian J. Murrell
2009-12-18 0:48 ` Takahiro Yasui
2009-12-18 2:03 ` [linux-lvm] " Brian J. Murrell
2009-12-18 2:16 ` malahal
2009-12-18 3:12 ` Takahiro Yasui
2009-12-18 3:31 ` Ray Morris [this message]
2009-12-18 12:09 ` [linux-lvm] " Bryn M. Reeves
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=1261107118.11465.16@raydesk1.bettercgi.com \
--to=support@bettercgi.com \
--cc=linux-lvm@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.