Skip to content
This repository was archived by the owner on Feb 26, 2020. It is now read-only.
This repository was archived by the owner on Feb 26, 2020. It is now read-only.

Inodes disk are always full #163

@sielaq

Description

@sielaq

Thank you for an awesome idea - that project!

Context

  • svfs version : 0.9.1
  • storage provider : swift (Open Stack)

Steps to reproduce this issue :

mount -t svfs \
      -o mode=510 \
      -o attr \
      -o container=foo \
      swift \
      /var/spool/foo

# df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
swift             3000   3000       0  100% /var/spool/foo

Results you expected :

mount -t svfs \
      -o mode=510 \
      -o attr \
      -o container=foo \
      -o maxObjects=6000 \
      swift \
      /var/spool/foo

# df -i
Filesystem      Inodes  IUsed   IFree IUse% Mounted on
swift             6000   3000   3000  50% /var/spool/foo

Additional information :

It would be useful to have mount option about how many objects can be created.
So the inodes are not being shown as "always full" (100%).
Because a typical heath checks automatically detects that as a critical issue.

If there is any option for inodes steering kindly please point me to.

Could it be that some quota option on Swift is not set,
so the default max objects (max inodes) is a current number of objects created ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions