Bug 1398098 - [GSS]min-free-disk is not giving "no space left on the device" error on crossing min-free-disk value in all bricks
Summary: [GSS]min-free-disk is not giving "no space left on the device" error on cross...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: distribute
Version: rhgs-3.1
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: Nithya Balachandran
QA Contact: Prasad Desala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-24 06:43 UTC by Riyas Abdulrasak
Modified: 2021-12-10 14:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-24 14:14:01 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Riyas Abdulrasak 2016-11-24 06:43:32 UTC
Description of problem:

min-free-disk is not giving "no space left on the device" error on crossing min-free-disk value in all bricks

Version-Release number of selected component (if applicable):

RHGS 3.1.3

How reproducible:

Always

Steps to Reproduce:

1. create a distributed volume
2. Keep min free disk defualt / set it with a different value
3. Try to fill up the volume. Even if the min-free-disk value is crossed, Not getting the no space left on the device error or any warning on the console. 

Actual results:

Even if the min-free-disk value is crossed, Not getting the no space left on the device error or any warning on the console. 


Expected results:

min-free-disk should prevent the bricks from filling up to 100%


Additional info:

Comment 2 Nithya Balachandran 2016-11-24 08:58:46 UTC
This is behaving as expected - nowhere do we state that min-free-disk will return enospc. The min-free-disk setting does not restrict creates or writes, it just tries to keep that much of the disk free.

I am closing this BZ as notabug.

If there are issues with disks filling up, please file a separate bug with more details.

Comment 3 Nithya Balachandran 2016-11-24 10:08:21 UTC
To add to this:

        { .key  = {"min-free-disk"},
          .type = GF_OPTION_TYPE_PERCENT_OR_SIZET,
          .default_value = "10%",
          .description = "Percentage/Size of disk space, after which the "
          "process starts balancing out the cluster, and logs will appear "
          "in log files",
        },

Comment 4 Riyas Abdulrasak 2016-11-24 10:46:57 UTC
(In reply to Nithya Balachandran from comment #3)
> To add to this:
> 
>         { .key  = {"min-free-disk"},
>           .type = GF_OPTION_TYPE_PERCENT_OR_SIZET,
>           .default_value = "10%",
>           .description = "Percentage/Size of disk space, after which the "
>           "process starts balancing out the cluster, and logs will appear "
>           "in log files",
>         },

Hi Nithya, 

Thanks for your comments. Will it be possible to display the warning message in the console? Just like quota warning messages

Regards
Riyas

Comment 5 Nithya Balachandran 2016-11-24 14:14:01 UTC
We can send an event. However, this BZ as such is not valid as this is not the expected min-free-disk behaviour which is why I closed it.

Please file a different BZ for the space issue.


Note You need to log in before you can comment on or make changes to this bug.