Gentoo Archives: gentoo-user-fr

From: oLaFKeWL <olafkewl@×××××××××××.fr>
To: gentoo-user-fr@l.g.o
Subject: Re: [gentoo-user-fr] [Fstab] Swap sur un autre DD
Date: Mon, 29 Nov 2004 18:03:44
Message-Id: 41AB6485.3010802@libertysurf.fr
In Reply to: [gentoo-user-fr] [Fstab] Swap sur un autre DD by grillot sebastien
1 grillot sebastien wrote:
2
3 > Bonjour à vous, j'espere que votre journée à été agréable !
4 >
5 > Ce matin j'ai lu que pour "optimiser" un peu plus sa distrib on
6 > pouvait, si on avait un deuxieme disque dur, mettre la partition de
7 > swap decu. Ca m'interresse ;)
8 >
9 > voila le fstab de ce "serveur"
10 >
11 >> alfred htdocs # cat /etc/fstab
12 >> # /etc/fstab: static file system information.
13 >> # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14
14 >> 2003/10/13 20:03:38 azarah Exp $
15 >> #
16 >> # noatime turns off atimes for increased performance (atimes normally
17 >> aren't
18 >> # needed; notail increases performance of ReiserFS (at the expense of
19 >> storage
20 >> # efficiency). It's safe to drop the noatime options if you want and to
21 >> # switch between notail and tail freely.
22 >>
23 >> # <fs> <mountpoint> <type>
24 >> <opts> <dump/pass>
25 >>
26 >> /dev/hda1 /boot ext2
27 >> noauto,noatime 1 2
28 >> /dev/hda2 none swap
29 >> sw 0 0
30 >> /dev/hda3 / ext3
31 >> noatime 0 1
32 >>
33 >> #montage de home sur hdb
34 >> /dev/hdb1 /home ext3
35 >> noatime 0 0
36 >>
37 >> none /proc proc
38 >> defaults 0 0
39 >> none /dev/shm tmpfs
40 >> defaults 0 0
41 >>
42 >> /dev/cdrom/cdrom0 /mnt/cdrom auto
43 >> noauto,user 0 0
44 >
45 >
46 > Comme vous pouvez le voir mon home est deja sur ce deuxieme disque.
47 >
48 > Si je me tourne vers vous c'est que j'ignore la demarche a respecter
49 > et comme je ne veux pas tout casser !
50 >
51 > Merci à vous ;)
52
53 boot le systeme (en single user, mais c'est pas obligatoire), swapoff
54 (ca desactive le swap) apres tu crees le nouvel espace de swap sur le
55 2nd disque, tu modifies de fstab et swapon (pour re activer le swap)
56
57 --
58 gentoo-user-fr@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-fr] [Fstab] Swap sur un autre DD grillot sebastien <sebastiengrillot@×××××××.fr>