persistence size limitations

Forum Forums Orphaned Posts antiX-17 “Heather Heyer, Helen Keller” persistence size limitations

Tagged: 

  • This topic has 9 replies, 3 voices, and was last updated Apr 5-1:46 pm by hosh.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #8767
    Member
    hosh

      I’ve made an ISO snapshot, which worked nicely, after several attempts at excluding heavy files and directories (the first attempt created a 70 GB ISO !)
      Now I’ve created a Live-USB from the 2 GB snapshot on a 128 GB usb stick.
      I next tried to set up a persistent home on the USB.
      When doing Set up persistence, it limited the size of the homefs to around 2 GB – it seems to depend on the amount of RAM.
      So I tried again with creating a live-USB and this time limited AntiX to 10% of the drive.
      I made a 2nd partition for the rest of the drive (around 100 GB).
      I thought maybe I could place a persistent home directory there.
      AntiX still limited me to 2 GB.
      So, in order to move my files to the disk, I’ve changed the permissions on the drive to 777 and can now move all of them there, up to the size limitations of the partition.
      Am I doing it right?
      And is it safer, better to set up only home persistence, or also to have root persistence? A couple of times under Puppy linux, I’ve yanked the USB stick out too soon and ruined everything. Maybe without root persistence, that’s less likely to happen if I should make the same mistake.

      #8769
      Forum Admin
      dolphin_oracle
        Helpful
        Up
        0
        ::

        Note that our live system provides a folder in the home directory called “Live-USB Storage” that lets you easily access the rest of a stick.

        persistence file size can also be limited by filesystem. I’m assuming you did not use our “Live-USB Maker” utility to make your new stick. What did you format the partition?

        #8770
        Member
        hosh
          Helpful
          Up
          0
          ::

          Thanks for responding. I made the stick with Live-USB Maker. After trying a couple of times with the default options (to assign the whole USB stick, I limited AntiX to 10% (around 12 GB), then used Gparted to create a 2nd partition.

          I *think* before doing it that way, I tried all the options including choosing the folder Live-USB storage, and that AntiX was still limiting me to around 2 GB (the maximum it officially gave was the size of the RAM, but choosing the maximum resulted in an error message about insufficient space).
          Where, in the documentation, are we told that the folder Live-USB storage gives access to the whole USB stick?
          The clearest explantion seems to be at http://download.tuxfamily.org/antix/docs-antiX-17/FAQ/persistence.html#_home_persistence though it describes choosing an option at start up. I did not choose a start up option for setting up persistence, but instead used the menu system (Applications / System Tools / Set up persistence).

          The file system is Ext-4.

          Perhaps there needs to be a clearer explanation in the documentation.
          Also there are various versions of the documentation and it isn’t so clear which is official or current. Besides the forums here I found
          http://download.tuxfamily.org/antix/docs-antiX-17/FAQ/index.html
          http://antix.mepis.org/index.php
          https://mxlinux.org/wiki

          #8773
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            Perhaps there needs to be a clearer explanation in the documentation.

            When I have time, I’ll try to make it clearer.

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #8780
            Forum Admin
            dolphin_oracle
              Helpful
              Up
              0
              ::

              have you tried making your persistence files while running as “persist_static”? the rootfs file doesn’t load into ram with that option.

              #8795
              Member
              hosh
                Helpful
                Up
                0
                ::

                I don’t think I mind if the root file system loads into RAM – presumably it’s a bit faster that way – and right now, with a couple of applications and a lot of browser tabs open, I’m running at 1GB usage out of 6GB RAM. I’m more concerned about being able to place my personal files on the thumb drive, so I’ll have a nice portable system. I’ve been able to do that by creating another partition on the drive, though dolphin_oracle seems to be saying this isn’t the optimal way to do it.

                #8797
                Forum Admin
                anticapitalista
                  Helpful
                  Up
                  0
                  ::

                  More information about store feature is in the release notes for antiX-16.

                  antiX-16 release notes

                  Philosophers have interpreted the world in many ways; the point is to change it.

                  antiX with runit - leaner and meaner.

                  #8798
                  Member
                  hosh
                    Helpful
                    Up
                    0
                    ::

                    Thanks, anticapitalista. There I see that Live USB Storage is supposed to work even without persistence.
                    But maybe the way I’ve done it will work for me anyhow – it just means that I’ll be storing things outside of home.
                    If there’s something large that does need to be within home, it should be possible to use symlinks.

                    While I’m here, thanks to everyone who worked on this amazing distro!

                    #8801
                    Forum Admin
                    anticapitalista
                      Helpful
                      Up
                      0
                      ::

                      Hope the following makes sense.

                      Default live boot option is to include what we call a state folder and store folder (actually 2 store folders, one for root and one for demo).
                      State saves such things as locale, keyboard, wifi set up etc
                      Store saves nothing until you put something in there eg a video file.
                      Store and state do not need persistence and do not use up RAM space like persistence does.
                      F4 in live menu can disable both store and state.

                      If you are not going to install any apps or upgrade and you just want to run the iso as it is on a live usb device, there is no need to have persistence rootfs.
                      If you also do not want to save any changes made to your /home/demo directory eg firefox bookmarks, there is no need for homefs persistence.

                      If you only want to save changes that are typically made to /home eg different wallpaper, bookmarks, font settings etc, then only use homefs since all changes will be saved for next boot (as long as you choose the correct homefs persistence option in the menu).

                      Philosophers have interpreted the world in many ways; the point is to change it.

                      antiX with runit - leaner and meaner.

                      #8803
                      Member
                      hosh
                        Helpful
                        Up
                        0
                        ::

                        Thanks, yes, I think some of this is beginning to make sense. The system is pretty much in a state that I want it on the ISO snapshot and hopefully without the root persistence I won’t whack the rootfs if I accidentally pull out the usb stick a second too soon at shutdown.

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.