ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Michael A. Kangin" <mak@complife.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Изменение размеров разделов диска
Date: Fri, 7 Aug 2009 09:39:51 +0400
Message-ID: <200908070939.51757.mak@complife.ru> (raw)
In-Reply-To: <c00cf0908062223x6f3c8d79x6b64eaa0cca034b5@mail.gmail.com>

On Пятница 07 августа 2009 09:23:54 Michael Holzman wrote:

> При установке системы я неудачно разбил диск на разделы.  Получились
> маленький / и слишком большой /home. На обеих ext3
>
> Я хочу увеличить / за счет уменьшения /home. Но все прочитанное
> говорит, что уменьшить /home, не потеряв содержимое, можно только
> откусив пространство в конце файловой системы, что не позволит
> добавить это к /. Убивать /home и создавать его заново очень
> нехочется.

Можно откусить от конца текущего /home кусок, достаточный для нового /home, 
создать в освобожденном месте новый /home, перенести все данные, старый убить 
и создать на его месте /usr и /var.

Или прям сразу создать /usr и /var после обкусанного /home.

>
> Можно ли изменить размеры так как я хочу не пересоздавая /home?

Если данные там представляют хоть какую-нибудь ценность, их всё равно надо 
спасать. А если они спасены - почему бы и не пересоздать?

> Ткните, пожалуйста, в правильную доку/инструкцию/инструмент.

В качестве временного костыля можно скопировать содержимое /usr и /var в 
/home/usr и /home/var и при старте системы монтировать их с --bind.



-- 
wbr, Michael A. Kangin

  parent reply	other threads:[~2009-08-07  5:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07  5:23 Michael Holzman
2009-08-07  5:32 ` Max Ivanov
2009-08-07  5:43   ` Michael Holzman
2009-08-07  5:39 ` Michael A. Kangin [this message]
2009-08-07  5:46   ` Michael Holzman
2009-08-07  5:51     ` Michael A. Kangin
2009-08-07  7:53       ` Michael Holzman
2009-08-07  8:15   ` Michael Shigorin
2009-08-07  5:42 ` Olexander Chernetskyy
2009-08-07  5:47   ` Michael Holzman

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=200908070939.51757.mak@complife.ru \
    --to=mak@complife.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