Re: Swap a good drive to another computer

2024-11-28 Thread David Christensen
On 11/28/24 03:47, Tom Browder wrote: My main computer is acting strangely as if it has either memory issues or some other hardware problem. I have not had any time to do any diagnosis. As a quick solution, could I swap the single SSD to another computer and expect it to boot up? Thanks, and

Re: Swap a good drive to another computer

2024-11-28 Thread Tom Browder
On Thu, Nov 28, 2024 at 10:46 songbird wrote: … > you may still have some issues, but i'd say it would be > worth a try. > > you may need to change your bios or efi settings. > Thanks, songbird! Best Regards, -Tom

Re: Swap a good drive to another computer

2024-11-28 Thread Tom Browder
On Thu, Nov 28, 2024 at 06:59 Roberto C. Sánchez wrote: … may break. However, you should have a sufficiently functional system to > be able to deal with those things. Thanks, Roberto! Best regards, -Tom

Re: Swap a good drive to another computer

2024-11-28 Thread songbird
Tom Browder wrote: > My main computer is acting strangely as if it has either memory issues or > some other hardware problem. I have not had any time to do any diagnosis. > > As a quick solution, could I swap the single SSD to another computer and > expect it to boot up? > &

Re: Swap a good drive to another computer

2024-11-28 Thread Tom Browder
On Thu, Nov 28, 2024 at 06:59 wrote: … > Most probably you won't break anything -- but doing a backup is a good > idea anyway, if you hold your data dear. Thanks, Tomas, I do have good backups! Best regards, -Tom

Re: Swap a good drive to another computer

2024-11-28 Thread Lists
On 2024-11-28 12:47, Tom Browder wrote: My main computer is acting strangely as if it has either memory issues or some other hardware problem. I have not had any time to do any diagnosis. As a quick solution, could I swap the single SSD to another computer and expect it to boot up? Thanks

Re: Swap a good drive to another computer

2024-11-28 Thread Roberto C . Sánchez
On Thu, Nov 28, 2024 at 06:47:44AM -0500, Tom Browder wrote: >My main computer is acting strangely as if it has either memory issues or >some other hardware problem. I have not had any time to do any diagnosis. >As a quick solution, could I swap the single SSD to another com

Re: Swap a good drive to another computer

2024-11-28 Thread tomas
On Thu, Nov 28, 2024 at 06:47:44AM -0500, Tom Browder wrote: > My main computer is acting strangely as if it has either memory issues or > some other hardware problem. I have not had any time to do any diagnosis. > > As a quick solution, could I swap the single SSD to another

Swap a good drive to another computer

2024-11-28 Thread Tom Browder
My main computer is acting strangely as if it has either memory issues or some other hardware problem. I have not had any time to do any diagnosis. As a quick solution, could I swap the single SSD to another computer and expect it to boot up? Thanks, and Happy Thanksgiving! -Tom

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-29 Thread Jonathan Dowland
On Wed Apr 24, 2024 at 1:50 PM BST, Richard wrote: > upon gathering my thoughts for answering to you I found the solution to > this: update-initramfs can't handle the case that crypttab ends in the line > of the last entry and not in a new line character. I think there either > should be a fix for

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-26 Thread John Crawley
next character was itself a newline or not.¹ So using an empty line approach, you might find yourself looking at a screen like: Last character position on the screen ---↓ swap LABEL= … … … … … … … … … … … … … … … … … … … … … =512 $ Now, is that an empty line before the

Last line [was: Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition]

2024-04-26 Thread Max Nikulin
On 26/04/2024 10:56, David Wright wrote: Editor examples: a windowed emacs buffer has a ≣ decoration at the extreme left edge after the last line of text, so that you can distinguish an absence of lines from empty lines. Perhaps that decoration should be explicitly enabled. However it reminded

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-25 Thread David Wright
rtup script > > that cat'd its configuration file for that very reason. It taught me > > the habit of always finishing files with a blank comment line: > > > > $ cat /etc/crypttab > > # > > swapLABEL=cryptswap /dev/urandom > >

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-25 Thread John Crawley
sulting in such fatal errors. Some time at the end of the last century, I remember some startup script that cat'd its configuration file for that very reason. It taught me the habit of always finishing files with a blank comment line: $ cat /etc/crypttab # swapLABEL=cr

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-24 Thread David Wright
such fatal errors. Some time at the end of the last century, I remember some startup script that cat'd its configuration file for that very reason. It taught me the habit of always finishing files with a blank comment line: $ cat /etc/crypttab # swapLABEL=cryptswap /dev/ur

