Error when converting HOME directory to encryption

Using SUSE 11, I’m trying to change my existing login user id HOME directory to use encryption. I use YAST to do this, just by clicking the ENCRYPTION box inside the USER AND GROUP MANAGER tool.

I receive this error message – “Not enough disk space left to copy existing data”.

Which file system do I need to add space to?

Here are the filesystem existing sizes –

Filesystem: / Size: 6g Used: 3g
Filesystem: /home Size: 1.8g Used: 65m

I am refugee to SUSE from Ubuntu, so my apology if this is a newbie question.
Thank you for your help.

I do not quite understand your version specification. At this moment the supported version of openSUSE are 11.4 1nd 11.3. When you say SUSE 11, you might mean SLES or SLED version 11. In that case this is not the correct forum, but SUSE PRODUCT DISCUSSION FORUMS

On 06/19/2011 09:36 AM, benali72 wrote:
>
> Using SUSE 11, I’m trying to change my existing login user id HOME
> directory to use encryption. I use YAST to do this, just by clicking
> the ENCRYPTION box inside the USER AND GROUP MANAGER tool.
>
> I receive this error message – “Not enough disk space left to copy
> existing data”.
>
> Which file system do I need to add space to?
>
> Here are the filesystem existing sizes –
>
> Filesystem: / Size: 6g Used: 3g
> Filesystem: /home Size: 1.8g Used: 65m
>
> I am refugee to SUSE from Ubuntu, so my apology if this is a newbie
> question.
> Thank you for your help.
>
>

two things: 1) i’ve not done this/and i don’t really know how the
process of partition encryption is handled in openSUSE so i’m guessing
and 2) like hcvv i ask you to tell us exactly what version of what
operating system you are using…if SUSE Linux Enterprise Desktop 11 you
really need to ask over at forums.novell.com, BUT you do know that the
commercial version give you 90 (or 50?) days to decide if you want to
use it without future security updates and patches or if you what to
purchase future updates/etc…

so, if the encryption process begins by the entire partition to be
encrypted is placed into /tmp or /var/tmp and then the encryption take
place by reading from the temp file and writing a new, encrypted file in
another temporary file, and if the entire partition (including the
empty spots) are encrypted you can see that at some point before the
finished encrypted is laid over the old /home…well at some point then
twice the 1.8 will be needed (1.8 original and 1.8 encrypted), which is
3.6 and your /root only has room for 3.0…

so, if you began with such a small area for openSUSE, you might wanna
rethink that…

by the way, if you are sharing /home between both Ubuntu and openSUSE
i’d expect problems…


dd
http://is.gd/bpoMD

Thank you for your help.

I’m using non-commercial openSUSE 11.4 (as freely downloaded from here – software.opensuse.org: Download openSUSE 11.4). I’m not sharing /home with any other operating system.

I was able to work around the problem simply by adding a new user id that was encrypted from the get-go, as I checked the encryption box when creating it in the USER AND GROUP ADMINISTRATION panel.

I’ll just use this new user id with its encrypted /home directory and drop the old user id that did not have encryption.

Thanks again.

Nice you found a solution.

You are welcome next time you want to ask or have a problem, but never forget that you should be precise in your descriptions (thus do not write SUSE when it should be oenSUSE :wink: ). Also when you have any information you got from your system by typing a command, do post it here completely (with the command included) by copy/pasting it into your post and between CODE tags (as described here: Posting in Code Tags - A Guide ) and not in the way you did in your first post here with those percentages. Else valuable information will be lost (and/or your computer text will be near unreadable).

Also a user thus not have a* /home* directory. (S)he will have her/his home directory with the* /home* directory. And it is something completely different if (only) a users home directory is encrypted or if the complete /home file system (when /home has it’s own partition) is encrypted.