* Re: [Comm] Как разбить винт? @ 2010-02-13 7:18 ` Yura Kalinichenko 2010-02-13 11:41 ` Michael Shigorin 1 sibling, 1 reply; 10+ messages in thread From: Yura Kalinichenko @ 2010-02-13 7:18 UTC (permalink / raw) To: ALT Linux Community general discussions Сергей Дунин пишет: > Я собрался установить сервак AltLinux 5 ковчег > > И незнаю как правельнее разбить винтчестер 80гб. > > Сервак будет делать все понемногу для сети из 5 компов. > > Памяти в серваке 512м > > Вот как я хотел разбить: > > swap 1 > > / 5 > > /home 5 > > /usr 20 > > /var/ftp 30 > > 19 — раздел для бэкапа при помощи акрониса > Посоветовал бы еще отдельный /var. Сейчас он у вас вместе с / что не есть гут. И под / тогда и 1 - более чем достаточно. > > > еще подскажите какие разделы сделать основными и какой активным!? > Большого значения не имеет, но чтобы иметь в запасе максимальное возможное количество номеров разделов и формально соблюсти традиции - сделайте 3 primary (/, swap и еще что-нибудь) и поставьте активность на / -- SY, Yura Kalinichenko ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <86c9dbe51002130345v63b8414em9b4ce2cbd4e6f237@mail.gmail.com>]
* Re: [Comm] Как разбить винт? @ 2010-02-13 11:50 ` Andriy Dobrovol`s`kii 2010-02-13 13:43 ` Aleksander Gorohovski 1 sibling, 0 replies; 10+ messages in thread From: Andriy Dobrovol`s`kii @ 2010-02-13 11:50 UTC (permalink / raw) To: ALT Linux Community general discussions 2010/2/13 Сергей Дунин <forthja@gmail.com>: > Спасибо за ответ! > значит я разбиваю так: > swap 1 > / 1 > /home 5 > /usr 20 > /var 20 > /var/ftp 15 > ~ 16 -- раздел для бэкапа при помощи акрониса > > нормально получится!? > Да кто ж Вам точно скажет?! Всё ж зависит от того как Вы будете его нагружать и чем. Судя по тому как лихо Вы урезали /var/ftp он отдельный не нужен... Если локальных пользователей на системе не будет, домашник можно и меньше. А можно и вовсе не выделять... Админ-то на корне. Из-за этого я обычно корень делаю больше гига. Но... У каждого свои привычки... :) -- Regards, Andrii Dobrovol`s`kyj ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Comm] Как разбить винт? 2010-02-13 11:50 ` Andriy Dobrovol`s`kii @ 2010-02-13 13:43 ` Aleksander Gorohovski 2010-02-13 14:19 ` Andriy Dobrovol`s`kii 2010-02-15 13:43 ` Sergey 1 sibling, 2 replies; 10+ messages in thread From: Aleksander Gorohovski @ 2010-02-13 13:43 UTC (permalink / raw) To: ALT Linux Community general discussions On Sat, 13 Feb 2010 13:45:27 +0200, Сергей Дунин wrote: > Спасибо за ответ! > значит я разбиваю так: > swap 1 > / 1 > /home 5 > /usr 20 > /var 20 > /var/ftp 15 > ~ 16 -- раздел для бэкапа при помощи акрониса > > нормально получится!? Я бы посоветовал под корень примерно 3 Gb. Не забывайте, что многие сторонние програм. (Adobe, OpenOffice, Interbase... ) любят \opt (или сделать \opt отдельно на 2.5-3 Gb) а для swap в любом случае 512 М достаточно. На моей практике система более никогда не использует. ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Comm] Как разбить винт? 2010-02-13 13:43 ` Aleksander Gorohovski @ 2010-02-13 14:19 ` Andriy Dobrovol`s`kii 2010-02-13 14:22 ` Aleksander Gorohovski 2010-02-15 13:43 ` Sergey 1 sibling, 1 reply; 10+ messages in thread From: Andriy Dobrovol`s`kii @ 2010-02-13 14:19 UTC (permalink / raw) To: ALT Linux Community general discussions 2010/2/13 Aleksander Gorohovski <angel@feht.dgtu.donetsk.ua>: > > а для swap в любом случае 512 М достаточно. > На моей практике система более никогда не использует. Может сожрать и в два раза больше чем ОЗУ, но таое бывает очень редко. Ну и при засыпании нужно не меньше чем ОЗУ... Ну а сервера спят крайне редко... :) -- Regards, Andrii Dobrovol`s`kyj ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Comm] Как разбить винт? 2010-02-13 14:19 ` Andriy Dobrovol`s`kii @ 2010-02-13 14:22 ` Aleksander Gorohovski 0 siblings, 0 replies; 10+ messages in thread From: Aleksander Gorohovski @ 2010-02-13 14:22 UTC (permalink / raw) To: ALT Linux Community general discussions On Sat, 13 Feb 2010 16:19:58 +0200, Andriy Dobrovol`s`kii wrote: > 2010/2/13 Aleksander Gorohovski <angel@feht.dgtu.donetsk.ua>: >> >> а для swap в любом случае 512 М достаточно. >> На моей практике система более никогда не использует. > Может сожрать и в два раза больше чем ОЗУ, но таое бывает очень редко. > Ну и при засыпании нужно не меньше чем ОЗУ... Ну а сервера спят крайне > редко... :) Да, нелегко этим трудягам. :) ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Comm] Как разбить винт? 2010-02-13 13:43 ` Aleksander Gorohovski 2010-02-13 14:19 ` Andriy Dobrovol`s`kii @ 2010-02-15 13:43 ` Sergey 1 sibling, 0 replies; 10+ messages in thread From: Sergey @ 2010-02-15 13:43 UTC (permalink / raw) To: ALT Linux Community general discussions On Saturday 13 February 2010, Aleksander Gorohovski wrote: > а для swap в любом случае 512 М достаточно. > На моей практике система более никогда не использует. Стоп, стоп. swap теперь считается не так. Теперь, к обычному объёму swap, следует добавлять предпологаемый размер /tmp. -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Comm] Как разбить винт? 2010-02-13 7:18 ` [Comm] Как разбить винт? Yura Kalinichenko @ 2010-02-13 11:41 ` Michael Shigorin 2010-02-15 13:44 ` Sergey 1 sibling, 2 replies; 10+ messages in thread From: Michael Shigorin @ 2010-02-13 11:41 UTC (permalink / raw) To: ALT Linux Community general discussions On Sat, Feb 13, 2010 at 09:29:55AM +0300, Сергей Дунин wrote: > Памяти в серваке 512м > Вот как я хотел разбить: > swap 1 Больше 512M вряд ли осмысленно -- прикиньте время вычитывания гигабайта на этом диске. > / 5 > /usr 20 IMHO / 10 либо / 1, /usr 5 -- более чем достаточно. > /home 5 > /var/ftp 30 Вот отдельный /var как раз полезен (или отдельный /var/log). Вообще полезно определиться, что и откуда будет раздаваться да где/почему будут нарастать данные. И если есть хоть какая-то возможность -- организовать ещё один диск той же ёмкости в зеркало, 80-ки сперва были SATA-кроликами (часто сыпались), теперь "самые дешёвые" с соответствующим отношением. > 19 -- раздел для бэкапа при помощи акрониса > еще подскажите какие разделы сделать основными и какой активным!? Обычно делаю / активным, на самом деле разница при установленном в MBR загрузчике -- только для шибко умных BIOS вроде тех, что на интеловских материнках встречаются. > p.s. Автоматическую разбивку не предлагать! А sysadmins@? :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <86c9dbe51002130411t1f683183x6f31f38d250887a6@mail.gmail.com>]
* Re: [Comm] Как разбить винт? @ 2010-02-13 15:14 ` Michael Shigorin 2010-02-15 13:46 ` Sergey 0 siblings, 1 reply; 10+ messages in thread From: Michael Shigorin @ 2010-02-13 15:14 UTC (permalink / raw) To: ALT Linux Community general discussions On Sat, Feb 13, 2010 at 03:11:54PM +0300, Сергей Дунин wrote: > > Больше 512M вряд ли осмысленно -- прикиньте время вычитывания > > гигабайта на этом диске. > честно не совсем понял про вычитывание! но думаю 1г нормально, > да мне гиги не жалко да и вдруг еще память попадется тогда > учеличу до 1024, может тогда сделать его 1024!? Зачем? Размер свопа определяется не именно объёмом RAM, а объёмом набора выполняемых задач. Если в своп ложится слишком много, то это либо здоровенный tmpfs, либо специфика использования системы (когда задач много, но в каждый кусок времени активно лишь небольшое подмножество, остальное отлёживается в свопе), либо же недостаток оперативной памяти для оперативных задач. Поэтому много свопа имеет смысл делать для: - tmpfs (в объёме примерно tmpfs+задачи-RAM); - suspend to disk (в объёме RAM+VRAM); - специфических working set'ов. PS: отдельно: "правило большого пальца" насчёт "своп равен 2*RAM" _давно_ устарела, поскольку типичный _объём_ памяти рос куда быстрее, чем _скорость_ доступа жёстких дисков. Ещё один древний нюанс linux vm тоже в прошлом. Так что теперь стоит учитывать потребление памяти процессами и выгодность дискового кэша в RAM. А своп -- см. выше. > > IMHO / 10 либо / 1, /usr 5 -- более чем достаточно. > а почему такой разброс!? 1 или 10!? Эээ.... IMHO: / 10 либо / 1, /usr 5 > > Вообще полезно определиться, что и откуда будет раздаваться > > да где/почему будут нарастать данные. > пока немогу определиться, большие планя и сервак больше будет > эксерементальным (учиться на нем буду) Обычно в /home (данные пользователей) и либо /var, либо /srv (смотря куда засунуты данные сервисов). > и еще хотел уточнить какие разделы нужно бэкапить, что быстро > восстановить систему со всеми настройками!? / (включая /etc, /var и /usr в этом порядке). -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Comm] Как разбить винт? 2010-02-13 15:14 ` Michael Shigorin @ 2010-02-15 13:46 ` Sergey 0 siblings, 0 replies; 10+ messages in thread From: Sergey @ 2010-02-15 13:46 UTC (permalink / raw) To: ALT Linux Community general discussions On Saturday 13 February 2010, Michael Shigorin wrote: > Поэтому много свопа имеет смысл делать для: > > - tmpfs (в объёме примерно tmpfs+задачи-RAM); А, не забыл про tmpfs. Но, видимо, забыл, что /tmp сейчас там по-умолчанию. ;-) С неподготовки можно нарваться. -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Comm] Как разбить винт? 2010-02-13 11:41 ` Michael Shigorin @ 2010-02-15 13:44 ` Sergey 1 sibling, 0 replies; 10+ messages in thread From: Sergey @ 2010-02-15 13:44 UTC (permalink / raw) To: ALT Linux Community general discussions On Saturday 13 February 2010, Michael Shigorin wrote: > > swap 1 > > Больше 512M вряд ли осмысленно -- прикиньте время вычитывания > гигабайта на этом диске. Про tmpfs забыл ? ;-) -- С уважением, Сергей a_s_y@sama.ru ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-02-15 13:46 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-02-13 7:18 ` [Comm] Как разбить винт? Yura Kalinichenko 2010-02-13 11:50 ` Andriy Dobrovol`s`kii 2010-02-13 13:43 ` Aleksander Gorohovski 2010-02-13 14:19 ` Andriy Dobrovol`s`kii 2010-02-13 14:22 ` Aleksander Gorohovski 2010-02-15 13:43 ` Sergey 2010-02-13 11:41 ` Michael Shigorin 2010-02-13 15:14 ` Michael Shigorin 2010-02-15 13:46 ` Sergey 2010-02-15 13:44 ` Sergey
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