All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Brian J. Murrell" <brian@interlinx.bc.ca>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Re: brainfart: lilo'd a PV
Date: Thu, 17 Dec 2009 21:03:08 -0500	[thread overview]
Message-ID: <1261101785.21162.712.camel@pc.interlinx.bc.ca> (raw)
In-Reply-To: <4B2AD174.40402@redhat.com>

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

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.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-12-18  2:04 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   ` Brian J. Murrell [this message]
2009-12-18  2:16     ` [linux-lvm] " malahal
2009-12-18  3:12       ` Takahiro Yasui
2009-12-18  3:31     ` Ray Morris
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=1261101785.21162.712.camel@pc.interlinx.bc.ca \
    --to=brian@interlinx.bc.ca \
    --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.