I've been asked to encrypt the filesystem of a live server without affecting the operations or data. I normally install Redhat with encrypted filesystem, so the "how" is not the problem. I want to know if it is even possible to encrypt the filesystem without shrinking the partition, making a new partition, encrypting it, copying everything over, deleting the old partition, and resizing the new partition to fill the drives.
You may be quicker by re-creating a new partition that fit target device and use another encryption for transfer:
Care about opened files, you've better to do this in single-user-mode (
Than after moving gpg crypted tarball to destination host, re-creating crypted partition and mounting them on
Doing so let you the ability of whipe file creation and use low-level network directly as:
Not possible using native tools. It may be possible to encrypt in-place using third-party tools, but I have no experience doing so on RHEL.