Re: root low space

Francesco Pietra <[email protected]>
Newsgroups gmane.linux.debian.ports.amd64
Message-ID <CAEv0nmspN5Y=FKKcyGK6EGGDzGQT5qU8dp_LVT96K=H+N-wz7Q@mail.gmail.com>
Hi Giacomo:
On the link you provided:

 ext2

If you are using LVM 1 with ext2 as the file system then you can use the
e2fsadm command mentioned earlier to take care of both the file system and
volume resizing as follows:


# umount /home
# e2fsadm -L-1G /dev/myvg/homevol
# mount /home

no mention about ext3, which is the filesystem I use (ext2 only for boot).
In contrast. ext2/ext3 for expanding.

thanks
francesco


On Thu, May 22, 2014 at 5:37 PM, Giacomo Mulas
<[email protected]>wrote:

> On Thu, 22 May 2014, Francesco Pietra wrote:
>
>  Hi Robert;
>> Could you be so kind to provide - at your convenience - some detail on the
>> commands needed, or give a link? I imagine that umount and mount are
>> needed
>>
>
> You can find most of what you need here:
>
> http://tldp.org/HOWTO/LVM-HOWTO/commontask.html
>
> look at "reducing a logical volume" to see how to reduce some other volume
> (e.g.  home) to make some additional room for your root, then "extending a
> logical volume" to extend your root. Note that in most cases (e.g. unless
> you are using btrfs which must be resized while mounted) filesystems must
> be
> unmounted to be resized. This means that you will have to boot your
> computer
> from a some live media, so that you can operate on the root filesystem. For
> this kind of tasks I used to use parted magic, booting from a usb stick. I
> see that it has become a commercial product now, so I guess you can use any
> functional live linux distro which includes lvm and resize2fs. However,
> since it's cheap (5 US$) you may still want to try parted magic and keep it
> around as a convenient toolchest for offline maintenance of disks,
> partitions, arrays etc.
>
>
> Ciao
> Giacomo
>
> --
> _________________________________________________________________
>
> Giacomo Mulas <[email protected]>
> _________________________________________________________________
>
> INAF - Osservatorio Astronomico di Cagliari
> via della scienza 5 - 09047 Selargius (CA)
>
> tel.   +39 070 71180244
> mob. : +39 329 6603810
> _________________________________________________________________
>
> "When the storms are raging around you, stay right where you are"
>                          (Freddy Mercury)
> _________________________________________________________________
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.