Cuando inicio el sistema desde el cd en rescue mode sin montar los file systems no puedo ejecutar los comandos. Me sale un prompt y desde allí ejecuto:
#lvm vgchange -a y no ejecuta, no encuentra los comandos y manda error. VG ----- Mensaje original ---- De: Jorge Palma <[EMAIL PROTECTED]> Para: Discusion de Linux en Castellano <[email protected]> Enviado: martes, 30 de enero, 2007 11:50:09 Asunto: Re: Reducir root ( / ) lvm file system On 1/30/07, Valentin Gonzalez <[EMAIL PROTECTED]> wrote: > Hola listeros, > > Estoy buscando información de como reducir el root ( / ) lvm file system en > RHEL4. Estuve investigando en la web y encontre infrmación al respecto, pero > ninguna me funciona. Todas hablan de que reinicie el sistema con el cd #1 en > rescue mode y ejecute una secuencia de comandos, pero igual no me funciona. > Algo así como lo siguiente: > > Boot with rescue CD. Skip mounting of the system partitions. > > # lvm vgchange -a y > # e2fsck -f /dev/VolGroup00/LogVol00 > # resize2fs -f /dev/VolGroup00/LogVol00 10G > # lvreduce -L10G /dev/VolGroup00/LogVol00 > > I recieved a message "Please run e2fsck -f /dev/VolGroup00/LogVol00" when > trying to run resize2fs (even after I had run e2fsck) so I added the -f > switch to force the resize. All went well. > > De antemano gracias, > > VG > > > > ______________________________________________ > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y móviles desde 1 céntimo por minuto. > http://es.voice.yahoo.com > Al parecer el procedimiento estaría OK, pero podrías decir exactamente que es lo que no te funciona??? Salu2 -- Jorge Palma Escobar Ingeniero de Sistemas Red Hat Linux Certified Engineer Certificate Nº 804005089418233 ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com From [EMAIL PROTECTED] Tue Jan 30 17:17:25 2007 From: [EMAIL PROTECTED] (Jorge Palma) Date: Tue Jan 30 17:18:10 2007 Subject: Reducir root ( / ) lvm file system In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On 1/30/07, Valentin Gonzalez <[EMAIL PROTECTED]> wrote: > Cuando inicio el sistema desde el cd en rescue mode sin montar los file > systems no puedo ejecutar los comandos. Me sale un prompt y desde allí > ejecuto: > > #lvm vgchange -a y > > no ejecuta, no encuentra los comandos y manda error. > > VG > > > ----- Mensaje original ---- > De: Jorge Palma <[EMAIL PROTECTED]> > Para: Discusion de Linux en Castellano <[email protected]> > Enviado: martes, 30 de enero, 2007 11:50:09 > Asunto: Re: Reducir root ( / ) lvm file system > > > On 1/30/07, Valentin Gonzalez <[EMAIL PROTECTED]> wrote: > > Hola listeros, > > > > Estoy buscando información de como reducir el root ( / ) lvm file system > > en RHEL4. Estuve investigando en la web y encontre infrmación al respecto, > > pero ninguna me funciona. Todas hablan de que reinicie el sistema con el > > cd #1 en rescue mode y ejecute una secuencia de comandos, pero igual no me > > funciona. Algo así como lo siguiente: > > > > Boot with rescue CD. Skip mounting of the system partitions. > > > > # lvm vgchange -a y > > # e2fsck -f /dev/VolGroup00/LogVol00 > > # resize2fs -f /dev/VolGroup00/LogVol00 10G > > # lvreduce -L10G /dev/VolGroup00/LogVol00 > > > > I recieved a message "Please run e2fsck -f /dev/VolGroup00/LogVol00" when > > trying to run resize2fs (even after I had run e2fsck) so I added the -f > > switch to force the resize. All went well. > > > > De antemano gracias, > > > > VG > > > > > > > > ______________________________________________ > > LLama Gratis a cualquier PC del Mundo. > > Llamadas a fijos y móviles desde 1 céntimo por minuto. > > http://es.voice.yahoo.com > > > Al parecer el procedimiento estaría OK, pero podrías > decir exactamente que es lo que no te funciona??? > > Salu2 > > -- > Jorge Palma Escobar > Ingeniero de Sistemas > Red Hat Linux Certified Engineer > Certificate Nº 804005089418233 > > > > ______________________________________________ > LLama Gratis a cualquier PC del Mundo. > Llamadas a fijos y móviles desde 1 céntimo por minuto. > http://es.voice.yahoo.com > Hazla corta, ubuntu live-cd y te va a funcionar.... sino debes ejecutar chroot para poder hacerlo y vas a llegar a lo mismo.... Hazlo con algun live-cd como knoppix o ubuntu y no tendrás problemas... AHhh!! se me olvidaba, aunque es seguro el proceso, igual respalda full SAlu2 -- Jorge Palma Escobar Ingeniero de Sistemas Red Hat Linux Certified Engineer Certificate Nº 804005089418233

