Re: root low space
Giacomo Mulas <[email protected]>
| Newsgroups | gmane.linux.debian.ports.amd64 |
|---|---|
| Message-ID | <alpine.DEB.2.10.1405221921580.13627@capitanata.oa-cagliari.inaf.it> |
On Thu, 22 May 2014, Francesco Pietra wrote: > no mention about ext3, which is the filesystem I use (ext2 only for boot). you should use the lines below, where it says "if you prefer to do this manually...", it applies also to ext3. Do have a look at the manpages for resize2fs and lvreduce, to find out the appropriate command line options for your case. Very generally, when you want to reduce a volume you first reduce the filesystem, then reduce the volume; when you want to enlarge it, you first enlarge the lvm volume, then you can expand the filesystem. The tools that you use for shrinking/expanding the filesystem depend on the filesystem, and are different for ext2/3/4, reiser, xfs... but you can usually look them up easily on google. In your case, since you need to boot off a live distro, make sure the live distro has all the tools you need installed and working, which for you are resize2fs, lvreduce and lvextend. 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) _________________________________________________________________