Paso a continuacion los pasos realizados para reimensionar las particiones en lvm #lvdisplay > > --- Logical volume --- > LV Name /dev/Zahir/root > VG Name Zahir > LV UUID 00Xf0C-wthL-BQgi-hzwu-BYNZ-neNn-QLBsVU > LV Write Access read/write > LV Status available > # open 1 > LV Size 6,68 GB > Current LE 1709 > Segments 1 > Allocation inherit > Read ahead sectors 0 > Block device 254:1 > > --- Logical volume --- > LV Name /dev/Zahir/swap_1 > VG Name Zahir > LV UUID AO0jE2-La39-mGQL-PB2o-ReRq-lYre-HX4ILF > LV Write Access read/write > LV Status available > # open 2 > LV Size 2,59 GB > Current LE 664 > Segments 1 > Allocation inherit > Read ahead sectors 0 > Block device 254:2 > > mas la particion /home ..... quiero reducir la particion /swap de 1512M y agregarlos a la particion /root. # swapoff /dev/Zahir/swap_1 #lvreduce -L-1512G /dev/Zahir/swap_1 WARNING: Reducing active and open logical volume to 1,12 GB THIS MAY DESTROY YOUR DATA (filesystem etc.) Do you really want to reduce swap_1? [y/n]: y Reducing logical volume swap_1 to 1,12 GB Logical volume swap_1 successfully resized #mkswap /dev/Zahir/swap_1 Configurando espacio de intercambio versión 1, tamaño = 1199566 kB no label, UUID=ab6772f8-1776-439f-873f-d52e4a8e66bc #swapon /dev/Zahir/swap_1 verifico #lvdisplay --- Logical volume --- LV Name /dev/Zahir/swap_1 VG Name Zahir LV UUID AO0jE2-La39-mGQL-PB2o-ReRq-lYre-HX4ILF LV Write Access read/write LV Status available # open 2 LV Size 1,12 GB Current LE 286 Segments 1 Allocation inherit Read ahead sectors 0 Block device 254:2 #lvextend -L+1512M /dev/Zahir/root Extending logical volume root to 8,15 GB Logical volume root successfully resized #resize2fs /dev/Zahir/root resize2fs 1.40.3 (05-Dec-2007) Filesystem at /dev/Zahir/root is mounted on /; on-line resizing required old desc_blocks = 1, new_desc_blocks = 1 Performing an on-line resize of /dev/Zahir/root to 2137088 (4k) blocks. The filesystem on /dev/Zahir/root is now 2137088 blocks long. #lvdisplay --- Logical volume --- LV Name /dev/Zahir/root VG Name Zahir LV UUID 00Xf0C-wthL-BQgi-hzwu-BYNZ-neNn-QLBsVU LV Write Access read/write LV Status available # open 1 LV Size 8,15 GB Current LE 2087 Segments 2 Allocation inherit Read ahead sectors 0 Block device 254:1 y voila !!! agradezco el tiempo que han perdido aquellos que me han dado una mano respondiendo o leyendo el hilo. La cuestion era facil...pero la inexperiencia hace que debo estar al 150% seguro antes de realizar los cambios. gracias. -- _________________________________________________________________________ Key ID :0x2B16BF9B21E4B3B5 hkp://wwwkeys.eu.pgp.net Telefono:(raspar aqui) ||||||||||||||||||||||||||||||||| -------------------------------------------------------------------------- No soy un experto en Linux sino un simple aficcionado en busca del nirvana Debian :-).
Attachment:
signature.asc
Description: OpenPGP digital signature