Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Risolto] Problema Zram
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Mon Apr 22, 2024 3:53 pm    Post subject: [Risolto] Problema Zram Reply with quote

Buonasera a tutti,
ho installato zram sulla mia macchina (8gb ram), al riavvio ricevo questo errore:

Quote:

* Mount zram0 /var/tmp/portage
mke2fs 1.47.0 (5-Feb-2023)
* Mount zram1 /var/tmp/special
mke2fs 1.47.0 (5-Feb-2023)
mount: /var/tmp/special: mount point does not exist.
dmesg (1) may have more information after failed mount system call.
tram-init:
mount /dev/zram1 failed
INIT: Entering run level: 3


Questo il mio file:

Quote:

num_devices=2

type0=/var/tmp/portage
flag0=ext2
size0= 8192
mlim0= # no hard memory limit
back0= # no backup device
opts0="noatime,nosuid,nodev" # e.g. "relatime" or "strictatime" are also reasonable choices
mode0=1777
owgr0= # No reason to change the default "root:root"
notr0= # keep the default on linux-3.15 or newer
maxs0=4
algo0=zstd
labl0=portage_dir
uuid0=
args0=

type1=/var/tmp/special
flag1=ext2
size1= 8192
mlim1= # no hard memory limit
back1= # no backup device
opts1="noatime,nosuid,nodev" # e.g. "relatime" or "strictatime" are also reasonable choices
mode1=1777
owgr1= # No reason to change the default "root:root"
notr1= # keep the default on linux-3.15 or newer
maxs1=4
algo1=zstd
labl1=special_dir
uuid1=
args1=


Sapreste dirmi come fare?


Last edited by GianGian2387 on Tue Apr 23, 2024 4:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
sabayonino
Veteran
Veteran


Joined: 03 Jan 2012
Posts: 1040

PostPosted: Mon Apr 22, 2024 5:45 pm    Post subject: Reply with quote

crea la directory /var/tmp/special

Code:
# mkdir -p /var/tmp/special


riavvia zram o tutto il sistema
_________________
LRS 64/32 on G.Drive
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Tue Apr 23, 2024 4:39 pm    Post subject: Reply with quote

Ok, grazie, ora funziona
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Sat Oct 19, 2024 9:00 pm    Post subject: Reply with quote

Scusate se riscrivo su questo tropic…
Ho aggiornato gentoo, all’avvio ora ricevo questo errore:

Code:
 Create Volatile Files and Directories
•••
etc/init.d/../conf.d/zran-init: riga 5: 8192: comando non trovato
'etcinit.de./conf.d/zram-init: riga 20: 8192: comando non trovato
INIT: Entering runlevel: 3


Sapreste dirmi cosa dovrei fare?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum