Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] RAM disk/drive on Xbian, how to use zramswap?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: RAM disk/drive on Xbian, how to use zramswap?
12th Jun, 2023, 06:50 PM
Post: #3
postcd Offline
Registered
Posts: 31
Joined: Nov 2021
Reputation: 0
RE: RAM disk/drive on Xbian, how to use zramswap?
> xbian-package-zram-swap

did "apt install xbian-package-zram-swap" -> "xbian-package-zram-swap is already the newest version (1.0.8)."

> /etc/default/zram-swap

is a config. file apparently, thanks. Being unsure how to modify it, i assumed i need to somehow activate zram so i did:

Quote:ZRUNSHM=1

After reboot, it caused following in "zramctl --output-all" output:
Quote:/dev/zram2 1M 44K 743B lzo-rle 4 1 24K 0B 24K 0B /run/shm

(only 1MB? Copying file to it says: No space left on device)
Quote:# grep -v "#" /etc/default/zram-swap|grep .
SIZE=128
SWAPFILE=
ZRUNSHM=1
ZTEMPXBMC=0
SWAPNOUSE='/dev/sda21,/dev/mmcblk0p99'

and mount:
Quote:/dev/zram2 on /run/shm type ext2 (rw,nosuid,noatime)

Quote:# swapon
NAME TYPE SIZE USED PRIO
/dev/zram0 partition 128M 0B 20
/dev/mmcblk0p3 partition 245M 0B 0

Setting SWAPFILE=/mnt/zram
not apparently changed outputs of above commands (file existed before reboot, after reboot not exist)

I wanted to have proper zram 128M partition and proper grow-able zramswap... any idea what to try please?
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
RAM disk/drive on Xbian, how to use zramswap? - postcd - 19th May, 2023, 06:29 AM
RE: RAM disk/drive on Xbian, how to use zramswap? - Nachteule - 25th May, 2023, 04:37 AM
RE: RAM disk/drive on Xbian, how to use zramswap? - postcd - 12th Jun, 2023 06:50 PM
RE: RAM disk/drive on Xbian, how to use zramswap? - Nachteule - 12th Jun, 2023, 08:11 PM
RE: RAM disk/drive on Xbian, how to use zramswap? - sortrequire - 11th Dec, 2023, 02:51 PM
RE: RAM disk/drive on Xbian, how to use zramswap? - ontosalsa - 17th Nov, 2023, 01:05 PM
RE: RAM disk/drive on Xbian, how to use zramswap? - ngoutlandish - 27th Feb, 2025, 11:14 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 22nd May, 2025, 04:12 PM Powered By MyBB, © 2002-2025 MyBB Group.