Probably the closest that could be achieved like this would be to set the ldiskfs reserved space on the OSTs like:
tune2fs -m 10 /dev/sdX That sets the root reserved space to 10% of the filesystem, and non-root users wouldn't be able to allocate blocks once the filesystem hits 90% full. This doesn't reserve specific blocks, just a percentage of the total capacity, so it should avoid fragmentation from the filesystem getting too full. Cheers, Andreas > On Jul 20, 2023, at 08:11, Sebastian Oeste via lustre-discuss > <[email protected]> wrote: > > Hi there, > > we operate multiple lustre file systems at our side and wondering if it is > possible to have a file system global quota in lustre? > For example, that only 90 percent of the file system can be used. The Idea is > to avoid situations where a file system is 99% full. > I was looking through mount options and lfs-quota but there just quota for > users, groups or projects. > I there a way to achieve something like that? > > Thanks, > sebastian > -- > Sebastian Oeste, M.Sc. > Computer Scientist > > Technische Universität Dresden > Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH) > Tel. +49 (0)351 463-32405 > E-Mail: [email protected] > _______________________________________________ > lustre-discuss mailing list > [email protected] > http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org _______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
