chore: improved folder structure

This commit is contained in:
Michele Cereda
2023-09-18 00:37:48 +02:00
parent bcd597f9ea
commit 66428e7670
5 changed files with 154 additions and 77 deletions

View File

@@ -4,6 +4,7 @@
1. [Hardware](#hardware)
1. [Software](#software)
1. [Folder structure](#folder-structure)
1. [Further readings](#further-readings)
1. [Sources](#sources)
@@ -28,11 +29,25 @@
| OS file system | Default (ext4) | |
| Data file system | ZFS | See [ZFS on OpenMediaVault](../openmediavault.md#zfs) |
ZFS datasets used as shared folders shall have the following properties:
The ZFS pool and datasets used as shared folders shall have the following properties:
- `aclinherit:restricted`;
- `aclmode:groupmask`;
- `acltype:posix` + `xattr:sa` until `nfsv4` is supported on Linux.
## Folder structure
```sh
/tank/ <-- pool
├── shared/ <-- shared datasets root, 'nobody:users', 'rwsrwsr-x' + 'd:u::rwX,g::rwX,o::rX'
│ ├── media/
│ └── oam/
└── user/ <-- private datasets root, 'user:user', 'rwsr-s---' + 'd:u::rwX,g::rX,o::-'
├── archive/
├── docs/
├── oam/
└── work/
```
## Further readings
- [OpenMediaVault]