Как настроить жесткие диски SCSI и RAID для веб-сервера Poweredge 2850 с помощью сервера Ubuntu

1839
Steve Bacon

У меня есть powerge 2850 с 6 дисками и контроллером RAID. Я хочу настроить 3 пары массивов RAID1 для использования 1-веб-сервера, 2 файлового сервера и 3backup.

Это вообще возможно и как мне это настроить?

Я вижу 3 диска, когда проверяю файловые системы в Ubuntu, но я не знаю, куда идти дальше. Мне пришлось добавить графический интерфейс gnome, чтобы проверить все, потому что командная строка была слишком сложной. После настройки я отключу графический интерфейс.

0

2 ответа на вопрос

0
Hennes

I want to set up 3 pairs of RAID1 arrays to use as
1-webserver, 2 fileserver and 3backup.

Is this even possible and how do I configure it?

This is possible, and if you want to keep things really separated (e.g. no files uploaded to the array with webserver data) it will work. But:

  • RAID is not backup. Repeat this mantra a few times.
    If lightning strikes, a PSU dies and takes out the system, if a thief lugs the server home, if .... then you loose primary data and backup. Good advice is not to store the backup on the manin system as primary data.
  • Three arrays are really not needed. One if enough. Just put the contents in different folders and assign quota's if needed.
  • Three mirrors is rather wasteful. I would consider RAID10 (with 4 drives).

I see 3 drives when I check the files systems in Ubuntu

That seems normal. You have three arrays (each considting of two drives, which the RAID controller hides from you).

I had to add the gnome GUI to check things out because the command line was too difficult. Once I am configured I will disable the GUI.

Meh. For a home system and testing a GUI is not all that bad. It is more software, more to keep up to date, more which can fail. And if you rolled out a 100 servers then I would suggest to learn the CLI. But for a single learning home system. Use the GUI and learn how things work.

-1
Shiki

Установка графического интерфейса на сервер является эпической ошибкой. Это похоже на инструменты для компиляции.

По моему мнению, raid1 похож на стрельбу в пах с 6 приводами. Я бы просто пошел с Raid6. (Ничего просто нет Raid1).

На вопрос:
Вам нужно взять установочный диск, например, minimal / netinst.
Когда он загружается и мигает, введите: expert.
После этого вы получите ДЕЙСТВИТЕЛЬНО экспертную настройку, параметры эксперта. Настройте свой рейд через установку. Это все.

(Да, простого пути нет. По крайней мере, я не знаю. Может быть, Windows предоставляет более простой способ ... но вы должны заплатить за это цену.)

Если бы вы объяснили, почему вы "-1", я бы поблагодарил вас. Shiki 13 лет назад 0