1 |
----- Original Message ---- |
2 |
|
3 |
> From: Paul Hartman <paul.hartman+gentoo@×××××.com> |
4 |
> To: gentoo-user@l.g.o |
5 |
> Some topics I'm thinking about (comments welcome): |
6 |
> - be aware of cylinder boundaries when partitioning (thanks to the |
7 |
> recent thread) |
8 |
> - utilizing device labels and/or volume labels instead of hoping |
9 |
> /dev/sda stays /dev/sda always |
10 |
|
11 |
I've never had an issue with /dev/sda changing, but I don't change out hard drives a lot either. |
12 |
If you're doing hot-pluggable systems may be. But it typically does the right thing. |
13 |
|
14 |
I haven't gotten around to do doing it yet, but one thing I did think about was setting up udev to recognize certain external hard drives for use - e.g. always mapping a backup hard drive to a certain location for backups instead of the normal prompting. |
15 |
|
16 |
> - initrd - I've never used one, but maybe it's needed if root is on |
17 |
> software RAID? |
18 |
|
19 |
You only need initrd if you can't build a kernel with everything needed to boot up - namely, when you need to load specialized firmware to access the hard drive or if you are doing net-booting. |
20 |
|
21 |
> - grub/kernel parameter tips and tricks... i'm already using uvesafb, |
22 |
> and don't dual-boot with MSWin or anything, just Gentoo |
23 |
|
24 |
I typically make sure to alias or map a "default" that should always work. It's my standard boot up unless I"m testing out a new kernel build. |
25 |
When I do an update, I add the update to the list without modifying the default until I've verified that the updated kernel is working. |
26 |
Works better under LILO than grub if I recall. |
27 |
|
28 |
> - better partitioning scheme than my current root, boot, home (need |
29 |
> portage on its own, maybe /var as well?) |
30 |
|
31 |
I have taken to putting portage on its own partition to keep from filling up the root partition, which I've done on a few systems more than once. |
32 |
So yes, definately +5. |
33 |
|
34 |
> - best filesystem for portage? something compressed or with small |
35 |
> cluster size maybe. |
36 |
|
37 |
1. Stay away from reiserfs. Yeah, I know there's a big fan base for it; but it's not so big in the recovery distro area. |
38 |
2. Ext2/3 are now more than sufficient and supported out-of-the-box by nearly all recovery distros. I haven't tried Ext4 yet, but it seems very able as well. |
39 |
|
40 |
From various things I've seen, XFS or JFS is about the only real FS to offer benefits where it kind of makes sense. |
41 |
But for the most part, Ext2/3/4 will probably more than suffice for most everyone's need; and when it doesn't - you're typically doing something where you need to find the right one out of numerous for a specialized area of use, in which case, general recommendations don't cut it. |
42 |
|
43 |
(Why care about recovery disks: B/c you never know when you're going to need to access that partition.) |
44 |
|
45 |
> - SSD vs 10000rpm vs big-and-cheap hard drive for rootfs/system files. |
46 |
> I lean toward the latter since RAM caches it anyway. |
47 |
|
48 |
I lean towards just going the standard 10k hard drives with lots of cache; though I typically only buy the middle-line Western Digitals (upper-line being the server hard drives). |
49 |
|
50 |
> - omit/reduce number of reserved-for-root blocks on partitions where |
51 |
> it's not necessary. |
52 |
> - I have never used LVM and don't really know about it. Should I use |
53 |
> it? will it make life easier someday? or more difficult? |
54 |
|
55 |
I tried out LVM (LVM2) thinking it would kind of make sense. I still have one system using it; but I ended up abandoning it. |
56 |
Why? Recovery is a pita when something goes wrong. Not to say it isn't flexible, but for most people LVM is unnecessary, kind of like RAID. |
57 |
|
58 |
> - Is RAID5 still a good balance for disk cost vs usable space vs data |
59 |
> safety? I can't/don't want to pay for full mirroring of all disks. |
60 |
|
61 |
RAID is not really necessary for most people. Save it for sections on doing backups - e.g. setting up a drive to backup to that gets mirrored off - or server support, where RAID is necessary. |
62 |
But most users don't need RAID. |
63 |
|
64 |
> Or any other tips that apply to things which are difficult to change |
65 |
> once the system is in use. |
66 |
|
67 |
KISS. |
68 |
|
69 |
Ben |