On Sun, Oct 27, 2024 at 9:48 AM Jonathan Wiebe <jonathan.b.wi...@proton.me> wrote: > > # lvreduce -L -39G /dev/mapper/debian--vg-home > WARNING: Reducing active logical volume to 408.07 GiB. > THIS MAY DESTROY YOUR DATA (filesystem etc.) > Do you really want to reduce debian--vg/home? [y/n]: y > Size of logical volume debian--vg/home changed from 447.07 GiB (114450 > extents) to 408.07 GiB (104466 extents). > Logical volume debian--vg/home successfully resized. > > This is where I am stalled. The prompt has not come back and I have been > waiting about 10.5 hours. Is it normal for this to take this long? Should I > just be patient? Or has something gone wrong? I am not sure what to do at > this point.
Shrinking a logical volume should be more or less instant, and it is already "successfully resized" as reported by the tool. If I were in your situation I would open a new terminal and run "lvs" or similar to check the status. If that works fine and returns the prompt, then I'd assume it's good and try to cancel the first operation with ctrl-c. If the second "lvs" doesn't respond or if the new terminal doesn't even open correctly, you're of course in more trouble, but I would personally still be reasonably sure that the operation was OK and there's just some temporary confusion. In my experience, the lvm subsystem is pretty solid but of course YMMV. Realistically unless you can cancel the initial operation there's not much you can do anyway except to reboot. For what it's worth, I always prefer to do these things from a live CD/USB because you know that the host is not actively using some part of the disk you're working on, and it's easier to do backups. As long as the lvm/kernel versions are not that far apart you'll be fine. // Anders