Gentoo Archives: gentoo-user

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Resize /
Date: Fri, 17 Nov 2006 07:13:01
Message-Id: 200611170801.25658.ext-dirk.heinrichs@nokia.com
In Reply to: Re: [gentoo-user] Resize / by jakommo
1 Am Donnerstag, 16. November 2006 22:56 schrieb ext jakommo:
2
3 > I think I try that, but I wait for a moment where it doesn't metter if
4 > something goes wrong.
5
6 There's always "telinit 1".
7
8 You mentioned it's a RAID 5, and I think Neil also asked wether you're using
9 LVM. If not, you should consider using it (or EVMS, which I prefer), so
10 that you don't run into these troubles again in the future.
11
12 You may hear different opinions about that, but you should also consider
13 splitting your disks into several partitions (or better: logical volumes)
14 anyway. You'd gain great flexibility, i.e. in that you can select different
15 filesystems for different purposes, resize as you need, don't wait long
16 time for fs checks/repairs, etc.
17
18 Here's my layout, as an example:
19
20 hda1: /boot, 64M, ext2 (64M is way too large).
21 hda2: LVM
22
23 Then, I have logical volumes for everything else, managed with EVMS:
24
25 # df -h
26 Filesystem Size Used Avail Use% Mounted on
27 /dev/evms/root 256M 109M 148M 43% /
28 /dev/evms/usr 5.0G 3.9G 1.2G 77% /usr
29 /dev/evms/opt 2.0G 260M 1.8G 13% /opt
30 /dev/evms/var 2.0G 1.1G 1006M 51% /var
31 /dev/evms/build 3.3G 95M 3.2G 3% /gentoo/build
32 /dev/evms/distfiles 2.0G 1.7G 356M 83% /gentoo/distfiles
33 /dev/evms/portage 512M 241M 272M 48% /gentoo/portage
34
35 BTW: I never needed to resize /. Sometimes I need to grow /usr, but since I
36 chose reiserfs for it, it can be done while mounted.
37
38 HTH...
39
40 Dirk
41 --
42 Dirk Heinrichs | Tel: +49 (0)162 234 3408
43 Configuration Manager | Fax: +49 (0)211 47068 111
44 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
45 Hambornerstraße 55 | Web: http://www.capgemini.com
46 D-40472 Düsseldorf | ICQ#: 110037733
47 GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Replies

Subject Author
[gentoo-user] Re: Resize / Alexander Skwar <listen@×××××××××××××××.name>