Cannot rezise root lvm - Logical volume is not mounted but is in use

Bug #1325450 reported by Mauricio Farell Perezgrovas
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
system-config-lvm (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Extending or resizing a root Logical volume fails with system-config-lvm but not if done with command line.

How to reproduce:
1. Open system-config-lvm
2. Try to resize or extend root partition
3. Fails every time with error: "Logical volume is not mounted but is in use. Please close all applications using this device (eg iscsi)

All operations can be made without a problem with command line:

lvextend -L +10G /dev/VolGroup00/root
resize2fs /dev/VolGroup00/root

Version: system-config-lvm 1.1.18

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-config-lvm (Ubuntu):
status: New → Confirmed
Revision history for this message
Vicente Ramirez-Perea (victealias) wrote :

I have the same symtoms but on a volume that is not root.
I also can resize lv from cli (with lvextend and resize2fs, but not with the system-config-lvm gui.
I confirm with lsof, fuser, umount and stoping services related with the volume that there was nothing using it.

Revision history for this message
Andrew Myers (asm198) wrote :

I see the same thing on a volume mounted at /home.

Revision history for this message
Paul Cager (paul-cager) wrote :

This seems to be because system-config-lvm expects readlink to be /usr/bin/readlink, but it is (now) /bin/readlink. As a temporary bodge I have added a link from /usr/bin/readlink to /bin/readlink which allows system-config-lvm to work correctly.

hermlnx (hermlnx)
tags: added: xenial
Revision history for this message
hermlnx (hermlnx) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "[PATCH] Change readline location to /bin/readline in utilities.py as it is no longer present in /usr/bin" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in system-config-lvm (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-config-lvm - 1.1.18-3ubuntu1

---------------
system-config-lvm (1.1.18-3ubuntu1) zesty; urgency=medium

  * Merge from Debian unstable. Remaining changes:
    - In Ubuntu, we use udev rather than an init script to activate lvm2, so
      don't try to invoke the init script.

system-config-lvm (1.1.18-3) unstable; urgency=medium

  * Updated debian/copyright
  * Converted debian/copyright into machine-readable format
  * Added patch to address changed readlink location
    (Closes: #833490; LP: #1325450)
  * Updated Standards-Version: 3.9.8 (no changes needed)
  * Updated Vcs-* fields in debian/control
  * Added lintian-override for symlink to intltool's Makefile
  * Added Keywords to desktop file

 -- Bhavani Shankar <email address hidden> Tue, 03 Jan 2017 09:08:06 +0530

Changed in system-config-lvm (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.