Results 1 to 3 of 3

Thread: Can't resize encrypted home directory

  1. #1

    Default Can't resize encrypted home directory

    When I open up Yast, users -> edit user -> I have a checkbox checked on "Use encrypted home directory" and next to it is the size. If I change the size, I get an error that the device (dev/mapper/_janne.img or something like that) is busy and cannot be resized.

    But after this the yast shows the new size in the edit user dialog. But df shows that the encrypted filesystem is still the old size.

    I then created a new user, logged in with that user and tried to resize the other users home directory again through Yast. I got the exact same error message.

    How can I resize the encrypted home folder of a single user.

    I tried unmountin the /home/janne (where janne is again my username), but when that succeeds, Yast refuses to start.



    Thanks,
    janne

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,161

    Default Re: Can't resize encrypted home directory

    I am not fluent with this situation, but t seems logical to me that you can not change as long as you are inside it. Thus you must be loged out as janne when you want to change there. Thus either use YaST from another user, or go to the console (Ctrl-Alt-F1, log in there as root and call
    Code:
    yast
    from there. It will give you the ncusres interface (use Tab and Return keys and/or Alt-<bold-character> to work there).
    Maybe this helps.
    Henk van Velden

  3. #3
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Can't resize encrypted home directory

    On 2012-09-14 08:06, vertti wrote:
    >
    > I then created a new user, logged in with that user and tried to resize
    > the other users home directory again through Yast. I got the exact same
    > error message.


    I understand that you try to resize user A home when logged as user B, is that it? Try this
    after booting.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •