public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] LVM and LABELS in fstab
Date: Wed, 23 Nov 2011 13:07:55 -0600	[thread overview]
Message-ID: <4ECD448B.3050603@gmail.com> (raw)
In-Reply-To: <20111123133116.5cf32784@hactar.digimed.co.uk>

Neil Bothwick wrote:
> On Tue, 22 Nov 2011 23:50:08 -0600, Dale wrote:
>
>> Another LVM question.  If I want to remove a drive and tell pvmove to
>> move the data off it, can the drive have files being written to it
>> while this is done?  I'm wanting to use my old spare drive to move some
>> things around but right now LVM has it.  I think it is OK but just want
>> to make sure.  If it is not OK, do I have to unmount the LV first?
> Once you start pvmove running, LVM will not allocate any more space on
> the drive, so any files written to the LV will go on another drive.
>
> If you mean you want to write to it separately from LVM, of course you
> can, as long as you are using a different partition.
>
>

I think we have a problem:

root@fireball / # pvmove -v /dev/sdb1
     Finding volume group "data"
     Archiving volume group "data" metadata (seqno 4).
     Creating logical volume pvmove0
     Moving 59604 extents of logical volume data/data1
   Insufficient free space: 59604 extents needed, but only 118 available
   Unable to allocate mirror extents for pvmove0.
   Failed to convert pvmove LV to mirrored
root@fireball / # pvdisplay
   --- Physical volume ---
   PV Name               /dev/sdb1
   VG Name               data
   PV Size               232.83 GiB / not usable 2.55 MiB
   Allocatable           yes (but full)
   PE Size               4.00 MiB
   Total PE              59604
   Free PE               0
   Allocated PE          59604
   PV UUID               Nxvrjn-BuaK-RGsF-F32S-0EaI-W4xe-H6Lnjl

   --- Physical volume ---
   PV Name               /dev/sdc1
   VG Name               data
   PV Size               698.64 GiB / not usable 4.84 MiB
   Allocatable           yes
   PE Size               4.00 MiB
   Total PE              178850
   Free PE               118
   Allocated PE          178732
   PV UUID               NF6I4G-L1L5-0VDE-HyUc-ESH3-CfV3-eUo676

root@fireball / # df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                19534436   7249460  12284976  38% /
/dev/root             19534436   7249460  12284976  38% /
rc-svcdir                 1024       120       904  12% /lib64/rc/init.d
udev                     10240       360      9880   4% /dev
shm                    8232972         0   8232972   0% /dev/shm
/dev/sda1               186663     28128    148898  16% /boot
/dev/sda8              9614116   4366692   4759052  48% /var
/dev/sda6             11535344   5332948   5616428  49% /usr/portage
/dev/sda7             48828008  11273180  37554828  24% /home
/dev/mapper/data-data1
                      960906608 275263224 636841120  31% /data
tmpfs                  8232972         0   8232972   0% /var/tmp/portage
/dev/sda9             59434744  31373872  25041732  56% /mnt/temp
root@fireball / #


So, I got space left on sdc but it won't move the data off sdb.  Did 
this run off into the ditch?  :/

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!




  reply	other threads:[~2011-11-23 19:10 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-17  2:52 [gentoo-user] LVM and LABELS in fstab Dale
2011-11-17  6:20 ` Manuel McLure
2011-11-17  6:50   ` Dale
2011-11-17  9:43     ` Florian Philipp
2011-11-17 13:38       ` Joost Roeleveld
2011-11-17 17:37         ` Dale
2011-11-17 18:57           ` Neil Bothwick
2011-11-18  5:18             ` Dale
2011-11-20 13:02               ` James Wall
2011-11-20 20:32                 ` Dale
2011-11-26 15:36                   ` James Wall
2011-11-23  5:50 ` Dale
2011-11-23 13:31   ` Neil Bothwick
2011-11-23 19:07     ` Dale [this message]
2011-11-23 21:17       ` Neil Bothwick
2011-11-24  1:27         ` Dale
2011-11-24  3:28           ` Dale
2011-11-24  4:04             ` Alex Schuster
2011-11-24  4:37               ` Dale
2011-11-24 10:48                 ` Dale
2011-11-24 16:48                   ` Neil Bothwick
2011-11-24  8:39             ` Alan McKinnon
2011-11-24  9:00               ` Dale

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=4ECD448B.3050603@gmail.com \
    --to=rdalek1967@gmail.com \
    --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