* Re[2]: [Comm] ËÏÐÉÑ /hda to /hdb
@ 2004-11-17 7:14 InboxISi
2004-11-17 7:36 ` [Comm] Re: копия " Michael Shigorin
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: InboxISi @ 2004-11-17 7:14 UTC (permalink / raw)
To: 'community@altlinux.ru'
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 992 bytes --]
öÁÌØ! âÙÌÏ ÂÙ ÎÅ ÐÌÏÈÏ ÓÎÁÞÁÌÁ ÐÒÏÂÙ×ÁÔØ ÎÁ ÔÅÓÔÏ×ÏÍ ÓÔÅÎÄÅ
ðÏÓÔÁ×ÉÌ ÍÁÛÉÎËÕ ÐÏÉÇÒÁÌ, ÐÏÔÏÍ ÕÖÅ ÓÄÅÌÁÌ ÐÏ ÁÎÁÌÏÇÉÉ ÎÁ ÂÏÅ×ÏÍ ÓÅÒ×ÅÒÅ.
åÓÌÉ ×ÅÒÎÅÔÅÓØ Ë dd ÔÏ ÎÅ ÐÅÞÁÌØÔÅÓØ, ÎÁÐÒÉÍÅÒ ÎÁ OpenBSD (ÉÚ×ÅÓÔÎÏÊ ËÁË
ÓÉÓÔÅÍÁ Ó ÐÒÏÄÕÍÁÎÎÏÊ ÚÁÝÉÔÏÊ É ÎÁÄÅÖÎÏÓÔØÀ) ÜÔÏ ËÁË ÒÁÚ ÉÓÐÏÌØÚÕÅÔÓÑ ËÁË
ÛÔÁÔÎÁÑ ÆÕÎËÃÉÑ ÄÌÑ rootbackup ÎÁ /altroot.
-----Original Message-----
From: Ivanov Maxim [mailto:ivanov@amos.ru]
Sent: Wednesday, November 10, 2004 3:30 PM
To: Nick S. Grechukh
Subject: Re[2]: [Comm] ËÏÐÉÑ /hda to /hdb
îÕ × ÏÂÝÅÍ ÉÎÆÏÒÍÉÒÕÀ:
dd if=/dev/hda of=/dev/hdb
íÉÇÁÀÔ ÎÁ ËÌÁ×Å ÔÒÉ ÌÁÍÐÏÞËÉ, ÎÁ ÜËÒÁÎÅ - ÒÅÇÉÓÔÒÙ ÐÒÏÃÁ,
INIT: Switching to runlevel: 6
INIT: Sending processes the KILL signal
É ÔÁË ÄÁÌÅÅ.
ðÏÈÏÖÅ, Ñ-ÔÁËÉ ÄÏÉÇÒÁÌÓÑ... âÌÉÎ, ÈÏÒÏÛÉÊ ÂÙÌ ÓÅÒ×ÁÎÔ.
òÅÚÀÍÅ: ÎÉËÏÍÕ ôáë ÄÅÌÁÔØ ÎÅ ÒÅËÏÍÅÎÄÕÀ.
_______________
ó Õ×ÁÖÅÎÉÅÍ,
íÁËÓÉÍ é×ÁÎÏ×
_______________________________________________
Community mailing list
Community@altlinux.ru
https://lists.altlinux.ru/mailman/listinfo/community
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Comm] Re: копия /hda to /hdb
2004-11-17 7:14 Re[2]: [Comm] ËÏÐÉÑ /hda to /hdb InboxISi
@ 2004-11-17 7:36 ` Michael Shigorin
2004-11-17 20:03 ` [Comm] ЛПРЙС " Мар'ян Петришин
2004-11-18 11:12 ` Re[3]: [Comm] копия " Ivanov Maxim
2 siblings, 0 replies; 8+ messages in thread
From: Michael Shigorin @ 2004-11-17 7:36 UTC (permalink / raw)
To: community
On Wed, Nov 17, 2004 at 10:14:27AM +0300, InboxISi wrote:
> Если вернетесь к dd то не печальтесь, например на OpenBSD
> (известной как система с продуманной защитой и надежностью) это
> как раз используется как штатная функция для rootbackup на
> /altroot.
Увы, ряд ключевых разработчиков оной системы вменяемостью никогда
не отличались. А разработчики (которые вот так лепят dd) и
администраторы (которым чтоб работало) -- это ой как разные люди.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] ЛПРЙС /hda to /hdb
2004-11-17 7:14 Re[2]: [Comm] ËÏÐÉÑ /hda to /hdb InboxISi
2004-11-17 7:36 ` [Comm] Re: копия " Michael Shigorin
@ 2004-11-17 20:03 ` Мар'ян Петришин
2004-11-18 11:12 ` Re[3]: [Comm] копия " Ivanov Maxim
2 siblings, 0 replies; 8+ messages in thread
From: Мар'ян Петришин @ 2004-11-17 20:03 UTC (permalink / raw)
To: community
InboxISi wrote:
> Жаль! Было бы не плохо сначала пробывать на тестовом стенде
> Поставил машинку поиграл, потом уже сделал по аналогии на боевом сервере.
>
> Если вернетесь к dd то не печальтесь, например на OpenBSD (известной как
> система с продуманной защитой и надежностью) это как раз используется как
> штатная функция для rootbackup на /altroot.
>
На FreeBSD для полного бекапа я именно dd и пользуюсь. Никаких
проишествий небыло
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re[3]: [Comm] копия /hda to /hdb
2004-11-17 7:14 Re[2]: [Comm] ËÏÐÉÑ /hda to /hdb InboxISi
2004-11-17 7:36 ` [Comm] Re: копия " Michael Shigorin
2004-11-17 20:03 ` [Comm] ЛПРЙС " Мар'ян Петришин
@ 2004-11-18 11:12 ` Ivanov Maxim
2004-11-18 11:18 ` [Comm] " Michael Shigorin
2004-11-18 13:18 ` [Comm] " Alexey Borovskoy
2 siblings, 2 replies; 8+ messages in thread
From: Ivanov Maxim @ 2004-11-18 11:12 UTC (permalink / raw)
To: InboxISi
Здравствуйте, InboxISi.
Вы писали 17 ноября 2004 г., 10:14:27:
> Жаль! Было бы не плохо сначала пробывать на тестовом стенде
> Поставил машинку поиграл, потом уже сделал по аналогии на боевом сервере.
> Если вернетесь к dd то не печальтесь, например на OpenBSD (известной как
> система с продуманной защитой и надежностью) это как раз используется как
> штатная функция для rootbackup на /altroot.
Выкрутился следующим образом:
использовал загрузочный сидюк от Acronis Migrate
Он замечательно справился с посекторным копированием с одного HDD на
другой. Правда, после копирования выяснилось, что не корректно встал
загрузчик, но эта проблема легко решилась загрузкой с CD1 Master 2.2 в
режиме rescue и последующим восстановлением загрузчика. Все
замечательно отработало, загрузился со второго винта, система живет.
Теперь думаю подмонтировать с первого винта разделы /var и /home
и по крону раз в сутки копировать пул почты и юзверевские файлы.
Таким образом, получается что-то типа псевдо-райда. В случае умирания
винта я смогу загрузиться с другого и данные сохранятся.
Идиотское конечно решение, но лучше чем ничего.
_______________
С уважением,
Максим Иванов
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Comm] Re: копия /hda to /hdb
2004-11-18 11:12 ` Re[3]: [Comm] копия " Ivanov Maxim
@ 2004-11-18 11:18 ` Michael Shigorin
2004-11-18 12:52 ` Ivanov Maxim
2004-11-18 13:18 ` [Comm] " Alexey Borovskoy
1 sibling, 1 reply; 8+ messages in thread
From: Michael Shigorin @ 2004-11-18 11:18 UTC (permalink / raw)
To: community
On Thu, Nov 18, 2004 at 02:12:12PM +0300, Ivanov Maxim wrote:
> Таким образом, получается что-то типа псевдо-райда. В случае
> умирания винта я смогу загрузиться с другого и данные
> сохранятся.
_Возможно_ сохранятся. Не забывайте о race condition между их
модификацией и копированием... и лучше не страдайте этой фигнёй,
уже больше времени убили, чем зеркало поднять, исходя из нулевых
знаний по теме и Software-RAID-HOWTO.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] Re: копия /hda to /hdb
2004-11-18 11:18 ` [Comm] " Michael Shigorin
@ 2004-11-18 12:52 ` Ivanov Maxim
2004-11-18 13:15 ` Michael Shigorin
0 siblings, 1 reply; 8+ messages in thread
From: Ivanov Maxim @ 2004-11-18 12:52 UTC (permalink / raw)
To: Michael Shigorin
Здравствуйте, Michael.
Вы писали 18 ноября 2004 г., 14:18:45:
> и лучше не страдайте этой фигнёй,
> исходя из нулевых знаний по теме и Software-RAID-HOWTO.
Уважаемый! Дайте _пошаговую_ инструкцию для тупых и выложите ее
куда-нибудь к примеру на http://www.atmsk.ru
Уверен, благодарность потомков будет Вам обеспечена.
_______________
С уважением,
Максим Иванов
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Comm] Re: копия /hda to /hdb
2004-11-18 12:52 ` Ivanov Maxim
@ 2004-11-18 13:15 ` Michael Shigorin
0 siblings, 0 replies; 8+ messages in thread
From: Michael Shigorin @ 2004-11-18 13:15 UTC (permalink / raw)
To: community
On Thu, Nov 18, 2004 at 03:52:27PM +0300, Ivanov Maxim wrote:
> > и лучше не страдайте этой фигнёй, исходя из нулевых знаний по
> > теме и Software-RAID-HOWTO.
> Уважаемый! Дайте _пошаговую_ инструкцию для тупых и выложите ее
> куда-нибудь к примеру на http://www.atmsk.ru
> Уверен, благодарность потомков будет Вам обеспечена.
Да не нужна мне благодарность потомков за тыщу раз разжёванную
тему :-(
Там -- пошагово. HOWTO берётся в пакетах howto-* в дистрибутиве
или на www.tldp.org, а также легко гуглится по названию.
Кажется, на opennet.ru водился перевод.
PS: и хватит про "тупых", не знаю здесь таких.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Comm] копия /hda to /hdb
2004-11-18 11:12 ` Re[3]: [Comm] копия " Ivanov Maxim
2004-11-18 11:18 ` [Comm] " Michael Shigorin
@ 2004-11-18 13:18 ` Alexey Borovskoy
1 sibling, 0 replies; 8+ messages in thread
From: Alexey Borovskoy @ 2004-11-18 13:18 UTC (permalink / raw)
To: community
[-- Attachment #1: Type: text/plain, Size: 1534 bytes --]
* Четверг 18 Ноябрь 2004 23:12 Ivanov Maxim <ivanov@amos.ru>
Добрый вечер.
> Здравствуйте, InboxISi.
>
> Вы писали 17 ноября 2004 г., 10:14:27:
> > Жаль! Было бы не плохо сначала пробывать на тестовом стенде
> > Поставил машинку поиграл, потом уже сделал по аналогии на
> > боевом сервере.
> >
> > Если вернетесь к dd то не печальтесь, например на OpenBSD
> > (известной как система с продуманной защитой и надежностью)
> > это как раз используется как штатная функция для rootbackup
> > на /altroot.
Угу. Нехочу такую надежность.
>
> Выкрутился следующим образом:
> использовал загрузочный сидюк от Acronis Migrate
> Он замечательно справился с посекторным копированием с
> одного HDD на другой. Правда, после копирования выяснилось,
> что не корректно встал загрузчик, но эта проблема легко
> решилась загрузкой с CD1 Master 2.2 в режиме rescue и
> последующим восстановлением загрузчика. Все замечательно
> отработало, загрузился со второго винта, система живет. Теперь
> думаю подмонтировать с первого винта разделы /var и /home и по
> крону раз в сутки копировать пул почты и юзверевские файлы.
> Таким образом, получается что-то типа псевдо-райда. В случае
> умирания винта я смогу загрузиться с другого и данные
> сохранятся. Идиотское конечно решение, но лучше чем ничего.
Порылся по freshmeat.net, накопал три решения:
1. Sofware RAID
2. DRBD
3. iSCSI
P.S. Ядерную политику вроде освоил. Осталось освоить kernel cvs.
--
Алексей.
GPG key fingerprint
949B BC0E 2C44 7528 4F63 2753 E37A 9E3F 11F3 BDE1
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-11-18 13:18 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-17 7:14 Re[2]: [Comm] ËÏÐÉÑ /hda to /hdb InboxISi
2004-11-17 7:36 ` [Comm] Re: копия " Michael Shigorin
2004-11-17 20:03 ` [Comm] ЛПРЙС " Мар'ян Петришин
2004-11-18 11:12 ` Re[3]: [Comm] копия " Ivanov Maxim
2004-11-18 11:18 ` [Comm] " Michael Shigorin
2004-11-18 12:52 ` Ivanov Maxim
2004-11-18 13:15 ` Michael Shigorin
2004-11-18 13:18 ` [Comm] " Alexey Borovskoy
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