How to get raid mounted with option acl ?

How to get raid mounted with option acl ?

Postby toravh » Mon Feb 26, 2018 8:16 pm

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)
toravh
Donator VIP
Donator VIP
 
Posts: 2
Joined: Sat May 21, 2016 11:28 pm

Re: How to get raid mounted with option acl ?

Postby Jocko » Mon Feb 26, 2018 8:37 pm

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.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: How to get raid mounted with option acl ?

Postby toravh » Mon Feb 26, 2018 8:51 pm

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
toravh
Donator VIP
Donator VIP
 
Posts: 2
Joined: Sat May 21, 2016 11:28 pm

Re: How to get raid mounted with option acl ?

Postby Jocko » Mon Feb 26, 2018 9:11 pm

Yes it is that
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 10 guests