[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Moving PEs within a PV for defragmentation



On Fri, Jul 08, 2005 at 03:40:06PM +0100, Alasdair G Kergon wrote:
> On Fri, Jul 08, 2005 at 04:33:31PM +0200, Bastian Blank wrote:
> > Is their a reason why pvmove refuses to move PEs within one PV?
> Does --alloc anywhere help?

It generates a segfault.

| Program received signal SIGSEGV, Segmentation fault.
| 0x0807e265 in lv_split_segment (lv=0x80f64d0, le=1079) at metadata/merge.c:209
| 209                             log_debug("Split %s:%u[%u] at %u: %s PE %u", lv->name,
| (gdb) bt
| #0  0x0807e265 in lv_split_segment (lv=0x80f64d0, le=1079) at metadata/merge.c:209
| #1  0x08081c3a in insert_pvmove_mirrors (cmd=0x80b9120, lv_mirr=0x80fb410, source_pvl=0x0, lv=0x80f64d0, 
|     allocatable_pvs=0x80fb010, alloc=ALLOC_ANYWHERE, lvs_changed=0x80fb4b8) at metadata/mirror.c:220
| #2  0x0805b686 in pvmove (cmd=0x80b9120, argc=2, argv=0xbffff8d8) at pvmove.c:185
| #3  0x08054fda in _run_command (cmd=0x80b9120, argc=2, argv=0xbffff8d8) at lvmcmdline.c:858
| #4  0x08055da6 in lvm2_main (argc=6, argv=0xbffff8c8, is_static=0) at lvmcmdline.c:1416
| #5  0x08064376 in main (argc=7, argv=0xbffff8c4) at lvm.c:20

Bastian

-- 
You!  What PLANET is this!
		-- McCoy, "The City on the Edge of Forever", stardate 3134.0

Attachment: signature.asc
Description: Digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]