[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: root low space



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 <gmulas@oa-cagliari.inaf.it>
_________________________________________________________________

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)
_________________________________________________________________


Reply to: