Ist es möglich unter einem laufenden Suse 9.3 system den swap space zu erhöhen?
Danke im voraus
Swap einrichten
-
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: Swap einrichten
Ja. Einfach ein Blockdevice oder eine Datei mit mkswap "formatieren" und mit swapon einbinden.
-
- Posts: 4
- Joined: 2006-12-07 13:30
- Location: Meerbusch
Re: Swap einrichten
Ich bin neuling unter Linux...kannst du mir das vieleicht etwas genauer erklären?
-
- Project Manager
- Posts: 11164
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Swap einrichten
Wenn noch freier (unpartitionierter) Festplattenspeicher vorhanden ist, ja:
Code: Select all
mkswap /dev/[hs]dX && swapon -a
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 4
- Joined: 2006-12-07 13:30
- Location: Meerbusch
Re: Swap einrichten
Das ist ein V-Server ist es da auch möglich?
-
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: Swap einrichten
Nein. Normalerweise sind die entsprechenden Syscalls deaktiviert bzw. du hast in der virtuellen Umgebung nicht die notwendigen Rechte.pbjelonek wrote:Das ist ein V-Server ist es da auch möglich?
-
- Project Manager
- Posts: 11164
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Swap einrichten
Er kann aber ein Swapfile anlegen ;)
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 4
- Joined: 2006-12-07 13:30
- Location: Meerbusch
Re: Swap einrichten
wie mach ich das denn?? bitte genau erklären
-
- Project Manager
- Posts: 11164
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Swap einrichten
Lies die manpage und ich schrieb nicht, dass es auf einem vServer sinnvoll wäre...
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: Swap einrichten
Nein, das geht z. B. mit OpenVZ/Virtuozzo auch nicht, weil das System schon bei mkswap meckert. ;)Joe User wrote:Er kann aber ein Swapfile anlegen ;)
-
- Project Manager
- Posts: 11164
- Joined: 2003-02-27 01:00
- Location: Hamburg
Re: Swap einrichten
Ahh, dann muss er das File halt @home anlegen, oder beachtet OpenVZ auch die fstab nicht?
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.