ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] lvm raid и startup
@ 2009-09-25  8:36 Alexey Borovskoy
  2009-09-25  9:21 ` Dmitry V. Levin
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Borovskoy @ 2009-09-25  8:36 UTC (permalink / raw)
  To: devel

Добрый вечер.

rpm -qf /etc/rc.d/init.d/halt
startup-0.9.8.23-alt1

Я halt немного переделал.

# Unmount all the rest.
UnmountFilesystems 3 5 \
        '$2 != "/" && $2 != "/dev" && $3 != "proc" && $3 != 
"sysfs" && $3 != "loopfs" && !($1 ~ /^none/) {print $2}' \
        'Unmounting filesystem' \
        'Unmounting filesystem (retry)'

# Turn off LVM.
/etc/rc.d/scripts/lvm_stop

# Turn off raid.
/etc/rc.d/scripts/raidstop

# Turn off multipath devices.
/etc/rc.d/scripts/multipath_stop

# Unmount /dev and /sys.
UnmountFilesystems 3 5 \
        '$2 == "/dev" && $2 == "/sys" {print $2}' \
        'Unmounting filesystem' \
        'Unmounting filesystem (retry)'

/sys до остановки lvm и raid размонтировать нельзя. Ибо 
возмущаются.

-- 
Алексей.
GPG key fingerprint
DBB3 1832 13C6 5C96 4A58  4AFF 78F7 159F 66AD 8D7E

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-09-26  0:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-25  8:36 [devel] lvm raid и startup Alexey Borovskoy
2009-09-25  9:21 ` Dmitry V. Levin
2009-09-25  9:39   ` Sergey Y. Afonin
2009-09-25 20:23     ` Dmitry V. Levin
2009-09-25 12:24   ` Alexey Borovskoy
2009-09-25 20:20     ` Dmitry V. Levin
2009-09-26  0:09       ` Alexey Borovskoy

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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