Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #262016

Re: swap-fle on arm64, need to disable, how?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: swap-fle on arm64, need to disable, how?
Date 2023-09-30 20:20 +0200
Message-ID <HjMJk-cD75-5@gated-at.bofh.it> (permalink)
References <HjrbP-cpWt-11@gated-at.bofh.it> <Hjrlv-cpZD-3@gated-at.bofh.it> <Hjsrg-cqBN-19@gated-at.bofh.it> <Hjtnj-craX-7@gated-at.bofh.it> <HjCAh-cx01-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat 30 Sep 2023 at 03:26:19 (-0400), gene heskett wrote:
> On 9/29/23 17:32, Andy Smith wrote:
> > On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene heskett wrote:
> > > cnc@rpi4:/etc$ sudo swapon -s
> > > Filename                                Type            Size Used
> > > Priority
> > > /dev/zram0                              partition       1048572 98304
> > > 100
> > > /dev/sda2                               partition       9859068 0
> > > -3
> > > 
> > > I need it to forget zram0 and use the swap on sda2
> > 
> > You didn't respond to the part about /etc/fstab so we have no idea
> > if you found the information you needed.
> 
> I didn't find the swap listed in the fstab, its apparently setup
> someplace else in debian 12 for arm64's, so I've not finalized that
> yet.  Awaiting guidance.
> 
> > Assuming you did find the errant entry in /etc/fstab, a sequence of:
> > 
> > 1. swapoff -a
> > 2. edit /etc/fstab to be correct
> > 3. swapon -a
> 
> I'd also point out that despite the presence of the above listed swap,
> swapon -a and swapoff -a, does not enable it, I have to mount it by
> hand.
> > 
> > should change things to how you want them.

IMO you're being blinded by /etc/fstab and -a. Rather, use /proc/swaps
to see what the kernel knows, and stop using -a. Cut and paste what
you do and the output, rather than all this "doesn't work" etc.

I'm guessing that on a parallel track, you need to examine the startup
files of whatever this beast is, presumably not Debian, and find some
occurrence of swapon that you can, in your jargon, "nuke".

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-29 21:20 +0200
  Re: swap-fle on arm64, need to disable, how? Andy Smith <andy@strugglers.net> - 2023-09-29 21:30 +0200
    Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-29 22:40 +0200
      Re: swap-fle on arm64, need to disable, how? Andy Smith <andy@strugglers.net> - 2023-09-29 23:40 +0200
        Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-30 09:30 +0200
          Re: swap-fle on arm64, need to disable, how? Andy Smith <andy@strugglers.net> - 2023-09-30 13:50 +0200
            Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-30 17:20 +0200
              Re: swap-fle on arm64, need to disable, how? Andy Smith <andy@strugglers.net> - 2023-09-30 22:20 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 02:30 +0200
                Re: swap-fle on arm64, need to disable, how? Curt <curty@free.fr> - 2023-10-01 17:10 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 19:00 +0200
          Re: swap-fle on arm64, need to disable, how? David Wright <deblis@lionunicorn.co.uk> - 2023-09-30 20:20 +0200
      Re: swap-fle on arm64, need to disable, how? Max Nikulin <manikulin@gmail.com> - 2023-09-30 03:30 +0200
  Re: swap-fle on arm64, need to disable, how? Matthias Böttcher <matthias.boettcher@gmail.com> - 2023-09-30 19:30 +0200
    Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-09-30 20:00 +0200
      Re: swap-fle on arm64, need to disable, how? Greg Wooledge <greg@wooledge.org> - 2023-09-30 20:20 +0200
        Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 01:50 +0200
        Re: swap-fle on arm64, need to disable, how? Max Nikulin <manikulin@gmail.com> - 2023-10-01 10:20 +0200
      Re: swap-fle on arm64, need to disable, how? Matthias Böttcher <matthias.boettcher@gmail.com> - 2023-09-30 21:30 +0200
    Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 00:40 +0200
      Re: swap-fle on arm64, need to disable, how? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-01 04:30 +0200
      Re: swap-fle on arm64, need to disable, how? hw <hw@adminart.net> - 2023-10-01 05:30 +0200
        Re: swap-fle on arm64, need to disable, how? Max Nikulin <manikulin@gmail.com> - 2023-10-01 10:10 +0200
          Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 11:10 +0200
            Re: swap-fle on arm64, need to disable, how? Greg Wooledge <greg@wooledge.org> - 2023-10-01 15:00 +0200
              Re: swap-fle on arm64, need to disable, how? "Andrew M.A. Cater" <amacater@einval.com> - 2023-10-01 15:40 +0200
                Re: swap-fle on arm64, need to disable, how? David Wright <deblis@lionunicorn.co.uk> - 2023-10-01 17:40 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 19:00 +0200
              Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 18:50 +0200
                Re: swap-fle on arm64, need to disable, how? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-01 20:10 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 21:20 +0200
                Re: swap-fle on arm64, need to disable, how? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-10-02 00:50 +0200
                Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-04 10:10 +0200
        Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-01 10:40 +0200
          Re: swap-fle on arm64, need to disable, how? David Wright <deblis@lionunicorn.co.uk> - 2023-10-01 17:40 +0200
          Re: swap-fle on arm64, need to disable, how? hw <hw@adminart.net> - 2023-10-01 22:10 +0200
            Re: swap-fle on arm64, need to disable, how? gene heskett <gheskett@shentel.net> - 2023-10-02 02:00 +0200
            Re: swap-fle on arm64, need to disable, how? Max Nikulin <manikulin@gmail.com> - 2023-10-03 04:40 +0200

csiph-web