Page 1 of 1

How to get raid mounted with option acl ?

PostPosted: Mon Feb 26, 2018 8:16 pm
by toravh
I have a 5big2 NAS with 3 disks of 4TB (WD40EFRX) in raid5 as /dev/md0

Is it possible to get the NAS mount the raid with mount option acl ?


From the mount command (via ssh) you can see what options /dev/md0 is mounted with now:

/dev/md0 on /share/1100 type ext4 (rw,noatime,nodelalloc,stripe=256,data=ordered)

Re: How to get raid mounted with option acl ?

PostPosted: Mon Feb 26, 2018 8:37 pm
by Jocko
Hi toravh,

I think it is already the case. Here the used command
Code: Select all
/bin/mount -o  user_xattr,acl,noatime,nodelalloc
So with acl option.

You can confirm that with
Code: Select all
tune2fs -l /dev/md0
tune2fs 1.43.4 (31-Jan-2017)
Filesystem volume name:   RAID5
Last mounted on:          /share/1100
...
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent sparse_super large_file uninit_bg
Filesystem flags:         unsigned_directory_hash
Default mount options:    user_xattr acl
...

So as acl is a default mount option,you does not see it on mount output command.

Re: How to get raid mounted with option acl ?

PostPosted: Mon Feb 26, 2018 8:51 pm
by toravh
Hi, Jocko!

Ok. So acl are default mount option, but I will not see it with mount output command ?


Here is some of my output from tune2fs -l /dev/md0 :

root@backupNAS:/ # tune2fs -l /dev/md0
tune2fs 1.43.4 (31-Jan-2017)
Filesystem volume name: backup
Last mounted on: /share/1100
Filesystem UUID: 1f819fa1-00ab-4fb6-8390-403fac638316
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
Filesystem flags: unsigned_directory_hash
Default mount options: user_xattr acl
....

If that's the case, then no problem :lol: Thanks for answer!

Tor Arne

Re: How to get raid mounted with option acl ?

PostPosted: Mon Feb 26, 2018 9:11 pm
by Jocko
Yes it is that