In my case, described above, in order to be able to use # partclone.ext3 -c -d -s /dev/mapper/vg1-root -o /home/francesco/vg1-root.img
how to first umount vg1-root? I was unable to do that correctly, so that partclone failed because device (/dev/map//vg1-root) is mounted at / thanks francesco (and sorry for such a low-level query) On Thu, May 22, 2014 at 7:30 PM, Giacomo Mulas <gmu...@oa-cagliari.inaf.it>wrote: > 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 <gmu...@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) > _________________________________________________________________ >