Guest User

Untitled

a guest
Oct 20th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. Kernel check
  2.  
  3. # cd /boot
  4. # grep _ACL config-`uname -r` | grep XFS
  5. CONFIG_XFS_POSIX_ACL=y
  6.  
  7. So - kernel seems to have it.
  8.  
  9. Check for get/setfacl:
  10.  
  11. # aptitude search acl | grep " acl "
  12. i acl - Access control list utilities
  13.  
  14. Good - acl installed (as is libacl1).
  15.  
  16. Have a mount point I'm not using right now:
  17.  
  18. # grep transfer /etc/fstab
  19. /dev/vg0/transfer /transfer xfs defaults 0 0
  20.  
  21. So - it's an lvm logical volume in the vg0 volume group.
  22.  
  23. Check it's current mount
  24.  
  25. # mount | grep transfer
  26. /dev/mapper/vg0-transfer on /transfer type xfs (rw)
  27.  
  28. Unmount it:
  29.  
  30. # umount /transfer
  31.  
  32. then change fstab:
  33.  
  34. /dev/vg0/transfer /transfer xfs acl,defaults 0 0
  35.  
  36. Try to mount it
  37.  
  38. # mount /transfer
  39.  
  40. Fails:
  41.  
  42. mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg0-transfer,
  43. missing codepage or helper program, or other error
  44. In some cases useful info is found in syslog - try
  45. dmesg | tail or so
  46.  
  47. dmesg:
  48.  
  49. [15075807.670164] XFS: unknown mount option [acl].
  50.  
  51.  
  52. Am suspecting that since the kernel is built with the config for XFS ACL that this could be LVM related.
  53.  
  54. But it's too late to go digging right now. Hints welcome.
Add Comment
Please, Sign In to add comment