ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: community <community@lists.altlinux.org>
Subject: Re: [Comm] Планирование РАИД массива
Date: Sat, 18 Mar 2006 12:40:18 +0200
Message-ID: <20060318104018.GQ7903@osdn.org.ua> (raw)
In-Reply-To: <441BA326.1060605@tis-dialog.ru>

On Sat, Mar 18, 2006 at 08:05:26AM +0200, Бойко Владимир wrote:
> Разделы 1 и 2 - /, /boot под РАИД-1

Угу.  Кстати, при отдельном /usr можно не напрягаться 
на выделенный /boot, всё равно корень выйдет трудноторпедируемый.

> Раздел 3 - swap

Его можно на RAID0, хотя проще и эстетичней просто создать два
симметричных полусвопа и прописать с одинаковым приоритетом:

# swaps
/dev/hda3 swap swap defaults,pri=100 0 0
/dev/hdc1 swap swap defaults,pri=50 0 0
/dev/hde1 swap swap defaults,pri=0 0 0
/dev/hdg1 swap swap defaults,pri=0 0 0

-- при этом последствия слёта одного из дисков в среднем примерно
такие же, а мороки меньше.

См. тж. fstab(5) или swapon(8), не помню.

> Разделы 4,5 и 6 - /usr, /var and /home под РАИД-0

Если /usr и куски /var ещё куда ни шло, то класть
/var/{lib,spool} и особенно /home на страйп -- это ж надо
их настолько не ценить.

> Думаю куда определить /tmp?

В tmpfs, вестимо.

/dev/shm /tmp tmpfs size=384m 0 0
/tmp /var/tmp auto bind 0 0

Вообще рекомендую Partition-mini-HOWTO, Software-RAID-HOWTO,
Multi-Disk-HOWTO.

PS: если планируется сервер -- то лучше по умолчанию на RAID1,
что не очень жалко -- по одиночным дискам, что совсем не жалко
-- на RAID0.  Но тогда лучше в sysadmins@ перебираться.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


      parent reply	other threads:[~2006-03-18 10:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-18  6:05 Бойко Владимир
2006-03-18  9:30 ` Damir Shayhutdinov
2006-03-18 10:40 ` Michael Shigorin [this message]

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=20060318104018.GQ7903@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@lists.altlinux.org \
    --cc=shigorin@gmail.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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git