ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Slava Dubrovskiy <slava@tangramltd.com>
To: ledest@gmail.com,
	 ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Монтирование /var на ro корень на NFS
Date: Mon, 21 Sep 2009 16:04:00 +0300
Message-ID: <4AB779C0.4020200@tangramltd.com> (raw)
In-Reply-To: <200909211558.34226.ledest@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1494 bytes --]

21.09.2009 15:58, Led пишет:
>> Да проблема есть. Если бы не было то не писал бы.
>>
>> Продолжаю секс :)
>> Решил я пойти по пути наименьшего сопротивления.
>> Сделал корень на ro и одновременно экспортировал /var и /etc чтобы потом
>> их монтировать поверх в rw.
>>
>> И не работает монтирование netfs. :(
>>
>> Т.е. при старте netfs в функции start есть такое:
>>     if [ -n "$NFSFSTAB" ]; then
>>         [ -f /var/lock/subsys/portmap ] ||
>>                 service portmap start
>>         [ -f /var/lock/subsys/portmap ] &&
>>                 action "Mounting NFS filesystems:" mount -a -t nfs,nfs4
>>
>> Но ведь на момент старта portmap, смонтирован только корень в ro. И
>> следовательно /var/lock/subsys/portmap не создается и mount -a -t
>> nfs,nfs4 не запускается.
>> Как это разруливать?
>> Получается что к ro корню никак нельзя подмонтировать /var на nfs?
>>     
> /var должен монтроваться с nolock ДО запуска potmapd
>   
Это я понял уже.
А, да вижу. В скрипте который дергается в REMOUNT_ROOTFS_RW_COMMAND

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3262 bytes --]

  parent reply	other threads:[~2009-09-21 13:04 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-14 20:00 [sisyphus] Перемонтирование корня на NFS в ro 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
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 [this message]
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=4AB779C0.4020200@tangramltd.com \
    --to=slava@tangramltd.com \
    --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