Re: [SOLVED] Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-24 Thread Richard
-b911-6531b684e3f7 /crypto_keyfile.bin > > luks,keyscript=/bin/cat > > initramfs extract line from /etc/crypttab to create its own crypttab > as you have seen in main/cryptroot/crypttab, and only for rootfs, not for > swap > > > Now, is this a bug in the package or am I m

Re: Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-24 Thread Richard
Hello Hans, this is exactly what I did. To be precise, I followed this guide [1], with the difference that instead of "crypt" I used the actual name, luks- (Disks thanksfully shows everything relevant). It's not the first time I'm doing this. Yet I experience the errors mentioned. Sure, I'm not usi

Re: Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-24 Thread Michel Verdier
gt; luks,keyscript=/bin/cat initramfs extract line from /etc/crypttab to create its own crypttab as you have seen in main/cryptroot/crypttab, and only for rootfs, not for swap > Now, is this a bug in the package or am I missing something? And how do I > create a working initramfs now? swap

Re: Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-23 Thread Hans
Am Dienstag, 23. April 2024, 22:26:17 CEST schrieb Richard: Hi Richard, this is, what I am doing when this happens: 1. booting into a live system (any new is working, I prefer kali-linux) 2. If you are using encrypted filesystems, open it. But you have to name it like it is named in / etc/crypt

Trouble/bug with initramfs-tools adding encrypted swap partition

2024-04-23 Thread Richard
Hi, I've just set up a new computer with Debian Testing. I initially set it up without a swap partition, but I want to add it now. The partition has already been created as a LUKS2 partition, but I can't get update-initramfs to add it so it will automatically be decrypted at boot (both

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

2023-10-04 Thread gene heskett
On 10/1/23 18:46, Stefan Monnier wrote: There I disagree, Greg, it makes a handy download tool, directly from wherever, directly to the machine that needs it. That, apt/synaptic and git are the major net tools I use. Obviously I'm not trying to run them simultaneously. Every machine here 7 ATM,

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

2023-10-02 Thread Max Nikulin
is fair in the case of RAM size of 16G. If a board has just 2G of RAM then you need to be really lucky to get extra 2G by compression. Perhaps Gene's setup is no optimal, but swap on SSD, despite its disadvantages, may be an alternative to using a more performant board for buildi

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

2023-10-01 Thread gene heskett
systemctl disable dphys-swapfile.service . However that did give me a clue about getting rid of zram0, which has been done now, thank you. Now I hope to uncomment the SSD line in fstab. Well, zram is the way to go; why would you still use swap partitions or swap files instead? Are you deliberately

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

2023-10-01 Thread Stefan Monnier
>>> There I disagree, Greg, it makes a handy download tool, directly >>> from wherever, directly to the machine that needs it. That, >>> apt/synaptic and git are the major net tools I use. Obviously I'm >>> not trying to run them simultaneously. Every machine here 7 ATM, can >>> browse the net, m

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

2023-10-01 Thread hw
l stop dphys-swapfile.service > > > > sudo systemctl disable dphys-swapfile.service > > > > > > > > . > > > However that did give me a clue about getting rid of zram0, which has > > > been done now, thank you. Now I hope to uncomment the SSD line in

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

2023-10-01 Thread gene heskett
On 10/1/23 14:06, Stefan Monnier wrote: There I disagree, Greg, it makes a handy download tool, directly from wherever, directly to the machine that needs it. That, apt/synaptic and git are the major net tools I use. Obviously I'm not trying to run them simultaneously. Every machine here 7 ATM,

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

2023-10-01 Thread Stefan Monnier
> There I disagree, Greg, it makes a handy download tool, directly from > wherever, directly to the machine that needs it. That, apt/synaptic and git > are the major net tools I use. Obviously I'm not trying to run them > simultaneously. Every machine here 7 ATM, can browse the net, making it ver

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

2023-10-01 Thread gene heskett
On 10/1/23 11:01, Curt wrote: On 2023-10-01, gene heskett wrote: Andy, with good luck, you may make to your 89th birthday, which with good luck I'll celebrate next Wednesday. I certainly hope you do. By then you will not see any humor in trying to remember what, if anything, you had for brea

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

2023-10-01 Thread gene heskett
On 10/1/23 09:39, Andrew M.A. Cater wrote: On Sun, Oct 01, 2023 at 08:58:36AM -0400, Greg Wooledge wrote: On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: You've a good view of this hw. However swap is not important to run linuxcnc, in fact its to be avoided because it messes

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

2023-10-01 Thread gene heskett
On 10/1/23 08:59, Greg Wooledge wrote: On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: You've a good view of this hw. However swap is not important to run linuxcnc, in fact its to be avoided because it messes with realtime response. Linuxcnc needs, even with much of the co

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

2023-10-01 Thread David Wright
On Sun 01 Oct 2023 at 13:39:17 (+), Andrew M.A. Cater wrote: > On Sun, Oct 01, 2023 at 08:58:36AM -0400, Greg Wooledge wrote: > > On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: > > > You've a good view of this hw. However swap is not important to run >

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

2023-10-01 Thread David Wright
o uncomment the SSD line in fstab. > > > > Well, zram is the way to go; why would you still use swap partitions > > or swap files instead? Are you deliberately trying to wear out your > > SSDs or to slow down your computer? > > > zram is probably the way to go for

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

2023-10-01 Thread Darac Marjal
On 01/10/2023 09:31, gene heskett wrote: Fedora has it by default since a while, and at first I thought it's a very stupid idea.  In practise, I can't be bothered anymore to create these annoying swap partitions.  They're only a waste of disc space. There haven't been any

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

2023-10-01 Thread Curt
On 2023-10-01, gene heskett wrote: >> > Andy, with good luck, you may make to your 89th birthday, which with > good luck I'll celebrate next Wednesday. I certainly hope you do. By > then you will not see any humor in trying to remember what, if anything, > you had for breakfast this morning.

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

2023-10-01 Thread Andrew M.A. Cater
On Sun, Oct 01, 2023 at 08:58:36AM -0400, Greg Wooledge wrote: > On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: > > You've a good view of this hw. However swap is not important to run > > linuxcnc, in fact its to be avoided because it messes with realtime &g

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

2023-10-01 Thread Greg Wooledge
On Sun, Oct 01, 2023 at 05:07:48AM -0400, gene heskett wrote: > You've a good view of this hw. However swap is not important to run > linuxcnc, in fact its to be avoided because it messes with realtime > response. Linuxcnc needs, even with much of the control offloaded to mesa >

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

2023-10-01 Thread gene heskett
On 10/1/23 04:05, Max Nikulin wrote: On 01/10/2023 10:21, hw wrote: Well, zram is the way to go; why would you still use swap partitions or swap files instead? The topic of this thread is a *Pi board. It does not have as much RAM as significant part of x86_64 laptops and desktops with

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

2023-10-01 Thread gene heskett
rid of zram0, which has been done now, thank you. Now I hope to uncomment the SSD line in fstab. Well, zram is the way to go; why would you still use swap partitions or swap files instead? Are you deliberately trying to wear out your SSDs or to slow down your computer? zram is probably the way to

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

2023-10-01 Thread Max Nikulin
On 01/10/2023 01:16, Greg Wooledge wrote: On Sat, Sep 30, 2023 at 01:50:57PM -0400, gene heskett wrote: cnc@rpi4:/etc$ sudo dphys-swapfile swapoff sudo: dphys-swapfile: command not found ... unicorn:~$ apt-cache search dphys swap dphys-swapfile - Autogenerate and use a swap file From my

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

2023-10-01 Thread Max Nikulin
On 01/10/2023 10:21, hw wrote: Well, zram is the way to go; why would you still use swap partitions or swap files instead? The topic of this thread is a *Pi board. It does not have as much RAM as significant part of x86_64 laptops and desktops with installed Fedora. It seems, Gene it trying

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

2023-09-30 Thread hw
give me a clue about getting rid of zram0, which has > been done now, thank you. Now I hope to uncomment the SSD line in fstab. Well, zram is the way to go; why would you still use swap partitions or swap files instead? Are you deliberately trying to wear out your SSDs or to slow down your comp

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

2023-09-30 Thread Stefan Monnier
> But I cannot label the partition. At least not with gparted. I did > generate a new blkid then put the partuuid in fstab, rebooted it and > that worked. This sounds to me like a subliminal message telling me "see all the pain you avoided by using LVM instead". Stefan

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

2023-09-30 Thread gene heskett
heskett wrote: Swap file is the last thing I want, much slower than a swap partition. There has been no performance difference between swap files and swap partitions for more than a decade. Maybe on wintel stuff, but the u-sd card the pi runs on has a write speed below 10 megs/second, an extremely

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

2023-09-30 Thread gene heskett
On 9/30/23 14:16, Greg Wooledge wrote: search dphys swap Something I need to learn. But its been yonks since I last needed that. Anyway, problem is solved, Thank you. Take care ad stay well. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot,

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

2023-09-30 Thread gene heskett
in fstab. So I've re-partitioned & reformatted the 120G SSD to a gpt partition table eith 10G of swap and a hair over 110G of ext4 for workspace. But that is still no good. I can sudo swapon /dev/sda1 & sudo swapon -a now works, but sudo swapon -s returns nothing. But I can

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

2023-09-30 Thread Andy Smith
04PM -0400, gene heskett wrote: > > > > > Swap file is the last thing I want, much slower than a swap partition. > > > > > > > > There has been no performance difference between swap files and > > > > swap partitions for more than a decade. > > > >

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

2023-09-30 Thread Matthias Böttcher
ailed to stop dphys-swapfile.service: Unit dphys-swapfile.service not > loaded. > cnc@rpi4:/etc$ sudo systemctl disable dphys-swapfile.service > Failed to disable unit: Unit file dphys-swapfile.service does not exist. > > What I'm trying to do is get rid of zram0, which is being used a

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

2023-09-30 Thread Greg Wooledge
o systemctl disable dphys-swapfile.service > Failed to disable unit: Unit file dphys-swapfile.service does not exist. Come now, you should be able to figure this shit out by now, Gene. unicorn:~$ apt-cache search dphys swap dphys-swapfile - Autogenerate and use a swap file I've never

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

2023-09-30 Thread David Wright
d > > > Priority > > > /dev/zram0 partition 1048572 98304 > > > 100 > > > /dev/sda2 partition 9859068 0 > > > -3 > > > > > > I need it to forget zram0 and use th

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

2023-09-30 Thread gene heskett
s get rid of zram0, which is being used as swap, and sub real swap on an SSD in its place. And zram0 is not listed in fstab, but swapon finds it. Thank you, Matthias Böttcher Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Ple

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

2023-09-30 Thread Matthias Böttcher
sudo dphys-swapfile swapoff sudo systemctl stop dphys-swapfile.service sudo systemctl disable dphys-swapfile.service

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

2023-09-30 Thread gene heskett
On 9/30/23 07:46, Andy Smith wrote: Hello, On Sat, Sep 30, 2023 at 03:26:19AM -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: Swap file is the last thing I want, much slower than a swap partition. There has been

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

2023-09-30 Thread Andy Smith
Hello, On Sat, Sep 30, 2023 at 03:26:19AM -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: > > > Swap file is the last thing I want, much slower than a swap partition. > > > >

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

2023-09-30 Thread gene heskett
On 9/29/23 17:32, Andy Smith wrote: Hello, On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene heskett wrote: On 9/29/23 15:21, Andy Smith wrote: On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd card I need to

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

2023-09-29 Thread Max Nikulin
On 30/09/2023 03:36, gene heskett wrote: On 9/29/23 15:21, Andy Smith wrote: On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd cnc@rpi4:/etc$ sudo swapon -s Filename   

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

2023-09-29 Thread Andy Smith
Hello, On Fri, Sep 29, 2023 at 04:36:04PM -0400, gene heskett wrote: > On 9/29/23 15:21, Andy Smith wrote: > > On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: > > > I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd > > > card I

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

2023-09-29 Thread gene heskett
On 9/29/23 15:21, Andy Smith wrote: Hello, On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd card I need to turn off the swap file, and swapon -a the SSD stuff. Have you looked in /etc/fstab where as you

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

2023-09-29 Thread Andy Smith
Hello, On Fri, Sep 29, 2023 at 03:15:54PM -0400, gene heskett wrote: > I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd card I > need to turn off the swap file, and swapon -a the SSD stuff. Have you looked in /etc/fstab where as you know filesystem mounts are de

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

2023-09-29 Thread gene heskett
Greetings all; I have SSD's for swap on an rpi4b, so to lessen the abuse of the u-sd card I need to turn off the swap file, and swapon -a the SSD stuff. How? Thnaks all. Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and am

Re: Swap size in debain 12

2023-08-13 Thread Andy Smith
Hello, On Sun, Aug 13, 2023 at 01:38:35PM +0100, Darac Marjal wrote: > If it's useful, you *can* Hibernate to a swap file. > https://wiki.debian.org/Hibernation/Hibernate_Without_Swap_Partition It > looks a little flaky, though, because you need to tell the kernel how many > by

Re: Swap size in debain 12

2023-08-13 Thread Darac Marjal
On 12/08/2023 15:32, Erwan David wrote: Le 12/08/2023 à 16:24, David Wright a écrit : On Sat 12 Aug 2023 at 15:45:52 (+0200), Erwan David wrote: Installing a new debian 12 I see that the installer setups a 1G swap on a 24G RAM laptop. Is the hibernation out of swap now ? (I chose to have a

Re: Swap size in debain 12

2023-08-12 Thread Andrew M.A. Cater
On Sat, Aug 12, 2023 at 04:32:34PM +0200, Erwan David wrote: > Le 12/08/2023 à 16:24, David Wright a écrit : > > On Sat 12 Aug 2023 at 15:45:52 (+0200), Erwan David wrote: > > > Installing a new debian 12 I see that the installer setups a 1G swap > > > on a 24G RAM

Re: Swap size in debain 12

2023-08-12 Thread Erwan David
Le 12/08/2023 à 16:24, David Wright a écrit : On Sat 12 Aug 2023 at 15:45:52 (+0200), Erwan David wrote: Installing a new debian 12 I see that the installer setups a 1G swap on a 24G RAM laptop. Is the hibernation out of swap now ? (I chose to have a biigger swap, but I find it strange) The

Re: Swap size in debain 12

2023-08-12 Thread David Wright
On Sat 12 Aug 2023 at 15:45:52 (+0200), Erwan David wrote: > Installing a new debian 12 I see that the installer setups a 1G swap > on a 24G RAM laptop. > > Is the hibernation out of swap now ? (I chose to have a biigger swap, > but I find it strange) The arguments are rehears

Swap size in debain 12

2023-08-12 Thread Erwan David
Installing a new debian 12 I see that the installer setups a 1G swap on a 24G RAM laptop. Is the hibernation out of swap now ? (I chose to have a biigger swap, but I find it strange) -- Erwan David

Re: Help: disk swap

2022-08-02 Thread Chuck Zmudzinski
On 7/27/2022 1:51 PM, Erik Mathis wrote: > I would look at the UEFI vs BIOS boot options in the "backup" server and > compare it to the "broken" server and make sure they are the same. Also check > for BIOS updates and such. > > > -Erik- > > > On Wed, Jul 27, 2022 at 7:59 AM tony wrote: > >

Re: Help: disk swap

2022-08-02 Thread mick.crane
On 2022-08-02 05:17, David wrote: And then use something like this: https://www.newegg.com/sabrent-ec-dflt-dock/p/N82E16817366069 to connect disk "A" to machine "B". StarTech external caddies/connectors seem OK. mick

Re: Help: disk swap

2022-08-02 Thread Jude DaShiell
The second disk would need to be connected to the running linux in some way either by a disk dock or a disk caddy such that the running linux could find the second disk using lsblk and blkid. Once located, parted -a optimal /dev/xxx and then print to show the partition table then quit on /dev/xxx

Re: Help: disk swap

2022-08-01 Thread David
On Tue, 2 Aug 2022 at 13:25, David Wright wrote: > On Thu 28 Jul 2022 at 14:29:32 (+0100), tony van der Hoff wrote: > > On 27/07/2022 16:07, Jude DaShiell wrote: > > Thanks for your help. Sadly, I'm not getting very far with this. I > > guess I'm not understanding your instructions too well: > >

Re: Help: disk swap

2022-08-01 Thread David Wright
On Thu 28 Jul 2022 at 14:29:32 (+0100), tony van der Hoff wrote: > Thanks for your help. Sadly, I'm not getting very far with this. I > guess I'm not understanding your instructions too well: > > On 27/07/2022 16:07, Jude DaShiell wrote: > > Have the running linux system on the machine. Run lsblk

Re: Help: disk swap

2022-07-28 Thread David
On Fri, 29 Jul 2022 at 02:32, Jude DaShiell wrote: > > Then your new /etc/fstab record should > look like: > The email program split that line all > of that should be on one line > space-separated. hth. > 3fe30767-f7d7-4e6d-b48e-f80eef2d4b71 > /dev/sda9 ext4 defaults,nofail 1 2 Although it does

Re: Help: disk swap

2022-07-28 Thread Jude DaShiell
Then your new /etc/fstab record should look like: The email program split that line all of that should be on one line space-separated. hth. 3fe30767-f7d7-4e6d-b48e-f80eef2d4b71 /dev/sda9 ext4 defaults,nofail 1 2 On Thu, 28 Jul 2022, tony van der Hoff wrote: > Thanks for your help. Sadly, I'm not

Re: Help: disk swap

2022-07-27 Thread Charlie Gibbs
On Wed Jul 27 10:30:05 2022 tony wrote: > I turned on my main home server after a few weeks absence, and got > smoke from its power supply. Fortunately, I have a backup system, > which does work; both are running Debian 10, so I swapped use to that > machine. and am able to work with that, but

Re: Help: disk swap

2022-07-27 Thread Erik Mathis
I would look at the UEFI vs BIOS boot options in the "backup" server and compare it to the "broken" server and make sure they are the same. Also check for BIOS updates and such. -Erik- On Wed, Jul 27, 2022 at 7:59 AM tony wrote: > Hi, > > I turned on my main home server after a few weeks abse

Re: Help: disk swap

2022-07-27 Thread Felix Miata
tony composed on 2022-07-27 12:37 (UTC+0100): > I turned on my main home server after a few weeks absence, and got > smoke from its power supply. Fortunately, I have a backup system, which > does work; both are running Debian 10, so I swapped use to that machine. > and am able to work with that,

Re: Help: disk swap

2022-07-27 Thread David Christensen
On 7/27/22 04:37, tony wrote: Hi, I turned on my main home server after a few weeks absence, and got smoke from its power supply. Fortunately, I have a backup system, which does work; both are running Debian 10, so I swapped use to that machine. and am able to work with that, but some of the fi

Re: Help: disk swap

2022-07-27 Thread gene heskett
On 7/27/22 08:02, tony wrote: Hi, I turned on my main home server after a few weeks absence, and got smoke from its power supply. Fortunately, I have a backup system, which does work; both are running Debian 10, so I swapped use to that machine. and am able to work with that, but some of the fi

Re: Help: disk swap

2022-07-27 Thread Jude DaShiell
Have the running linux system on the machine. Run lsblk to locate the name of the boot partition. Once you have the name run blkid and copy the uuid for use in the end of /etc/fstab and put in the path to the boot device, the disk format ext4, defaults,nofail 1 2 on an fstab entry. Next, run upda

Re: swap maxed out when plenty of RAM available

2022-03-25 Thread Nicholas Geovanis
p out of memory: Killed process > 21065 > > At this point, it killed apt-get. > > Looks like this system doesn't have enough memory to perform its daily > tasks (including what I'm guessing are unattended upgrades, triggering > calls to apt-get from a systemd timer).

Re: swap maxed out when plenty of RAM available

2022-03-25 Thread Greg Wooledge
ory cgroup out of memory: Killed process 21065 At this point, it killed apt-get. Looks like this system doesn't have enough memory to perform its daily tasks (including what I'm guessing are unattended upgrades, triggering calls to apt-get from a systemd timer). You'll either n

