Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: /dev/zram0 - How to Remove It?

  1. #11
    Join Date
    Jan 2008
    Location
    UK
    Beans
    1,783
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: /dev/zram0 - How to Remove It?

    Here's fdisk -l in the GUI.
    Attached Images Attached Images
    Keep Ubuntu free! Donate any amount you like – just use the PayPal donation address donations@ubuntu.com

  2. #12
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: /dev/zram0 - How to Remove It?

    It looks like the zram kernel module is being loaded. What is the output of...
    Code:
    lsmod | grep zram
    zramconfig /dev/zram0 --stats
    Cheesemill

  3. #13
    Join Date
    Jan 2008
    Location
    UK
    Beans
    1,783
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: /dev/zram0 - How to Remove It?

    Looks like the second command didn't do anything.

    mark@mark-ubu-laptop:~$ lsmod | grep zram
    zram 18642 1
    mark@mark-ubu-laptop:~$ zramconfig /dev/zram0 --stats
    zramconfig: command not found
    Keep Ubuntu free! Donate any amount you like – just use the PayPal donation address donations@ubuntu.com

  4. #14
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: /dev/zram0 - How to Remove It?

    You could try installing zramconfig and then using it to turn off the feature.

    Code:
    sudo apt-get update
    sudo apt-get install zramconfig
    sudo swapoff /dev/zram0
    sudo umount /dev/zram0
    sudo zramconfig /dev/zram0 --reset
    Cheesemill

  5. #15
    Join Date
    Jan 2008
    Location
    UK
    Beans
    1,783
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: /dev/zram0 - How to Remove It?

    Update went fine then I got:-

    mark@mark-ubu-laptop:~$ sudo apt-get install zramconfig
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package zramconfig
    Which repo is it in?
    Keep Ubuntu free! Donate any amount you like – just use the PayPal donation address donations@ubuntu.com

  6. #16
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: /dev/zram0 - How to Remove It?

    Sorry, that should be zram-config.
    Cheesemill

  7. #17
    Join Date
    Jan 2008
    Location
    UK
    Beans
    1,783
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: /dev/zram0 - How to Remove It?

    mark@mark-ubu-laptop:~$ sudo apt-get install zram-config
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed
    zram-config
    0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
    Need to get 3,078 B of archives.
    After this operation, 42.0 kB of additional disk space will be used.
    Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise/universe zram-config all 0.1 [3,078 B]
    Fetched 3,078 B in 0s (23.8 kB/s)
    Selecting previously unselected package zram-config.
    (Reading database ... 228552 files and directories currently installed.)
    Unpacking zram-config (from .../zram-config_0.1_all.deb) ...
    Processing triggers for ureadahead ...
    ureadahead will be reprofiled on next reboot
    Setting up zram-config (0.1) ...
    start: Job failed to start
    invoke-rc.d: initscript zram-config, action "start" failed.
    dpkg: error processing zram-config (--configure):
    subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
    zram-config
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Then Apport kicked in and fired off an error report.

    The above installation error is a known Bug Report in Launchpad and is under investigation. Can't see that there is much more I can do now.
    Last edited by mapes12; January 11th, 2013 at 03:10 AM.
    Keep Ubuntu free! Donate any amount you like – just use the PayPal donation address donations@ubuntu.com

  8. #18
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: /dev/zram0 - How to Remove It?

    How did /dev/zram0 get installed in the first place? Is it part of a Virtual Machine installation?
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  9. #19
    Join Date
    Jan 2008
    Location
    UK
    Beans
    1,783
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: /dev/zram0 - How to Remove It?

    Quote Originally Posted by tgalati4 View Post
    How did /dev/zram0 get installed in the first place? Is it part of a Virtual Machine installation?
    I've had Parallels Workstation and Parallels Transporter installed on this machine for ages but never set up a OS within them. As far as I can recall zram has only just started to appear on my system. I'm thinking that perhaps a Kernel upgrade that came through the other week as part of the regular Updates may have had something in it that detected the VM installation capability and initiated the zram configuaration at boot up. I'm guessing here.The plot thickens. If you look at my earlier screenshots you will see zram0 at 1.6GB. It's now morphed itself into zram0 and zram1 both at 779MB each. See attached updated screenshot.
    Attached Images Attached Images
    Keep Ubuntu free! Donate any amount you like – just use the PayPal donation address donations@ubuntu.com

  10. #20
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: /dev/zram0 - How to Remove It?

    I did a fresh install of 12.10 on my laptop without any VM's and I don't have a zram0. So I think you are correct, it's associated with Parallels. Perhaps there is a Parallels removal tool if you are not using it?
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •