From: Gergely Imre <gimre@nextra.ro>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] pvmove hangs
Date: Wed, 27 Apr 2005 08:46:24 +0300 [thread overview]
Message-ID: <426F2730.7010502@nextra.ro> (raw)
In-Reply-To: <20050426132910.M98025@pk25.com>
output of the command
pvmove -t -vv -d /dev/sdb2 > /tmp/pvmove-test.txt 2>&1
is here (http://terran.noc.astral.ro/pvmove/pvmove-test.txt)
then, i ran it without -t, like this:
pvmove -vv -d /dev/sdb2 > /tmp/pvmove.txt 2>&1
the output here:
http://terran.noc.astral.ro/pvmove/pvmove.txt
at first, everything seemed alright, it kept writing the progress in the
file. i even ran 'lvs' a couple of times:
[root@watchdog tmp]# lvs
LV VG Attr LSize Origin Snap% Move Move%
.
.
.
pvmove0 watchdog p-C-ao 72.22G /dev/sdb2 4.15
watchdog_root watchdog -wn-ao 5.88G
watchdog_var watchdog -wN-ao 72.22G
the filesystem on this LV was mounted and used during the pvmove, but
this shouldn't be a problem, right?
i kept an eye on it, it did it's job for around 67%, then it hung, the
system was not responding, any command failed, i had to reboot. after
the reboot the whole thing started all over again, from the beginning.
but there is nothing in the logs that would indicate a problem.
Diaz Rodriguez, Eduardo wrote:
> Hi, try with pvmove -t or pvmove -v,
>
> Send the panics output, I think that we need more information.
>
> regards!
>
>
> On Tue, 26 Apr 2005 12:19:58 +0300, Gergely Imre wrote
>
>>hi
>>
>>i have a LV with two PVs in it, like this:
>>
>> --- Logical volume ---
>> LV Name /dev/watchdog/watchdog_var
>> VG Name watchdog
>> LV UUID v6U2JY-PBMf-snpJ-IXX5-ZzcV-y4fk-PchoQg
>> LV Write Access read/write
>> LV Status available
>> # open 1
>> LV Size 72.22 GB
>> Current LE 2311
>> Segments 1
>> Allocation next free (default)
>> Read ahead sectors 0
>> Block device 254:6
>>
>> --- Physical volumes ---
>> PV Name /dev/sdb2
>> PV UUID 5v23aD-mkO0-I9Ur-zUKG-sGd2-8iCP-zhgfJe
>> PV Status allocatable
>> Total PE / Free PE 2500 / 189
>>
>> PV Name /dev/sda1
>> PV UUID 7mzLEZ-Va0c-sdiW-8KAV-lyjo-a5yI-GBORGS
>> PV Status allocatable
>> Total PE / Free PE 2941 / 2753
>>
>>i want to remove sdb2, so i wanted to make a pvmove /dev/sdb2, so it
>>would move everything to sda1. the strange thing is, pvmove starts, and
>>after, say, 20% (about an hour or so) the whole system hangs
>>somehow. i can ping the box, but any command i try to run, fails.
>>it's like it's waiting for the disk to read/write, or something like
>>that. the distrib is Fedora Core 2.
>>
>>lvm> version
>> LVM version: 2.00.15 (2004-04-19)
>> Library version: 1.00.14-ioctl (2004-04-06)
>> Driver version: 4.4.0
>>
>>filesystem is ext3.
>>the system has 2GB RAM, dual Intel Xeon 3GHz.
>>
>>i tried with kernel 2.6.11.7, after a while it gives me kernel panic
>>during pvmove. then i tried with 2.6.9, it didn't panic, but it hung,
>>and i had to reboot.
>>
>>it's kinda urgent, thanks.
>>
>>_______________________________________________
>>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/
>
>
>
> =======================================================================================
> Este d�a que tanto temes por ser el �ltimo, es la aurora del d�a eterno.
> -- S�neca. (2 a.C-65) Fil�sofo latino.
> =======================================================================================
>
> _______________________________________________
> 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/
--
Gergely Imre
SysAdmin
Nextra TeleCom - group Astral
Tel: +4(0)266-317500
http://www.nextra.ro/gimre
GPG key: 0x34525305 (www.keyserver.net)
next prev parent reply other threads:[~2005-04-27 5:46 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-26 9:19 [linux-lvm] pvmove hangs Gergely Imre
2005-04-26 13:30 ` Diaz Rodriguez, Eduardo
2005-04-27 5:46 ` Gergely Imre [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-08-17 19:26 Allen, Jack
2010-08-17 22:12 ` Thomas Hager
2010-08-17 23:09 ` Allen, Jack
2005-04-27 13:04 Gergely Imre
2005-04-28 9:46 ` Diaz Rodriguez, Eduardo
2005-04-28 10:23 ` Gergely Imre
2005-04-28 11:13 ` Diaz Rodriguez, Eduardo
2003-08-16 5:21 Jan Niehusmann
2003-08-16 10:48 ` Jan Niehusmann
2003-08-16 13:57 ` Alasdair G Kergon
2003-08-17 11:11 ` Jan Niehusmann
2003-08-17 11:34 ` Alasdair G Kergon
2003-08-17 11:41 ` Jan Niehusmann
2003-08-17 12:00 ` Alasdair G Kergon
2003-08-17 18:15 ` Jan Niehusmann
2003-08-18 6:46 ` Alasdair G Kergon
2003-08-18 7:07 ` Jan Niehusmann
2003-08-18 9:13 ` Alasdair G Kergon
2003-08-18 9:30 ` Jan Niehusmann
[not found] ` <20030817114638.GA1839@gondor.com>
2003-08-17 12:42 ` Alasdair G Kergon
2003-08-17 13:27 ` Jan Niehusmann
2003-08-17 13:50 ` Alasdair G Kergon
2003-08-17 13:55 ` Alasdair G Kergon
2003-08-18 12:58 ` Alasdair G Kergon
2003-08-18 13:21 ` Jan Niehusmann
2003-08-18 17:55 ` Jan Niehusmann
2003-08-19 17:52 ` Jan Niehusmann
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=426F2730.7010502@nextra.ro \
--to=gimre@nextra.ro \
--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