ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: ledest@gmail.com,
	 ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Перемонтирование корня на NFS в ro
Date: Tue, 15 Sep 2009 17:24:16 +0300
Message-ID: <cc557aab0909150724v3ca77e4fpda067f766e7ca07b@mail.gmail.com> (raw)
In-Reply-To: <200909151704.34015.ledest@gmail.com>

2009/9/15 Led <ledest@gmail.com>:
> On Tuesday 15 September 2009 16:58:49 you wrote:
>> 2009/9/15 Led <ledest@gmail.com>:
>> > On Tuesday 15 September 2009 15:42:10 Slava Dubrovskiy wrote:
>> >> 15.09.2009 01:47, Led пишет:
>> >> >>>> Использую бездисковую ноду. Корень находится на NFS. При ребуте не
>> >> >>>> ребутается.
>> >> >>>> Снимок экрана http://imagebin.ca/view/YOkR53.html
>> >> >>>>
>> >> >>>> Правильно ли я понимаю, что это из-за того, что не проходит
>> >> >>>> #mount -n -o remount,ro /
>> >> >>>> mount.nfs: an incorrect mount option was specified
>> >> >>>>
>> >> >>>> При этом перед ребутом смонтировано так:
>> >> >>>> # mount
>> >> >>>> 192.168.11.1:/var/srv/ua57 on / type nfs
>> >> >>>> (rw,vers=3,rsize=32768,wsize=32768,hard,nolock,proto=tcp,timeo=7,re
>> >> >>>>tra ns =10 ,sec=sys,addr=192.168.11.1) proc on /proc type proc (rw)
>> >>
>> >> --skip--
>> >>
>> >> >>>> Вопрос: как быть?
>> >> >>>
>> >> >>> grep -i "rootfs" /etc/sysconfig/init
>> >> >>
>> >> >> REMOUNT_ROOTFS_RW_COMMAND работает только при загрузке. Мне же нужно
>> >> >> правильно перемонтировать в RO при выключении.
>> >> >
>> >> > Зачем? Вы используете не-RO-корень по NFS?
>> >>
>> >> Да.
>> >
>> > Зачем?
>>
>> А почему бы и нет? ;)
>>
>> nfsroot используются не только на теминал-клиентах. На ARM'ах так часто
>> делаю.
>
> Для / ?

Да. Только так на некоторых железках можно получить нормальное окружение
для разработчика.

> Для экслюзивного RW-доступа к разделу ИМХО лучше блочное устройство
> подключить.

Ну нету на этой железке IDE/SATA/USB/Fireware. Как вариант -- iSCSI, но nfsroot
привычней.

> Да и то, в любом случае, в RW на / нет необходимости.

Для пользователя нет не обходимости. Для разработчика/тестера может
понадобиться.

  reply	other threads:[~2009-09-15 14:24 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-14 20:00 Slava Dubrovskiy
2009-09-14 20:08 ` Led
2009-09-14 20:14   ` Slava Dubrovskiy
2009-09-14 22:47     ` Led
2009-09-15 12:42       ` Slava Dubrovskiy
2009-09-15 13:45         ` Led
2009-09-15 13:58           ` Kirill A. Shutemov
2009-09-15 14:04             ` Led
2009-09-15 14:24               ` Kirill A. Shutemov [this message]
2009-09-15 19:32                 ` Yura Kalinichenko
2009-09-15 20:15                   ` Kirill A. Shutemov
2009-09-16  8:05                     ` Yura Kalinichenko
2009-09-15 14:46           ` Slava Dubrovskiy
2009-09-15 15:21             ` Sergey Bolshakov
2009-09-15 20:20               ` Slava Dubrovskiy
2009-09-15 21:06                 ` Led
2009-09-15 22:34                 ` Sergey Bolshakov
2009-09-15 22:46                   ` Led
2009-09-15 20:19               ` Slava Dubrovskiy
2009-09-15 21:08                 ` Led
2009-09-16 16:53                   ` Slava Dubrovskiy
2009-09-16 18:00                     ` Led
2009-09-16 18:30                       ` Slava Dubrovskiy
2009-09-16 18:35                         ` Kirill A. Shutemov
2009-09-16 19:50                         ` Led
2009-09-16 20:41                           ` Slava Dubrovskiy
2009-09-16 20:58                             ` Led
2009-09-16 21:03                               ` Slava Dubrovskiy
2009-09-16 21:30                                 ` Led
2009-09-16 21:12                               ` Kirill A. Shutemov
2009-09-16 21:19                                 ` Led
2009-09-18 18:41                                   ` Michael Shigorin
2009-09-18 19:40                                     ` Led
2009-09-18 20:42                                       ` Konstantin Pavlov
2009-09-18 20:58                                         ` Led
2009-09-21 12:48                                           ` [sisyphus] Монтирование /var на ro корень на NFS Slava Dubrovskiy
2009-09-21 12:58                                             ` Led
2009-09-21 13:00                                               ` Led
2009-09-21 13:04                                               ` Slava Dubrovskiy
2009-09-21 19:49                                             ` Yura Kalinichenko
2009-09-17  8:54                         ` [sisyphus] Перемонтирование корня на NFS в ro Serge Ryabchun
2009-09-18 21:01                           ` Slava Dubrovskiy
2009-09-19  6:01                             ` Michael A. Kangin
2009-09-19  7:51                               ` Kirill A. Shutemov
2009-09-21  3:55                                 ` Eugene Prokopiev
2009-09-21  4:33                                   ` Kirill A. Shutemov
2009-09-21  3:55                               ` Eugene Prokopiev
2009-09-21  7:25                                 ` Michael A. Kangin

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=cc557aab0909150724v3ca77e4fpda067f766e7ca07b@mail.gmail.com \
    --to=kirill@shutemov.name \
    --cc=ledest@gmail.com \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git