Partman Recipes
From Wikitech
(Difference between revisions)
Bhartshorne (Talk | contribs) (→Partitioning Schemes) |
LeslieCarr (Talk | contribs) |
||
| Line 55: | Line 55: | ||
* Use ext3 for / | * Use ext3 for / | ||
* Use xfs for /a | * Use xfs for /a | ||
| + | |||
| + | == Partman Profiles == | ||
| + | == Different Partman profiles and what they do == | ||
| + | |||
| + | * raid1-1T-1partition.cfg | ||
| + | 2 disk system, each drive is 1 terabyte, 1 main raid1 partition, 2 swap partitions (one on each disk) | ||
| + | |||
| + | * mw.cfg | ||
| + | 1 disk system, 8gig swap, 50gig /tmp, rest / | ||
Revision as of 22:48, 25 October 2011
This page lists partitioning schemes we use, want to use, have partman recipes for, where they're used, etc.
Contents |
Partitioning Schemes
Small root, large /a with LVM
Partition layout:
- 10-40G for /
- 8G for swap
- the rest for /a with LVM
This layout is used on:
- databases
Variants:
- in hosts with 1 disk
- no change.
- in hosts with 2 disks
- make / software RAID1
- put a swap partition on both disks
- make /a software RAID1, load LVM on top of that
- in hosts with more than 2 disks (12, 48, etc.) and hardware RAID
- configure all the disks in one RAID10 array
- configure as with 1 disk
Large root, separate /tmp
Partition layout:
- 70% of the disk for /
- 8G swap
- 20% for /tmp
This layout is used on:
- mw hosts
Variants:
Large root, nothing else
Partition layout:
- 99% of the disk for /
- 8G swap
This layout is used on:
- msfe hosts
Variants:
- on hosts with 2 1T disks
- RAID1 on /
- one 4G swap partition on each disk
Small root, remaining raw disks
Partition layout:
- 10-40G for /
- 8G swap
- everything else raw disks mounted in /mnt
This layout is used on:
- swift storage bricks
Variants:
- on ES hosts (12 disks, hardware RAID)
- 2 disks RAID1 for /
- 10 disks with 1 partition each formatted xfs mounted in /mnt/
Filesystems
- Use ext3 for /
- Use xfs for /a
Partman Profiles
Different Partman profiles and what they do
- raid1-1T-1partition.cfg
2 disk system, each drive is 1 terabyte, 1 main raid1 partition, 2 swap partitions (one on each disk)
- mw.cfg
1 disk system, 8gig swap, 50gig /tmp, rest /