ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Тимощенков Павел Васильевич" <piton@eva.dp.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] не работает swapon
Date: Thu, 17 May 2007 10:52:36 +0300
Message-ID: <464C09C4.2080208@eva.dp.ua> (raw)

Заметил следующую проблему:
На установеленной на md рейд систему (зеркало), пытаюсь прикрутить swap 
файл.
Делаю это следующим образом:
dd if=/dev/zero of=swapfile bs=1M count=1024
mkswap /swapfile
swapon /swapfile
строка в fstab:
/swapfile       swap                    swap    defaults        0 0
После перезагрузки в логе получаю:
[root@routerv5 apt]# cat /var/log/messages |grep swap
May 17 13:37:40 routerv5 kernel: Adding 1048568k swap on /swapfile. 
Priority:-1 extents:267 across:2068912k
May 17 13:37:42 routerv5 swapon: swapon: /swapfile: Read-only file system
May 17 13:37:42 routerv5 rc.sysinit: Activating swap partitions: failed
May 17 13:37:42 routerv5 rc.sysinit: Activating swap space: succeeded

Как бороться, никто не сталкивался?



             reply	other threads:[~2007-05-17  7:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-17  7:52 Тимощенков Павел Васильевич [this message]
2007-05-17 15:41 ` Andrew Kornilov
2007-05-17 16:33 ` Dmitry V. Levin
2007-05-18  6:05   ` Тимощенков Павел Васильевич
2007-05-18  9:28     ` Dmitry V. Levin
2007-05-18  9:33       ` Тимощенков Павел Васильевич
2007-05-18  9:37         ` Dmitry V. Levin

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=464C09C4.2080208@eva.dp.ua \
    --to=piton@eva.dp.ua \
    --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