Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2024-05-06 Thread Eric DEGENETAIS
Bonjour, je reprends brièvement cet échange pour un petit REX : premier point, la migration de toutes les machines s'est globalement très bien passée. Le délai avant cette conclusion est dû au fait que j'ai attendu la résolution d'un bug affectant la veille (suspend-to-ram) sur un de mes postes.

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
the 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

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

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

2024-04-25 Thread David Wright
; > 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 > > swap,offset=2048,ci

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

2024-04-25 Thread John Crawley
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=cryptswap /dev/urandom

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

2024-04-24 Thread David Wright
al 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/urandom swap,offse

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

2024-04-24 Thread Richard
3f7 /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 missing somet

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

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-24 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 /

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 have same

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

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 building

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-10-02 Thread Haricophile
Le Mon, 2 Oct 2023 11:16:30 +0200, Eric DEGENETAIS a écrit : > La solution proposée par deboostrap me convient parfaitement. Elle a > d'ailleurs le bénéfice secondaire de passer par un chroot, donc de me > permettre de faire pas mal de travail en parallèle de l'utilisation > de l'OS primaire. Je

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-10-02 Thread Eric DEGENETAIS
Le lun. 2 oct. 2023 à 10:37, Haricophile a écrit : > Hormis la solution intéressante proposée, je ne comprends pas ce qui > empêche de créer plusieurs partitions swap (hormis le gâchis d'espace > disque) ou de fixer le bon UUID dans le système. Ça gâche de l'espace, c'est inutile puis

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-10-02 Thread Haricophile
Le Fri, 29 Sep 2023 16:00:29 +0200, Eric DEGENETAIS a écrit : > Voici le problème : l'installeur me prend la tête avec les partitions > de swap. _ Soit il les refait, et je dois remettre à jour l'OS "de > production" pour éviter un délai au boot lié au fait que les UUID

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,

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

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

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

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 control

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
e 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 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 issues

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 > and s

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

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

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
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 trying to wear out your SSDs or to slow down your co

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 cann

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

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

2023-09-30 Thread Greg Wooledge
sudo 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 eve

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
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. Pleas

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 turn

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    Type

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 know

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 des

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 ammo. P

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread Eric DEGENETAIS
bonsoir, Le ven. 29 sept. 2023 à 18:34, Basile Starynkevitch a écrit : > > > Primo, il y-a-t-il besoin de beaucoup de swap? Si on a beaucoup de RAM, le > swap sert peu (sauf pour l'hibernation). Si on a peu de RAM, il servira > beaucoup. Comme je le disais plus haut, je n'y tie

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread Basile Starynkevitch
suis assuré que tout (devices, logiciels...) fonctionne bien, je bascule le boot par défaut vers cette version (et j'ajoute le montage automatique de la partition home, que j'omets volontairement à l'installation). Voici le problème : l'installeur me prend la tête avec les partitions de swap. _ Soit

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread Eric DEGENETAIS
> > J'avais cru comprendre que vous utilisiez un espace swap par OS installé d'où > vos problèmes... Nope, c'est justement ce que je ne veux PAS faire. Les partitions swap ne sont là que pour ratttraper in-extremis une éventuelle surcharge, pas la peine de les multiplier. >> [...]

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread NoSpam
Le 29/09/2023 à 16:56, Eric DEGENETAIS a écrit : Si les machines utilisent toutes LVM y compris la swap *et* que vous Je ne suis pas sûr de saisir le rapport avec LVM. Ça facilite la modification des partitions, mais je ne vois rien qui interdise de réutiliser une partition de swap taillée à

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread Sébastien NOBILI
Le 2023-09-29 16:44, Eric DEGENETAIS a écrit : bonjour, merci pour cette réponse qui m'intéresse. J'avais déjà croisé ce nom, mais je ne suis pas sûr de savoir ce dont il s'agit. Pour moi c'était surtout destiné à produire les installeurs ou des containers, mais je vois que j'ai intérêt à m'y

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread Eric DEGENETAIS
Le ven. 29 sept. 2023 à 16:14, NoSpam a écrit : > > Bonjour > > Si les machines utilisent toutes LVM y compris la swap *et* que vous Je ne suis pas sûr de saisir le rapport avec LVM. Ça facilite la modification des partitions, mais je ne vois rien qui interdise de réutiliser une

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread Eric DEGENETAIS
Le ven. 29 sept. 2023 à 16:30, Sébastien NOBILI a écrit : > Étant donné ton niveau de connaissance de Debian, tu pourrais peut-être > t'en sortir plus efficacement avec debootstrap… bonjour, merci pour cette réponse qui m'intéresse. J'avais déjà croisé ce nom, mais je ne suis pas sûr de savoir

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread Sébastien NOBILI
Bonjour, Le 2023-09-29 16:00, Eric DEGENETAIS a écrit : Ma question : faut-il me résoudre à refaire les swap et corriger mon OS debian préexistant, ou quelqu'un connaît-il un moyen de réutiliser telles quelles les partitions de swap existantes ? Étant donné ton niveau de connaissance de

Re: Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread NoSpam
Bonjour Le 29/09/2023 à 16:00, Eric DEGENETAIS a écrit : [...] Ma question : faut-il me résoudre à refaire les swap et corriger mon OS debian préexistant, ou quelqu'un connaît-il un moyen de réutiliser telles quelles les partitions de swap existantes ? Si les machines utilisent toutes LVM y

Problèmes à l'installation si je ne veux pas refaire les partitions de swap

2023-09-29 Thread Eric DEGENETAIS
fonctionne bien, je bascule le boot par défaut vers cette version (et j'ajoute le montage automatique de la partition home, que j'omets volontairement à l'installation). Voici le problème : l'installeur me prend la tête avec les partitions de swap. _ Soit il les refait, et je dois remettre à jour

Re: priorite de la swap

2023-08-27 Thread hamster
Le 27/08/2023 à 01:52, Th.A.C a écrit : Le 26/08/2023 à 20:34, hamster a écrit : Salut. Mais quand je fais swapon ca me dit : swapon NAME   TYPE  SIZE   USED PRIO /dev/sda1  partition 4,2G 0B   -2 Ce que je comprend pas, c'est que ma partition swap a une priorité de

Re: priorite de la swap

2023-08-26 Thread Th.A.C
Le 26/08/2023 à 20:34, hamster a écrit : Salut. Mais quand je fais swapon ca me dit : swapon NAME   TYPE  SIZE   USED PRIO /dev/sda1  partition 4,2G 0B   -2 Ce que je comprend pas, c'est que ma partition swap a une priorité de -2 alors que dans le man ca dit que la

priorite de la swap

2023-08-26 Thread hamster
que je comprend pas, c'est que ma partition swap a une priorité de -2 alors que dans le man ca dit que la priorité peut aller de -1 a 32767. J'ai essayé man 2 swapon comme indiqué pour avoir plus de détails mais ca me renseigne pas mieux. J'ai pas trouvé grand chose sur le web non plus. Si

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 > bytes i

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

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 > &g

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

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: Swap en mémoire RAM. Est-ce pertinent?

2023-01-21 Thread ptilou
Le jeudi 19 janvier 2023 à 08:10:03 UTC+1, Dethegeek a écrit : > Bonjour, > > Avoir un swap en RAM n'a aucun intérêt, puisque quand il sera sollicité, le > système va déplacer des portions de données depuis la RAM vers la RAM, afin > d'en libérer pour les besoins immédiats d'

Re : Re: [HS] confusion d'outils [Was] Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-20 Thread Hugues Larrive
Bonjour, Il me semble, que le but premier de la swap c'est d'augmenter la mémoire virtuelle et donc de stocker des pages vides. En dehors d'une situation de "pénurie", si un processus a besoin d'utiliser une page (vide) qui était "swapée", le système va trouver une

Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-19 Thread Th.A.C
Le 19/01/2023 à 06:08, Olivier backup my spare a écrit : Bonjour Ayant reçu mon laptop avec 32 Go de RAM. Je m'étais dit, et pourquoi ne pas créer un swap en mémoire comme on le fait sur les Raspberry pi4b 8Go? Notez, qu'à l'installation, j'ai fait un swap de 16 Go sur le SSD. Pensez vous

Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-19 Thread Dethegeek
>Avec un SSD, l'intérêt c'est précisément de l'économiser en ne faisant pas dessus les très nombreuses écritures dans la swap. Les SSD d'aujourd'hui n'ont plus le problème d'usure qu'on a connu avec les premiers produits de ce type. Très vite, les fabricants ont mis en place la technologie

Re: [HS] confusion d'outils [Was] Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-19 Thread Basile Starynkevitch
On 19/01/2023 15:14, hamster wrote: Le 19/01/2023 à 09:50, didier gaumet a écrit : Le jeudi 19 janvier 2023 à 08:16 +0100, Olivier backup my spare a écrit : [...] Bêtement, j'ai voulu appliqué un usage lié au raspberry pi sur un ordinateur portable. Si on supprime ou met le swap d'un

Re: [HS] confusion d'outils [Was] Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-19 Thread hamster
Le 19/01/2023 à 09:50, didier gaumet a écrit : Le jeudi 19 janvier 2023 à 08:16 +0100, Olivier backup my spare a écrit : [...] Bêtement, j'ai voulu appliqué un usage lié au raspberry pi sur un ordinateur portable. Si on supprime ou met le swap d'un raspberry pi en RAM pour épargner la carte SD

Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-19 Thread hamster
Le 19/01/2023 à 08:06, Olivier backup my spare a écrit : Je me fonde sur cet article https://techielinux.com/2022/01/19/what-is-swap-memory-in-linux-and-how-to-extend-swap-memory-in-linux/ Heu, cet article ne parle pas de swap dans la ram, il parle d'une méthode pour agrandir la partition

Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-19 Thread hamster
Le 19/01/2023 à 08:01, Dethegeek a écrit : Mais, il y a mieux : zram qui fait exactement ce que tu demandes, mais avec une petite subtilité : il compresse les données mises en swap. L'intérêt est que l'acces est bien plus rapide qu'un volume sur disque (magnétique). Avec un SSD, l'intérêt

Re: [HS] confusion d'outils [Was] Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-19 Thread didier gaumet
Merci à toi et Dethegeek pour les explications sur Zram que je n'ai jamais utilisé et ne connaissais que son existence sans savoir quelles sont ses fonctionnalités Il y a là un article de vulgarisation sur les optimisations mémoire, déjà un peu ancien (2016), qui évoque zRam mais aussi zvol et

Re: [HS] confusion d'outils [Was] Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-19 Thread Patrick ZAJDA
, c'est de Armbian. Armbian utilise justement ZRAM. Et oui on utilise toujours un espace en RAM comme swap mais celui-ci étant compressé, c'est toujours moins que si c'était un simple espace dédié genre tmpfs. ça peut donc jouer sur les performances vu qu'il faut en suite décompressé mais il

Re: [HS] confusion d'outils [Was] Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-19 Thread didier gaumet
Le jeudi 19 janvier 2023 à 08:16 +0100, Olivier backup my spare a écrit : [...] > Bêtement, j'ai voulu appliqué un usage lié au raspberry pi sur un > ordinateur portable. > Si on supprime ou met le swap d'un raspberry pi en RAM pour épargner > la carte SD, ça n'a aucun intér

[HS] confusion d'outils [Was] Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-18 Thread Olivier backup my spare
Bonjour Ma question ne mérite pas de réponse. Bêtement, j'ai voulu appliqué un usage lié au raspberry pi sur un ordinateur portable. Si on supprime ou met le swap d'un raspberry pi en RAM pour épargner la carte SD, ça n'a aucun intérêt sur un PC. Il faut que j'arrête les raspberry pi. Ca me

Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-18 Thread Basile Starynkevitch
On 19/01/2023 06:08, Olivier backup my spare wrote: Bonjour Ayant reçu mon laptop avec 32 Go de RAM. Je m'étais dit, et pourquoi ne pas créer un swap en mémoire comme on le fait sur les Raspberry pi4b 8Go? Notez, qu'à l'installation, j'ai fait un swap de 16 Go sur le SSD. Il est possible

Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-18 Thread Olivier backup my spare
Je me fonde sur cet article https://techielinux.com/2022/01/19/what-is-swap-memory-in-linux-and-how-to-extend-swap-memory-in-linux/ Il est de 2022, je le croyais pertinent puisue récent. Personne n'est parfait, on peut se fourvoyer involontairement par manque de bon sens. Ai je le droit à

Re: Swap en mémoire RAM. Est-ce pertinent?

2023-01-18 Thread Dethegeek
Bonjour, Avoir un swap en RAM n'a aucun intérêt, puisque quand il sera sollicité, le système va déplacer des portions de données depuis la RAM vers la RAM, afin d'en libérer pour les besoins immédiats d'une application. Si tu as énormément de RAM par rapport à tes usages tu peux simplement

Swap en mémoire RAM. Est-ce pertinent?

2023-01-18 Thread Olivier backup my spare
Bonjour Ayant reçu mon laptop avec 32 Go de RAM. Je m'étais dit, et pourquoi ne pas créer un swap en mémoire comme on le fait sur les Raspberry pi4b 8Go? Notez, qu'à l'installation, j'ai fait un swap de 16 Go sur le SSD. Pensez vous que cela pertinent? Le Laptop est personnel et pour un usage

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-16 Thread David Martin
J'ai oublié, si ça peut t'aider explore tes ipcs / sémaphores des appels de tes applis, souvent mals développées, les ressources restent occupées et résident en mémoire alors que ton applis ou process sont inactifs. A+

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-16 Thread David Martin
Salut, De mon coté pour les étudiants (je ne suis pas prof non plus ;-) j'ai un installé un proxmox bien gonflé + proxmox et chaque étudiant à sa VM. Je te conseille de rajouter pour commencer 2 à 4 partions de swap, et tu les actives. Si ça ne suffit pas tu pourras toujours en rajouter. Je

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-10 Thread Olivier Back my spare
Bonjour Je ne suis pas prof. Je travaille dans le Service IT d'un labo de recherche en économie. J'ai installé un serveur Debian 11 quelque chose, un truc du genre 256 Go de RAM avec un swap 256 Go avec un agregat de carte réseau et le raccordement au LDAP de l'Active Directory. Les

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-10 Thread David Martin
ssent des applis ouverte > mais non utilisées. > Y a t-il un moyen de forcer linux à mettre ces applis en stand by dans le > swap. > C'est un serveur Del avec une debian Bulleyes. > > -- > AI Gestionnaire d'infrastructure/ Gestionnaire de Parc. > Centre d'économie S** >

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-08 Thread didier gaumet
Le 08/11/2022 à 10:00, Olivier backup my spare a écrit : [...] J'ai installé bulleyes, les logiciels qui vont bien comme Stata, mathematica, matlab, qgis, "R", etc. J'ai fait la configuration pour la connection à la fonction LDAP de l'active directory. J'ai ensuite fait l'agregat de carte

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-08 Thread Olivier backup my spare
ilisées. Y a t-il un moyen de forcer linux à mettre ces applis en stand by dans le swap. C'est un serveur Del avec une debian Bulleyes. -- AI Gestionnaire d'infrastructure/ Gestionnaire de Parc. Centre d'économie S** “It is possible to commit no errors and still lose. That is not a we

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-08 Thread didier gaumet
ouverte mais non utilisées. Y a t-il un moyen de forcer linux à mettre ces applis en stand by dans le swap. C'est un serveur Del avec une debian Bulleyes. -- AI Gestionnaire d'infrastructure/ Gestionnaire de Parc. Centre d'économie S** “It is possible to commit no errors and still lose

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-07 Thread Étienne Mollier
ent le résultat mais ils > > utilisent leur instance comme un bureau et y laissent des applis ouverte > > mais non utilisées. > > Y a t-il un moyen de forcer linux à mettre ces applis en stand by dans le > > swap. > > C'est un serveur Del avec une debian Bulleyes. > > Ou

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-07 Thread Basile Starynkevitch
mais non utilisées. Y a t-il un moyen de forcer linux à mettre ces applis en stand by dans le swap. C'est un serveur Del avec une debian Bulleyes. Il y a des moyens techniques. Je ne les connais pas tous. Mais je crois surtout qu'il faut de la pédagogie On peut restreindre l'accès au

Re: Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-07 Thread Pierre-Elliott Bécue
rs qui ouvrent des instances > à distance. > Pour beaucoup, il lancent un calcul et attendent le résultat mais ils > utilisent leur instance comme un bureau et y laissent des applis ouverte > mais non utilisées. > Y a t-il un moyen de forcer linux à mettre ces applis en stand by da

Est il possible de forcer Linux a écrire plus souvent dans le swap

2022-11-07 Thread Olivier backup my spare
à mettre ces applis en stand by dans le swap. C'est un serveur Del avec une debian Bulleyes. -- AI Gestionnaire d'infrastructure/ Gestionnaire de Parc. Centre d'économie S** “It is possible to commit no errors and still lose. That is not a weakness. That is life.” – Captain Jean-Luc Picard

  1   2   3   4   5   6   7   8   9   10   >