Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste ÜberarbeitungBeide Seiten der Revision | ||
content:serverbasics [2023/12/21 05:34] – [FACL: handle execute-bit with files and directories] Daniel | content:serverbasics [2024/04/20 10:00] – alte Version wiederhergestellt (2024/01/08 18:59) Daniel | ||
---|---|---|---|
Zeile 11: | Zeile 11: | ||
By default openSuSE will set some conservative mountoptions, | By default openSuSE will set some conservative mountoptions, | ||
- | ==== Raided EFIBOOT ==== | + | Basically i would recommend to use UEFI only in Bios and GPT- Partitiontable on at least two Harddrives. The Linux- Root- System AND the EFI- Partitions should be mirrored (raid1) for failsafe and mak it possible to have the system booting from ONE disk (which is not possible with raid5). |
- | There are some problems when raiding | + | The Data (like Home and program data) can have raid5 with 3 or more disks. |
+ | |||
+ | Always use LVM, as this has many benefits. On OpenSuSE btrfs is the best Filesystem if you disable Quotas on datapartitions. | ||
+ | |||
+ | ==== Raided EFI-BOOT ==== | ||
+ | |||
+ | Nowadays, UEFI is always the best choice to boot. UEFI- Boot is quite straight forward: You first take some device, make it gpt- partitioned, | ||
+ | |||
+ | Unfortunatelly, | ||
+ | |||
+ | Fortunatelly the designers of OSS software- raid were smarter: They found a way to work around that. | ||
+ | |||
+ | So I would suggest to use two disks both partioned with gpt and same sized efi-partitions and before creating the FAT32 filesystem do software raid on it. E.g.: | ||
< | < | ||
Zeile 21: | Zeile 33: | ||
The important part is metadata=1.0 - this format has especially designed to fit the needs of raid1 of fat/efi- systems. | The important part is metadata=1.0 - this format has especially designed to fit the needs of raid1 of fat/efi- systems. | ||
+ | |||
+ | You than install your Linux to that md- Device. If its not found in the beginning of the installation, | ||
==== LVM ==== | ==== LVM ==== | ||
Zeile 73: | Zeile 87: | ||
< | < | ||
- | # lvs -o+devices | + | # lvs -P -a -o +devices |
- | LV | + | LV VG |
- | | + | |
- | | + | [lvbackup_rimage_0] vgdata |
- | | + | [lvbackup_rimage_1] vgdata |
+ | | ||
+ | [lvbackup_rmeta_0] | ||
+ | [lvbackup_rmeta_1] | ||
+ | [lvbackup_rmeta_2] | ||
+ | lvdata | ||
+ | | ||
+ | [lvdata_rimage_1] | ||
+ | [lvdata_rimage_2] | ||
+ | [lvdata_rmeta_0] | ||
+ | [lvdata_rmeta_1] | ||
+ | [lvdata_rmeta_2] | ||
+ | lvdocker | ||
+ | [lvdocker_rimage_0] vgdata | ||
+ | [lvdocker_rimage_1] vgdata | ||
+ | [lvdocker_rimage_2] vgdata | ||
+ | [lvdocker_rmeta_0] | ||
+ | [lvdocker_rmeta_1] | ||
+ | [lvdocker_rmeta_2] | ||
+ | lvhome | ||
+ | [lvhome_rimage_0] | ||
+ | [lvhome_rimage_1] | ||
+ | [lvhome_rmeta_0] | ||
+ | [lvhome_rmeta_1] | ||
+ | lvroot | ||
+ | [lvroot_rimage_0] | ||
+ | [lvroot_rimage_1] | ||
+ | [lvroot_rmeta_0] | ||
+ | [lvroot_rmeta_1] | ||
</ | </ | ||
Zeile 348: | Zeile 390: | ||
That means you can only set the defaults per user or per group and only files or directories at once. | That means you can only set the defaults per user or per group and only files or directories at once. | ||
- | |||
=== FACL: use in batch and recursively === | === FACL: use in batch and recursively === | ||
Zeile 354: | Zeile 395: | ||
FACLs do also have good ways to be used for whole directories, | FACLs do also have good ways to be used for whole directories, | ||
- | '' | + | '' |
-R, –recursive Apply operations to all files and directories recursively. This option cannot be mixed with `–restore' | -R, –recursive Apply operations to all files and directories recursively. This option cannot be mixed with `–restore' | ||
Zeile 360: | Zeile 401: | ||
=== FACL: handle execute-bit with files and directories === | === FACL: handle execute-bit with files and directories === | ||
- | …it also allows for the use of the capital-x '' | + | …it also allows for the use of the capital-x '' |
so doing the following should work: | so doing the following should work: | ||
Zeile 371: | Zeile 412: | ||
'' | '' | ||
- | |||
==== Last words ==== | ==== Last words ==== |