OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: JeGr) »
  • Swap entfernen
« previous next »
  • Print
Pages: [1]

Author Topic: Swap entfernen  (Read 1257 times)

k0ns0l3

  • Full Member
  • ***
  • Posts: 153
  • Karma: 2
  • ..:: Think different, think Linux ::..
    • View Profile
Swap entfernen
« on: April 04, 2022, 08:18:26 pm »
Weiß jemand wie man den von Sensei erstellten SWAP entfernt?
Danke und viele Grüße  8)

k0ns0l3



Logged
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

Meditux

  • Jr. Member
  • **
  • Posts: 77
  • Karma: 12
    • View Profile
Re: Swap entfernen
« Reply #1 on: April 04, 2022, 09:34:19 pm »
Hi k0ns0l3,

einfach in der /etc/fstab auskommentieren? Mich wundert gerade das bei dir durch Sensei Swap erstellt wurde!

Gruß Meditux
« Last Edit: April 04, 2022, 09:43:33 pm by Meditux »
Logged

k0ns0l3

  • Full Member
  • ***
  • Posts: 153
  • Karma: 2
  • ..:: Think different, think Linux ::..
    • View Profile
Re: Swap entfernen
« Reply #2 on: April 05, 2022, 06:05:58 am »
In der Datei fstab ist nur ein swap eingetragen,

Code: [Select]
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/gpt/rootfs /               ufs     rw              1       1
/dev/gpt/swapfs         none            swap    sw              0       0
fdesc /dev/fd fdescfs rw 0 0
proc /proc procfs rw 0 0

MfG k0ns0l3
Logged
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

pmhausen

  • Hero Member
  • *****
  • Posts: 3081
  • Karma: 268
    • View Profile
Re: Swap entfernen
« Reply #3 on: April 05, 2022, 11:57:04 am »
Was sagt ˋswapinfoˋ?
Logged
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

k0ns0l3

  • Full Member
  • ***
  • Posts: 153
  • Karma: 2
  • ..:: Think different, think Linux ::..
    • View Profile
Re: Swap entfernen
« Reply #4 on: April 05, 2022, 01:55:24 pm »
Code: [Select]
swapinfo
Device          1K-blocks     Used    Avail Capacity
/dev/gpt/swapfs   8388608        0  8388608     0%
/dev/md98         2097152        0  2097152     0%
Total            10485760        0 10485760     0%
Logged
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

pmhausen

  • Hero Member
  • *****
  • Posts: 3081
  • Karma: 268
    • View Profile
Re: Swap entfernen
« Reply #5 on: April 05, 2022, 02:32:38 pm »
Das ist wahrscheinlich kein Swap sondern eine RAM-Disk. Gibt's da bei Sensei vielleicht eine Option, dass eine solche benutzt werden soll?

Was sagt denn `mdconfig -lv`?
Logged
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

KHE

  • Full Member
  • ***
  • Posts: 213
  • Karma: 18
    • View Profile
Re: Swap entfernen
« Reply #6 on: April 05, 2022, 03:06:23 pm »
Hi,

da gibt es im OPNsense Zenarmor (Sensei) board einen Beitrag. Der ist da zwar nur 50 MB groß, aber erklärt ein bisschen.
https://forum.opnsense.org/index.php?topic=25424.0.

KH
Logged

k0ns0l3

  • Full Member
  • ***
  • Posts: 153
  • Karma: 2
  • ..:: Think different, think Linux ::..
    • View Profile
Re: Swap entfernen
« Reply #7 on: April 05, 2022, 03:34:49 pm »
Quote from: pmhausen on April 05, 2022, 02:32:38 pm
Das ist wahrscheinlich kein Swap sondern eine RAM-Disk. Gibt's da bei Sensei vielleicht eine Option, dass eine solche benutzt werden soll?

Was sagt denn `mdconfig -lv`?

Code: [Select]
mdconfig -lv
md98 vnode 2048M /usr/swap0
Logged
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

k0ns0l3

  • Full Member
  • ***
  • Posts: 153
  • Karma: 2
  • ..:: Think different, think Linux ::..
    • View Profile
Re: Swap entfernen
« Reply #8 on: April 05, 2022, 03:39:50 pm »
Quote from: KHE on April 05, 2022, 03:06:23 pm
Hi,

da gibt es im OPNsense Zenarmor (Sensei) board einen Beitrag. Der ist da zwar nur 50 MB groß, aber erklärt ein bisschen.
https://forum.opnsense.org/index.php?topic=25424.0.

KH

Ja das hab ich probiert mit reboot, hat leider auch nichts gebracht.
Logged
"The quieter you become, the more you are able to hear...."

- OS:Debian GNU/Linux sid
- IPU662 System

pmhausen

  • Hero Member
  • *****
  • Posts: 3081
  • Karma: 268
    • View Profile
Re: Swap entfernen
« Reply #9 on: April 05, 2022, 09:10:22 pm »
mdconfig -d -u 98

Wie du das dauerhaft weg kriegst, weiß wohl am besten der Zenarmor support.
Logged
Supermicro A2SDi-4C-HLN4F mainboard and SC101F chassis
16 GB ECC memory
Crucial MX300 275 GB SATA 2.5" plus
Crucial MX300 275 GB SATA M.2 (ZFS mirror)
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: JeGr) »
  • Swap entfernen
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2