[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 06:26:35PM +0200, Bastian Blank wrote:
> | 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

| (gdb) info locals
| split_seg = (struct lv_segment *) 0x8111cb0
| s = 0
| offset = 1079
| area_offset = 1079
| (gdb) p *split_seg
| $2 = {list = {n = 0x0, p = 0x0}, lv = 0x810cbe8, segtype = 0x80f8d04, le = 1079, len = 201, status = 0, stripe_size = 0, area_count = 1, area_len = 201, origin = 0x0, cow = 0x0, origin_list = {n = 0x0, p = 0x0}, chunk_size = 0, region_size = 0, extents_copied = 0, log_lv = 0x0, tags = {n = 0x8111cf8, p = 0x8111cf8}, area = 0x8111d00}
| (gdb) p split_seg.area[0]
| $4 = {type = AREA_PV, u = {pv = {pvseg = 0x0}, lv = {lv = 0x0, le = 0}}}
| (gdb) p *seg
| $6 = {list = {n = 0x810cc68, p = 0x810cc68}, lv = 0x810cbe8, segtype = 0x80f8d04, le = 0, len = 1079, status = 0, stripe_size = 0, area_count = 1, area_len = 1079, origin = 0x0, cow = 0x0, origin_list = {n = 0x0, p = 0x0}, chunk_size = 0, region_size = 0, extents_copied = 0, log_lv = 0x0, tags = {n = 0x810d678, p = 0x810d678}, area = 0x810d680}
| (gdb) p seg.area[0]
| $7 = {type = AREA_PV, u = {pv = {pvseg = 0x810d290}, lv = {lv = 0x810d290, le = 0}}}

Bastian

-- 
You canna change the laws of physics, Captain; I've got to have thirty minutes!

Attachment: signature.asc
Description: Digital signature


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