linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Gijs <info@bsnw.nl>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM pretends it has more space than it actually has
Date: Mon, 19 Sep 2011 21:48:15 +0200	[thread overview]
Message-ID: <4E779C7F.9010507@bsnw.nl> (raw)
In-Reply-To: <20110919134814.72bd8c3d@bettercgi.com>

Ah like that. Ok, I can't imagine I typed such a command, but I guess I 
can never really know. But let's say I did, would it be possible to 
somehow retrieve the data from that volume? By increasing the underlying 
raid-5 maybe? Or is it forever lost?

On 19-9-2011 20:48, Ray Morris wrote:
> The symptoms you are presenting, the "missing" 1MB are similar
> to if someone did this in the past:
>
> mdadm --create /dev/md1 /dev/sd[ab]1
> pvcreate /dev/md1
>
> Then later someone did this:
> mdadm --assemble /dev/md1 /dev/volgroup/firstLV
>
> The VG, or the reported size of the PV, is 1MB smaller than
> the device the PV is on, due to the metadata. If the RAID array,
> or rather any raid array, were created on /dev/sda1, for
> example, but then later activated using /dev/volgroup/LV,
> mdadm would report that the device was 1MB too small, which is
> exactly the message you are getting.

  reply	other threads:[~2011-09-19 19:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-18 13:58 [linux-lvm] LVM pretends it has more space than it actually has Gijs
2011-09-19  0:21 ` Stuart D. Gathman
2011-09-19 17:40   ` Gijs
2011-09-19  1:13 ` adultsitesoftware@gmail.com
2011-09-19  1:23 ` adultsitesoftware@gmail.com
2011-09-19 17:37   ` Gijs
2011-09-19 18:48     ` Ray Morris
2011-09-19 19:48       ` Gijs [this message]
2011-09-19 20:41         ` Ray Morris
2011-09-21 18:32           ` Gijs
2011-10-12 20:43             ` Gijs

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=4E779C7F.9010507@bsnw.nl \
    --to=info@bsnw.nl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).