# IOsetup error, aio-max-nr, ERROR: root: ... did not pass validation tests, it may not be on XFS and/or has limited disk space

**URL:** <https://forum.scylladb.com/t/iosetup-error-aio-max-nr-error-root-did-not-pass-validation-tests-it-may-not-be-on-xfs-and-or-has-limited-disk-space/4319>\
**Category:** ScyllaDB\
**Tags:** error-message, administration, configuration, aio-max-nr\
**Created:** [January 1, 2025, 5:55am UTC](https://forum.scylladb.com/t/iosetup-error-aio-max-nr-error-root-did-not-pass-validation-tests-it-may-not-be-on-xfs-and-or-has-limited-disk-space/4319 "2025-01-01T05:55:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/guy/32/9_2.png) [@Guy](https://forum.scylladb.com/u/Guy)\
**Post date:** [January 1, 2025, 5:55am UTC](https://forum.scylladb.com/t/iosetup-error-aio-max-nr-error-root-did-not-pass-validation-tests-it-may-not-be-on-xfs-and-or-has-limited-disk-space/4319/1 "2025-01-01T05:55:41Z")

</div>

> [@](#):
>
> [**Originally from the User Slack**](https://scylladb-users.slack.com/)
> 
> ![Keith_Mciff](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/3/334d73628f355b3c16643383092399c6a7853fc1.png) **@Keith\_Mciff:** Hey folks. I am trying to run iosetup and I get this error
> 
> ```auto
> ERROR:root:['/data/data', '/data/commitlog', '/data/hints', '/data/view_hints'] did not pass validation tests, it may not be on XFS and/or has limited disk space.
> 
> ```
> 
> and if but the directories are there and I even used chmod 777 to see if it was some kind of permissions issue
> 
> ```auto
> [user@XXX ~]$ ls -ltr /data
> total 0
> drwxrwxrwx. 2 tmdba dba 6 Dec 17 22:25 commitlog
> drwxrwxrwx. 2 tmdba dba 6 Dec 17 22:25 data
> drwxrwxrwx. 2 tmdba dba 6 Dec 17 22:25 saved_caches
> drwxrwxrwx. 2 tmdba dba 6 Dec 17 22:25 hints
> drwxrwxrwx. 2 tmdba dba 6 Dec 17 22:25 view_hints
> 
> ```
> 
> Any suggestions where I can check next for the problem?
> 
> ![Jethro](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/9/96f1a5c3bcccb6d7f406da70f61cd77f6fdb3a7a.jpeg) **@Jethro:** What is the output of the following commands;
> 
> `mount | grep '/data'`  
> and:  
> `df -h /data`
> 
> ![Keith_Mciff](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/3/334d73628f355b3c16643383092399c6a7853fc1.png) **@Keith\_Mciff:**
> 
> ```auto
> XXXX] mount | grep '/data'
> /dev/nvme1n1 on /data type xfs (rw,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota)
> 
> ```
> 
> ```auto
> XXX~]$ df -h /data
> Filesystem Size Used Avail Use% Mounted on
> /dev/nvme1n1 3.5T 25G 3.4T 1% /data
> 
> ```
> 
> ![Jethro](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/9/96f1a5c3bcccb6d7f406da70f61cd77f6fdb3a7a.jpeg) **@Jethro:** hmm thats look good to me. And  
> `ls -lah / | grep data` just to check if `/data` has the correct user/group?
> 
> ![Keith_Mciff](https://us1.discourse-cdn.com/flex016/uploads/scylladb/original/2X/3/334d73628f355b3c16643383092399c6a7853fc1.png) **@Keith\_Mciff:** yeah. we were able to solve the issue with `sudo sysctl -w fs.aio-max-nr=1048576`  
> It’s not a very good error message but after lots of google we found something on seastar with that error and solution
