From: "Aleksey Avdeev" <solo_oboroten@mail15.com>
To: community@altlinux.ru
Subject: Re: [Comm] How to move mountpoint?
Date: Mon, 07 Jul 2003 18:33:07 +0400
Message-ID: <3F0984A3.1070106@mail15.com> (raw)
In-Reply-To: <E19ZWHG-0002in-00.kolyag-mail-ru@f16.mail.ru>
KoLyA пишет:
>
> -----Original Message-----
> From: Alexey Starinsky <staa -at- tavrida -dot- com>
> To: community@altlinux.ru
> Date: Mon, 7 Jul 2003 16:26:39 +0300
> Subject: [Comm] How to move mountpoint?
>
>
>>
>>Здравствуйте, community,
>>
>> Вот возник вопро про то, в какой последовательности нужно добавлять
>> точки монтирования на уже запущенной системе:
>>
>> Допустим: есть в корне некая директория (скажем, /opt)
>> я в неё наставил прогамм и она стала трещать по швам, т.е
>> заполнилась.
>> Допустим, создан раздельчик на том же винчестере или на другом.
>> В такой ли последовательности переносить (поправьте, если не так)
>> - скопировать данные тем же mc из папки /opt на монтируемый раздел
>> - прописать его в fstab по аналогии, как это сделано с / и,
>> например, у меня /home
>
>
> все правильно
>
>
>> а как дальше???
>> - убить папку из корня и перегрузить линух?
>
>
> зачем? :-)
>
> свежесозданный раздел примонтировали как /newopt
> mount (новый_раздел) /туцopt
> в него все слили (mc или cd /opt; mv * /newopt).
> затем из /opt все удаляем (тем же mc например), а саму папку оставляем. делаем рутом
> umount /newopt
> mount (новый_раздел) /opt
> все!
И старый раздел /opt остался подмонтированным (к одной точке -
2 раздела). Оно надо? ;-)
ИМХО: Нужно ещё прибить все процессы использующие старый /opt
(непомню команду), и отмонтировать оный.
--
С уважением. Алексей.
next prev parent reply other threads:[~2003-07-07 14:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-07 13:26 Alexey Starinsky
2003-07-07 13:43 ` "KoLyA"
2003-07-07 14:33 ` Aleksey Avdeev [this message]
2003-07-08 3:01 ` Maxim.Savrilov
2003-07-09 16:26 ` Aleksey Avdeev
2003-07-08 8:53 ` Vitaly Lipatov
2003-07-07 16:37 ` Re[2]: " Alexey Starinsky
2003-07-10 10:58 ` Re[3]: " "KoLyA"
2003-07-10 13:35 ` Re[4]: " "KoLyA"
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=3F0984A3.1070106@mail15.com \
--to=solo_oboroten@mail15.com \
--cc=community@altlinux.ru \
/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