From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uBB2cmAM018761 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 10 Dec 2016 21:38:48 -0500 Received: from mail2.openmailbox.org (mail2.openmailbox.org [62.4.1.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9FF524E4D2 for ; Sun, 11 Dec 2016 02:38:46 +0000 (UTC) Received: from www.openmailbox.org (unknown [10.91.130.55]) by mail2.openmailbox.org (Postfix) with ESMTP id E7D4E103F66 for ; Sun, 11 Dec 2016 03:38:39 +0100 (CET) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Date: Sat, 10 Dec 2016 21:38:39 -0500 From: veleiro@openmailbox.org Message-ID: Subject: [linux-lvm] =?utf-8?q?lvreduce_used_before_resizing_file_system?= =?utf-8?q?=2C_what_now=3F?= Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-lvm@redhat.com Hello, I was following this guide https://help.ubuntu.com/community/ResizeEncryptedPartitions#Detailed_resizing_.2BAH4_Reducing_an_encrypted_partition on how to reduce the size of an lvm partition. Its kind of confusing, so going from a ext4 420G partition to 390G partition, I did the steps in the wrong order: sudo e2fsck -f /dev/mapper/ubuntu--vg-root # worked sudo lvreduce -L -30G /dev/ubuntu--vg/root # data warning sudo resize2fs -p /dev/mapper/ubuntu--vg-root 390g i tried to undo this by sudo resize2fs -p /dev/mapper/ubuntu--vg-root 420g # doesnt do anything, not enough blocks sudo lvresize -l +30G /dev/ubuntu-vg/root #clearly didnt do anything or work either Is there any procedures to get back to where i started at 420g OR to fix it for 390g? Thanks! veleiro