jeltsch's blog

Copying with rsync

rsync --progress --recursive source target
To resume a previously interrupted copy:
rsync --progress --recursive --ignore-existing source target

 
Please note that rsync source/ target and rsync source target do produce different results!

The trailing slash at the end of the source directory causes rsync to copy the contents of the source directory into the target directory. Without the trailing slash, the target directory will contain one directory that is identical to the source directory.

Mounting lvm2 manually

All commands as sudo:
vgscan (--mknodes)
vgchange -ay (volumegroupname)
(lvdisplay or lvs or ls -l /dev/volumegroupname/)
mkdir -vp $PATH/{home,root} (to make a moint point)
mount /dev/volumegroupname/home $PATH/home
mount /dev/volumegroupname/root $PATH/root
(ls -al $PATH/home)

cubbli18

Pages