From: Vladimir Zhukov <bertis@altlinux.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: [Comm] Проблема со swap Date: Tue, 10 Jun 2008 02:28:50 +0400 Message-ID: <484DAEA2.1050707@altlinux.ru> (raw) Приветствую сообщество! В какой-то момент при загрузке системы перестал запускаться своп. Ситуация следующая: $ sudo fdisk -l /dev/sdb Disk /dev/sdb: 250.0 GB, 250058268160 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x2f12e3c2 Device Boot Start End Blocks Id System /dev/sdb1 1 261 2096451 82 Linux swap / Solaris /dev/sdb2 262 1913 13269690 83 Linux /dev/sdb3 1914 21426 156738172+ 83 Linux /dev/sdb4 21427 30401 72091687+ 5 Extended /dev/sdb5 * 21427 23104 13478503+ 83 Linux /dev/sdb6 23105 30401 58613121 83 Linux [bertis@localhost ~]$ sudo cat /etc/fstab proc /proc proc nosuid,noexec,gid=proc 0 0 devpts /dev/pts devpts nosuid,noexec,gid=tty,mode=620 0 0 tmpfs /tmp tmpfs nosuid 0 0 UUID=e4ab6faf-4e8f-46f0-a701-ab6d4b0cc9f5 / ext3 defaults 1 1 UUID=9e4f46c6-6636-4d53-9a21-0d5e8320c9cf /home ext3 nosuid 1 2 UUID=4a44e30f-a505-42f1-91d6-75098f4ccf94 swap swap defaults 0 0 ... [bertis@localhost ~]$ sudo swapon -a [bertis@localhost ~]$ free total used free shared buffers cached Mem: 1035532 966064 69468 0 83100 563528 -/+ buffers/cache: 319436 716096 Swap: 0 0 0 [bertis@localhost ~]$ sudo swapon /dev/sdb1 [bertis@localhost ~]$ free total used free shared buffers cached Mem: 1035532 968252 67280 0 83692 564068 -/+ buffers/cache: 320492 715040 Swap: 2096440 0 2096440 То есть запускается только вручную при явном указани раздела. Попробовал так: [bertis@localhost ~]$ sudo swapoff /dev/sdb1 [bertis@localhost ~]$ sudo mkswap /dev/sdb1 Setting up swapspace version 1, size = 2096444 KiB no label, UUID=40b7b91d-db6b-4985-bd44-2192ee8d8998 [bertis@localhost ~]$ Указанный UUID не соответствует тому, что прописан в fstab. Подозреваю, что дело в этом, но не знаю, что в такой ситуации следует делать. Хелп!
next reply other threads:[~2008-06-09 22:28 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-06-09 22:28 Vladimir Zhukov [this message] 2008-06-09 23:45 ` Ilja Raskin 2008-06-10 3:30 ` Хихин Руслан 2008-06-10 15:59 ` Vladimir Zhukov
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=484DAEA2.1050707@altlinux.ru \ --to=bertis@altlinux.ru \ --cc=community@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 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