On Thu, 27 Oct 2005 23:54:45 +1300, Robin Gilks wrote: > [snip] >> You can find out how your logical volumes are split by using: >> >> lvdisplay -m >> >> That lists the mapping to physical volumes. >> >> You can give a physical volume name to lvcreate and lvextend to control >> the placement in future. You can use pvmove to fix any split logical >> volumes you already have. (Assuming sufficient disk space to move stuff >> around.) > > You've got me worried now - how do I display what type of mapping I have - > it looks like it may be striped since one volume is over 6 partitions :-((
Well, using the command I gave above! eg. A snippet from my machine for one LV: --- Logical volume --- LV Name /dev/vg_hordein_bak/backup VG Name vg_hordein_bak LV UUID PjMSKH-qRyF-WfrB-WOA5-fCCK-39gM-yyEGKm LV Write Access read/write LV Status available # open 1 LV Size 248.81 GB Current LE 3981 Segments 2 Allocation inherit Read ahead sectors 0 Block device 253:8 --- Segments --- Logical extent 0 to 3199: Type linear Physical volume /dev/hdb2 Physical extents 176 to 3375 Logical extent 3200 to 3980: Type linear Physical volume /dev/hdb2 Physical extents 4336 to 5116 Here you can see that the logical volume is split into two chunks (segments). In this case they both happen to be on the same drive (physical volume), so it doesn't really matter that there's two. If they were on different physical volumes then obviously that would mean the logical volume (ie. filesystem) was split over drives. The type is listed as linear, so this LV is not striped. I don't have any, but I believe the type would be 'striped' if that was the case. There's also a type 'mirror' which you'll see if you use pvmove. Cheers, Martin. _______________________________________________ mythtv-users mailing list mythtv-users@mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users