Redimensionar Disco en VM Proxmox sin LVM

Guía para identificar si una partición usa LVM y ampliar un disco en una VM Proxmox sin LVM: detecta LVM, expande la partición con growpart y redimensiona ext4 o XFS (resize2fs/xfs_growfs).

17 sept 2025 • 2 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

En este artículo explico cómo identificar si una partición usa LVM y cómo redimensionar un disco en una VM Proxmox sin LVM, minimizando el tiempo de inactividad.

Detectar LVM: ejecuta lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT y revisa la columna FSTYPE. Si aparece LVM2_member la partición está dentro de LVM; si aparece ext4, xfs o btrfs entonces no es LVM. Otra opción es usar pvdisplay: si devuelve nombre de PV, VG o LV entonces hay LVM; si no muestra nada el sistema no usa LVM.

Escenario y objetivo: la VM tiene una partición root de 300GB y ya se aumentó el tamaño del disco en la interfaz de Proxmox a 600GB. Aunque el disco físico creció, el sistema de ficheros dentro de la VM sigue mostrando 300GB con df -h. A continuación los pasos para extender la partición y el sistema de ficheros sin LVM.

Paso 1 confirmar partición root: ejecuta lsblk y localiza la partición montada en /, por ejemplo /dev/sda1. Paso 2 ampliar la partición: instala la herramienta growpart si no está presente con apt install cloud-guest-utils -y y luego ejecuta growpart /dev/sda 1. Esto ajusta la tabla de particiones para usar el tamaño del disco ampliado.

Paso 3 redimensionar el sistema de ficheros: si tu sistema de ficheros es ext4 ejecuta resize2fs /dev/sda1. Si es XFS ejecuta xfs_growfs / mientras la partición esté montada. Después de esto verifica con df -h y la capacidad de / debería reflejar los 600GB.

Notas importantes: growpart modifica la partición para que ocupe el nuevo espacio del disco; los comandos de redimensionado del sistema de ficheros son seguros para realizar en caliente en la mayoría de entornos, pero siempre es recomendable tener una copia de seguridad reciente antes de operar discos. Si tu partición está cifrada, o si usas LVM, el flujo cambia y requerirá pasos adicionales.

Resumen rápido: Proxmox ya amplió el disco a 600GB. Dentro de la VM, identifica que no exista LVM con lsblk o pvdisplay. Amplía la partición con growpart y luego expande el sistema de ficheros con resize2fs para ext4 o xfs_growfs para XFS.

En Q2BSTUDIO ofrecemos soporte para infraestructuras virtuales, despliegues en la nube y desarrollo a medida. Si necesitas acompañamiento para operaciones sobre VMs, migraciones, o integración con plataformas cloud, podemos ayudarte con soluciones de aplicaciones a medida y software a medida adaptadas a tu negocio. También trabajamos servicios cloud aws y azure y proyectos de inteligencia artificial para empresas, incluyendo agentes IA y soluciones de inteligencia de negocio como power bi. Conoce más sobre nuestras opciones de cloud en Servicios cloud AWS y Azure y descubre nuestras capacidades en Inteligencia artificial para potenciar procesos, automatización y análisis.

Palabras clave relacionadas: aplicaciones a medida, software a medida, inteligencia artificial, ciberseguridad, servicios cloud aws y azure, servicios inteligencia de negocio, ia para empresas, agentes IA, power bi.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.