All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Chad C. Walstrom" <chewie@wookimus.net>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Mandrake 8.1 and LVM
Date: Fri Nov 30 01:59:01 2001	[thread overview]
Message-ID: <20011130020118.C17482@wookimus.net> (raw)
In-Reply-To: <20011129190920.B23998@kluge.net>

[-- Attachment #1: Type: text/plain, Size: 2142 bytes --]

On Thu, Nov 29, 2001 at 07:09:20PM -0500, Theo Van Dinter wrote:
> My rule of thumb for disk layout on a server is:
> 	/boot	- Small, usually 32-128MB, don't run out of space here.

Good.

> 	/	- I put /usr in here since there's no reason not to any
> 		  longer.  So this will be any size you think is
> 		  appropriate.	I will usually put anywhere from 4-8GB
> 		  here, depending on disk size.  These files should be
> 		  static-ish, no major changed here.  Don't let it hit 100%.

Reason #1:  Mount /usr as read-only.  There is only one reason why you
should mount /usr read/write: to install software.  Upon completion of
this one task, remount the drive as read-only.  Lock it down with kernel
capabilities tools, and be done with it.  [apt-get has a nice way to
auto-remount the drive in apt.conf(5) when installing/upgrading
software.]

That being said, I suppose there's not a whole lot holding you back from
mounting "/" as read-only, either.  Perhaps /etc/mtab would be an
annoyance, but if you symbolically link it to /proc/mounts, you could
fake it.

Reason #2:  With LVM, you don't have to worry about exceeding the
standard "allowed" harddrive partitions.  So, create logical volumes to
your heart's (*ahem*) extent.  With filesystem and logical volume
resizing, the flexibility and convenience outweight the small
"overhead."

Reason #3: It's just plain strange to have / share space with /usr.

Reason #4: For someone new to Linux, LVM provides you with the
opportunity to correct a mistake without having to reinstall your system
because you'd prefer a different harddrive partition layout.

OK, so that got into some more generic reasons to use LVM rather than to
give guideance on how/what/when/where/why to patition a certain way.
Experiment, have fun.  With LVM, you can afford to play in order to find
that "perfect" balance of partitioning and practicality.

-- 
Chad Walstrom <chewie@wookimus.net>                 | a.k.a. ^chewie
http://www.wookimus.net/                            | s.k.a. gunnarr
Key fingerprint = B4AB D627 9CBD 687E 7A31  1950 0CC7 0B18 206C 5AFD


[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2001-11-30  1:59 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-29 15:53 [linux-lvm] Mandrake 8.1 and LVM Sarwer Zafiruddin
2001-11-29 16:01 ` mitch
2001-11-29 16:06   ` Steve Wray
2001-11-29 18:07   ` Theo Van Dinter
2001-11-30  1:59     ` Chad C. Walstrom [this message]
2001-11-30  2:40       ` Steve Wray
2001-11-30 14:18         ` Chad C. Walstrom
2001-11-30 15:53           ` mitch
2001-11-30 19:31             ` Chad C. Walstrom
2001-12-01  0:15               ` mitch
2001-11-30 16:00           ` Petro
2001-11-30 19:27             ` Chad C. Walstrom
2001-11-30 16:04           ` Steve Wray
2001-11-30 19:24             ` Chad C. Walstrom
2001-11-30 10:47       ` Theo Van Dinter
2001-11-30 11:37         ` Luca Berra
2001-11-30 12:02           ` svetljo
2001-12-02  8:24             ` Luca Berra
2001-12-01 10:30     ` Wolfgang Weisselberg
  -- strict thread matches above, loose matches on Subject: below --
2001-12-02  8:55 Luca Berra
2001-12-02  9:22 ` galia
     [not found] <Pine.LNX.4.21.0111291810070.435-100000@sol.rune.org>
2001-11-29 17:12 ` Sarwer Zafiruddin
     [not found] <Pine.LNX.4.21.0111291704150.435-100000@sol.rune.org>
2001-11-29 16:14 ` Sarwer Zafiruddin
2001-11-29 16:44   ` Steve Wray
2001-11-30  2:35     ` Luca Berra
2001-12-01 10:17       ` Brian J. Murrell
2001-11-29  7:58 Sarwer Zafiruddin
2001-11-29 11:15 ` Luca Berra
2001-11-29 15:04   ` Steve Wray
2001-11-29 15:16     ` Lars Kellogg-Stedman
2001-11-29 15:42       ` mitch
2001-11-29 15:56         ` Steve Wray
2001-11-29 19:09         ` Lars Kellogg-Stedman
2001-12-03 20:12         ` Mark van Walraven
2001-11-30  2:28     ` Luca Berra
2001-12-01 10:58       ` Brian J. Murrell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011130020118.C17482@wookimus.net \
    --to=chewie@wookimus.net \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.