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


Groups > it.comp.os.linux.debian > #10652

Re: LVM2 e resize (shrink) della home

From ^Bart <gabriele1NOSPAM@hotmail.com>
Newsgroups it.comp.os.linux.debian
Subject Re: LVM2 e resize (shrink) della home
Date 2023-10-19 17:40 +0200
Organization A noiseless patient Spider
Message-ID <ugrill$e2aa$1@dont-email.me> (permalink)
References <ugr945$bggu$1@dont-email.me>

Show all headers | View raw


> # pvdisplay -v -m
> 
>    Physical extent 2444 to 7556:
>      Logical volume      /dev/SRVXXX-vg/home
>      Logical extents     0 to 5112

Sono riuscito a fare l'umount della /home collegandomi direttamente come 
root usando l'opzione -l (lazy), sono riuscito a ridurre la partizione 
di home, ho provato ad agganciare lo spazio libero alla /var ma il 
comando resize2fs verso la var mi dice "Couldn't find valid filesystem".

Paradossalmente la /home risulta ridotta da 19GB a 4GB (ho solo 
terminale quindi è occupata all'1%) e la /var pur avendo preso il 
comando lvextend -l +100%FREE /var_xxx_xxx non mi è stata estesa.

Saluti.
^Bart

Back to it.comp.os.linux.debian | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

LVM2 e resize (shrink) della home ^Bart <gabriele1NOSPAM@hotmail.com> - 2023-10-19 14:57 +0200
  Re: LVM2 e resize (shrink) della home ^Bart <gabriele1NOSPAM@hotmail.com> - 2023-10-19 17:40 +0200
    Re: LVM2 e resize (shrink) della home ^Bart <gabriele1NOSPAM@hotmail.com> - 2023-10-19 18:12 +0200
    Re: LVM2 e resize (shrink) della home ^Bart <gabriele1NOSPAM@hotmail.com> - 2023-10-19 18:12 +0200
      Re: LVM2 e resize (shrink) della home ^Bart <gabriele1NOSPAM@hotmail.com> - 2023-10-20 14:05 +0200

csiph-web