Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #266478

Re: Resizing LVM partitions

From Miroslav Skoric <skoric@uns.ac.rs>
Newsgroups linux.debian.user
Subject Re: Resizing LVM partitions
Date 2024-01-22 23:20 +0100
Message-ID <HZaO5-4Ub1-7@gated-at.bofh.it> (permalink)
References <HZ3Wi-4PQj-9@gated-at.bofh.it> <HZ4fD-4Qcu-13@gated-at.bofh.it> <HZ4yZ-4QiC-11@gated-at.bofh.it> <HZ4IF-4QlW-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 1/22/24 4:40 PM, Alain D D Williams wrote:
> On Mon, Jan 22, 2024 at 10:29:55AM -0500, Stefan Monnier wrote:
>>> lvextend --size +1G --resizefs /dev/mapper/localhost-home
>>>
>>> Ie get lvextend to do the maths & work it out for me.
>>>
>>> Those who are cleverer than me might be able to tell you how to get it right
>>> first time!
>>
>> lvreduce --size -50G --resizefs /dev/mapper/localhost-home
> 
> Oh, even better. It is a long time since I looked at than man page.
> 
> Does this still need to be done with the file system unmounted or can it be
> done with an active file system these days ?
> 

As I need to extend & resize more than one LV in the file system (/, 
/usr, and /var), should they all need to be unmounted before the 
operation? As I remember, it is ext3 system on that comp.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Resizing LVM partitions skoric@uns.ac.rs - 2024-01-22 16:00 +0100
  Re: Resizing LVM partitions Alain D D Williams <addw@phcomp.co.uk> - 2024-01-22 16:20 +0100
    Re: Resizing LVM partitions Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-22 16:40 +0100
      Re: Resizing LVM partitions Alain D D Williams <addw@phcomp.co.uk> - 2024-01-22 16:50 +0100
        Re: Resizing LVM partitions <tomas@tuxteam.de> - 2024-01-22 19:00 +0100
          Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-22 23:20 +0100
            Re: Resizing LVM partitions <tomas@tuxteam.de> - 2024-01-23 06:50 +0100
            Re: Resizing LVM partitions Andy Smith <andy@strugglers.net> - 2024-01-23 07:40 +0100
              Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-24 00:40 +0100
                Re: Resizing LVM partitions Greg Wooledge <greg@wooledge.org> - 2024-01-24 00:50 +0100
                Re: Resizing LVM partitions <tomas@tuxteam.de> - 2024-01-24 06:50 +0100
                Re: Resizing LVM partitions Greg Wooledge <greg@wooledge.org> - 2024-01-24 13:10 +0100
                Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-24 23:10 +0100
                Re: Resizing LVM partitions Greg Wooledge <greg@wooledge.org> - 2024-01-24 23:30 +0100
                Re: Resizing LVM partitions Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-25 15:20 +0100
                Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-26 13:40 +0100
                Re: Resizing LVM partitions Max Nikulin <manikulin@gmail.com> - 2024-01-24 03:30 +0100
                Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-24 23:20 +0100
                On the deprecation of separate /usr (Was: Re: Resizing LVM  partitions) Andy Smith <andy@strugglers.net> - 2024-01-24 23:30 +0100
                Re: Resizing LVM partitions Andy Smith <andy@strugglers.net> - 2024-01-24 13:10 +0100
        Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-22 23:20 +0100
          Re: Resizing LVM partitions Greg Wooledge <greg@wooledge.org> - 2024-01-22 23:30 +0100
            Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-24 00:40 +0100
    Re: Resizing LVM partitions Greg Wooledge <greg@wooledge.org> - 2024-01-22 17:10 +0100
      Re: Resizing LVM partitions <tomas@tuxteam.de> - 2024-01-22 19:10 +0100
        Re: Resizing LVM partitions Greg Wooledge <greg@wooledge.org> - 2024-01-22 19:50 +0100
        Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-24 00:40 +0100
      Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-24 00:40 +0100
    Re: Resizing LVM partitions Gremlin <scott-andrews@columbus.rr.com> - 2024-01-22 19:20 +0100
      Re: Resizing LVM partitions Greg Wooledge <greg@wooledge.org> - 2024-01-22 19:50 +0100
    Re: Resizing LVM partitions Miroslav Skoric <skoric@uns.ac.rs> - 2024-01-22 23:20 +0100

csiph-web