ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: Denis Medvedev <a_mdl@mail.ru>,
	ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] static partitions -> lvm on a live machine
Date: Fri, 10 Aug 2007 08:32:00 +0400
Message-ID: <46BBEA40.9030500@stc.donpac.ru> (raw)
In-Reply-To: <E1IIjsx-0008At-00.a_mdl-mail-ru@f60.mail.ru>

Denis Medvedev пишет:
> Уважаемые знатоки Линукса!
> Подскажите, что делать:
> я разбил диск на статические партиции и в /home уже не хватает места. Есть пустая партиция в конце диска. Хотелось бы переделать /home в lvm, но не знаю, как правильно. Создать файл в пустом месте, сделать ему loop и cделать том из той партиции и этого loop-device? Может можно как-то лучше? Файлы девать вообще говоря некуда, так что вариант - сбросить все на другой компьютер и переразметить - не подходит.
>  nbr@ (Денис Медведев)

1) создать из пустого раздела физический том,
2) включить его в группу томов
3) создать в ней логический том
4) перенести на него данные из /home
5) из уже ненужного /home сделать еще один физический том
6) включить его в ту же группу томов
7) расширить логический том с новым /home

но без бэкапа я бы побоялся выполнять _любые_ манипуляции с ценными 
данными ;)

-- 
С уважением,
Прокопьев Евгений



  reply	other threads:[~2007-08-10  4:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-08 11:39 Denis Medvedev
2007-08-10  4:32 ` Eugene Prokopiev [this message]
2007-08-10 17:33 ` Michael Shigorin

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=46BBEA40.9030500@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --cc=a_mdl@mail.ru \
    --cc=community@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 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