Re: swap maxed out when plenty of RAM available

2022-03-25 Thread Adam Weremczuk
Thanks all for picking up a discussion and all the useful hints. The container has been behaving since reboot, using 0 swap ATM. Post-mortem on dhcp service crash is showing 100% memory usage and OOM, still not sure why though: [Tue Mar 22 00:24:10 2022] apt-get invoked oom-killer: gfp_mask

Re: swap maxed out when plenty of RAM available

2022-03-24 Thread Nathanael Schweers
Adam Weremczuk writes: > The container was running like that for several months until this morning > when its core service (dhcp) started failing. Just a wild guess, but do you know what caused dhcp to fail? Was it too little memory? > > I logged in to investigate and noticed

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Charles Kroeger
I use dphys-swapfile this is a system service that auto configures a swap at boot without requiring a static partition. it computes the size of an optimal swap file and or resizes an existing swap file if necessary. it mounts, dismounts, and deletes the swap if not wanted. it doesn&#

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread David Christensen
On 3/22/22 07:55, Adam Weremczuk wrote: Hi all, I run a tiny and lightweight Debian 9.9 LXC container on Proxmox 6.2-6. It has 512 MB of memory and 512 MB of swap assigned and typically needs 50-100 MB to operate. Last year I started seeing about half of swap being used with very little

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Greg Wooledge
On Tue, Mar 22, 2022 at 04:00:23PM -0400, Kenneth Parker wrote: > On Tue, Mar 22, 2022 at 2:17 PM Greg Wooledge wrote: > > > On Tue, Mar 22, 2022 at 01:00:42PM -0500, Nicholas Geovanis wrote: > > > That's the usual issue. The /tmp filesystem is usually configured to live > > > in RAM, > > > > Tha

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Kenneth Parker
On Tue, Mar 22, 2022 at 2:17 PM Greg Wooledge wrote: > On Tue, Mar 22, 2022 at 01:00:42PM -0500, Nicholas Geovanis wrote: > > That's the usual issue. The /tmp filesystem is usually configured to live > > in RAM, > > That's not the default in Debian. Of course, it might have been set up > that wa

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Greg Wooledge
esses. However, this doesn't cause swapped-out pages belonging to other processes to be swapped back in. So, for example, immediately after closing a web browser that was using gobs and gobs of memory, you might see that the "used" memory drops dramatically, and "free" m

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Nicholas Geovanis
On Tue, Mar 22, 2022 at 12:21 PM Dan Ritter wrote: > Charles Curley wrote: > > On Tue, 22 Mar 2022 14:55:34 + > > Adam Weremczuk wrote: > > > > > It has 512 MB of memory and 512 MB of swap assigned and typically > > > needs 50-100 MB to operate.

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Dan Ritter
Charles Curley wrote: > On Tue, 22 Mar 2022 14:55:34 + > Adam Weremczuk wrote: > > > It has 512 MB of memory and 512 MB of swap assigned and typically > > needs 50-100 MB to operate. > > The rule of thumb to which I am accustomed is to have a swap space &g

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Greg Wooledge
On Tue, Mar 22, 2022 at 10:35:40AM -0600, Charles Curley wrote: > On Tue, 22 Mar 2022 14:55:34 + > Adam Weremczuk wrote: > > > It has 512 MB of memory and 512 MB of swap assigned and typically > > needs 50-100 MB to operate. > > The rule of thumb to which I am a

