• Resetting drive assignments of encrypted drives renders them unmountable


    ezhik
    • Minor

    Hey Team,

     

    Recently had to go through an exercise of downsizing the cache array on an encrypted array (and encrypted cache array).

     

    Only way to do so was via:

     

    1. Tools -> New Config -> Preserve current assignments [Array slots].

    2. wipefs -a /dev/sd[y-z] # (clear filesystem from cache drives)

    3. assign cache drives

    4. Mark 'parity is already valid'

    5. Start array

    6. encounter unmountable drives 

    --

    The array was hosed at this point, can someone confirm this for me? have rebooted the server and re-created the array since data on it wasn't important, still pretty disappointing. The error was the partitions were not recognized.




    User Feedback

    Recommended Comments

    That's not normal and should never happen, new config by itself doesn't touch the drives, encrypted or not, but without the diagnostics can't really say what it could be.

    Link to comment

    I could re-produce this at the cost of losing data on the array, I'll do  a re-pro and post diagnostics. 

    Link to comment

    I just did without any issues, on v6.9.2, but yeah, post the diags, might be something visible there.

     

    Link to comment
    12 minutes ago, JorgeB said:

    I just did without any issues, on v6.9.2, but yeah, post the diags, might be something visible there.

     

     

    Interesting, I just re-did as well and it worked as intended... I did notice that there was a difference on the space required for the filesystem and this went down from 72GB to 69GB on a 10TB drive, wonder if this was the issue...

    Link to comment
    3 hours ago, JorgeB said:

    Unlikely

    If the partition table was improperly setup to begin with, this could very well be an issue though - am I wrong? 

    Link to comment

    Also noticed that when you reset drive assignments, your settings get reset as well - I think that's wrong:

     

    The following settings get reset:

     

    Global disk settings
    [Disk Settings]
    - Enable auto start
    - Default file system
    - Shutdown time-out
    - Tunable (nr_requests)
    - Tunable (md_write_methods)

    [Global SMART Settings]
    - Default SMART notification value
     

     

    Link to comment
    14 minutes ago, ezhik said:

    The following settings get reset:

    Yeah, that's normal, but yeah, I would also prefer if they didn't reset.

    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.