From: Kostarev Alexey <kaf@nevod.ru>
To: ALT Linux Community general discussions
<community@lists.altlinux.org>,
sysadmins@lists.altlinux.org
Subject: [Sysadmins] vzdump --snapshot
Date: Thu, 25 Oct 2007 18:03:59 +0600
Message-ID: <4720862F.8010309@nevod.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]
Добрый день!
Надавно задавал вопрос по методам архивирования контейнеров openVZ.
Мне посоветовали воспользоваться скриптом vzdump
В стандартной поставке ALS4.0 его не было - так что подкачал с Sisyphus
Пакет встал (благо он зависит только от perl).
В режимах
--start (рестарт контейнера)
--suspend (приостановка)
проблем нет - архив создается/ контейнер восстаналивается.
Решил проверить в режиме
--suspend
Поместил контейнер в LVM-том:
/dev/mapper/var-containers 99G 512M 93G 1%
/var/lib/vz
Запустил команду
vzdump --suspend --dumpdir=/tmp 100
vzdump сваливается при попытке создать snapshot логического тома:
> INFO: starting backup for VPS 100 (/var/lib/vz/private/100)
> Use of uninitialized value in concatenation (.) or string at
> /usr/bin/vzdump line 683.
> INFO: creating lvm snapshot of /dev/mapper/var-containers ('/dev//vzsnap')
> Use of uninitialized value in concatenation (.) or string at
> /usr/bin/vzdump line 685.
> Use of uninitialized value in concatenation (.) or string at
> /usr/bin/vzdump line 685.
> "/dev//": Invalid path for Logical Volume
> The origin name should include the volume group.
> lvcreate: Create a logical volume
>
> lvcreate
> [-A|--autobackup {y|n}]
Судя по сообщению - у меня подозрение, что vzdump некорректно определил
группу томов (точнее никак не определил)
и соответвенно не смог создать snapshot
Копать perl'овский скрипт не хочется...
Может кто подскажет - в чем дело?
--
С Уважением
Директор ООО НЕВОД
Костарев А.Ф.
[-- Attachment #2: kaf.vcf --]
[-- Type: text/x-vcard, Size: 202 bytes --]
begin:vcard
fn:Alexey Kostarev
n:Kostarev;Alexey
org:Nevod Ltd.
adr:;;;Perm;;;Russia
email;internet:kaf@nevod.ru
tel;work:(3422) 196-960
url:http://www.nevod.ru/nevod/staff/kaf/
version:2.1
end:vcard
next reply other threads:[~2007-10-25 12:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-25 12:03 Kostarev Alexey [this message]
2007-10-26 6:31 ` [Sysadmins] vzdump --snapshot - проблема решена NEW: E2FSADM - ГДЕ ВЗЯТЬ Kostarev Alexey
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=4720862F.8010309@nevod.ru \
--to=kaf@nevod.ru \
--cc=community@lists.altlinux.org \
--cc=sysadmins@lists.altlinux.org \
/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 sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git