Re: swap maxed out when plenty of RAM available

2022-03-22 Thread Charles Curley
On Tue, 22 Mar 2022 14:55:34 + Adam Weremczuk wrote: > It has 512 MB of memory and 512 MB of swap assigned and typically > needs 50-100 MB to operate. The rule of thumb to which I am accustomed is to have a swap space double the physical RAM. If necessary, you can create a swap file a

swap maxed out when plenty of RAM available

2022-03-22 Thread Adam Weremczuk
Hi all, I run a tiny and lightweight Debian 9.9 LXC container on Proxmox 6.2-6. It has 512 MB of memory and 512 MB of swap assigned and typically needs 50-100 MB to operate. Last year I started seeing about half of swap being used with very little use of RAM. I then made the following

Re: Debian 11: Tuning kernel parameters swappiness and watermark_boost_factor to stop SWAP Storm

2022-01-29 Thread Steven J. West
swapping, which indeed is not ideal.. I am modifying my code to batch this procedure to lower the gargantuan memory requirements of my image registration task, but in the meantime, for processes with large memory requirements that may occasionally need to swap, I found this kernel tuning at least

Re: Fwd: Debian 11: Tuning kernel parameters swappiness and watermark_boost_factor to stop SWAP Storm

2022-01-29 Thread Marco Möller
On 28.01.22 22:55, Tixy wrote: On Fri, 2022-01-28 at 17:31 +0100, Marco Möller wrote: On 28.01.22 11:15, Steven J. West wrote: Comparing the Ubuntu and Debian kernel parameters using sudo sysctl -a showed two key differences in virtual memory (vm) management parameters.   * Ubuntu:   o v

