Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mounting Question...
Date: Sat, 22 Dec 2007 14:52:11
Message-Id: 200712221544.39805.dirk.heinrichs@online.de
In Reply to: Re: [gentoo-user] Mounting Question... by "Benjamen R. Meyer"
1 Am Donnerstag, 20. Dezember 2007 schrieb Benjamen R. Meyer:
2
3 > I don't like using NFS much...guess I'll have to change that as I would
4 > like to centralize my server as a one-stop shop for usernames and
5 > passwords for the few systems on my network - server, desktop, and a
6 > laptop at present, but there will also be a few others shortly too. The
7 > laptop runs Windows 2k, so it'll just auth against Samba...any how...to
8 > get back to this issue...
9
10 Did you think about using OpenAFS?
11
12 > I haven't played with LVM yet. It's been something that's intrigued me,
13 > but I haven't ever researched it much to play with it. What you guys
14 > propose above and in this thread is quite interesting, so I'll follow up
15 > with this question:
16 >
17 > Right now I have the server configured per drives as follows:
18 >
19 > /dev/hda1       /                3.8 GB           4096.19 MB
20 > /dev/hda2       /home           15.0 GB          15356.60 MB
21 > /dev/hda3       SWAP             2.6 GB           2665.00 MB
22 > /dev/hda4       /usr/local       4.9 GB           5255.96 MB
23 >
24 > /dev/hdb1       EMPTY           66.3 GB          67875.02 MB
25 > /dev/hdb2       /var/tmp        28.0 GB          30721.43 MB
26 > /dev/hdb3       /usr/portage    47.0 GB          51202.37 MB
27 > /dev/hdb4       SWAP            10.0 GB          10240.48 MB
28
29 Having the output of "df" would help a lot, because it shows how much space is
30 already occupied on each filesystem. What about /usr/portage? If you have a
31 broadband internet connection you don't need to care about it.
32
33 > It's only got a 192 MB of RAM - a PII/233, so I'm giving it generous
34 > swap space. (My desktop is an AMD64 with  a gig of RAM.) I seem to have
35 > a sizable partition free (hdb1), so this just might work - but how would
36 > you guys propose I transition from the above setup to an LVM setup? All
37 > partitions are currently ext3 (my preferred fs for linux).
38
39 Hmm, looks like hdb1 has enough space for all of hda. So you could just boot
40 into a rescue CD (my recommendation: GRML), copy the stuff over, eventually
41 revise fstab on hdb1 and boot from this partition (to make sure everything
42 still wortks as before), then boot back into GRML and repartition hda and
43 create logical volumes (as per my first reply), copy the stuff back, together
44 with the remaining stuff from hdb, then repartition hdb and add it to the
45 volume group.
46
47 If you want a more detailed description of the steps above, you can mail me
48 directly.
49
50 Bye...
51
52 Dirk

Attachments

File name MIME type
signature.asc application/pgp-signature