Re: Fwd: Debian 11: Tuning kernel parameters swappiness and watermark_boost_factor to stop SWAP Storm

2022-01-29 Thread Andrei POPESCU
On Vi, 28 ian 22, 10:15:58, Steven J. West wrote: > Dear all, > > TL;DR/summary: > >- Tuning vm.watermark_boost_factor to 0 (disable) on Debian >significantly improves performance on memory-intensive tasks that utilise >SWAP space, by stopping preemptive kswapd f

Re: Debian 11: Tuning kernel parameters swappiness and watermark_boost_factor to stop SWAP Storm

2022-01-28 Thread Nicholas Geovanis
On Fri, Jan 28, 2022, 4:33 AM Steven J. West wrote: > Dear all, > > TL;DR/summary: > >- Tuning vm.watermark_boost_factor to 0 (disable) on Debian >significantly improves performance on memory-intensive tasks that utilise >SWAP space, by stopping preemptive ksw

Re: Fwd: Debian 11: Tuning kernel parameters swappiness and watermark_boost_factor to stop SWAP Storm

2022-01-28 Thread Tixy
On Fri, 2022-01-28 at 17:31 +0100, Marco Möller wrote: > On 28.01.22 11:15, Steven J. West wrote: > > Comparing the Ubuntu and Debian kernel parameters using sudo sysctl > > -a > > showed two key differences in virtual memory (vm) management > > parameters. > > > >   * Ubuntu: > >   o vm.swap

Re: Fwd: Debian 11: Tuning kernel parameters swappiness and watermark_boost_factor to stop SWAP Storm

2022-01-28 Thread Marco Möller
On 28.01.22 11:15, Steven J. West wrote: Comparing the Ubuntu and Debian kernel parameters using sudo sysctl -a showed two key differences in virtual memory (vm) management parameters. * Ubuntu: o vm.swappiness=60 o vm.watermark_boost_factor=0 * Debian: o vm.swappiness=10

Fwd: Debian 11: Tuning kernel parameters swappiness and watermark_boost_factor to stop SWAP Storm

2022-01-28 Thread Steven J. West
Dear all, TL;DR/summary: - Tuning vm.watermark_boost_factor to 0 (disable) on Debian significantly improves performance on memory-intensive tasks that utilise SWAP space, by stopping preemptive kswapd freeing of memory, and subsequent page thrashing. - I suggest that Debian should

Re: Bullseye default swap partition size?

2022-01-15 Thread Andrei POPESCU
the Graphical Install option on a Live USB SD. > > > > > > The swap partition size installed on the HD is 1 GB. > > > > > > Buster, etc., used to be about the size of memory, (8 GB in my case,) > > > for the swap partition size. > > > > >

  1   2   3   4   5   6   7   8   9   10   >