Results 1 to 10 of 10

Thread: Persistent Home: Where's all my space?

  1. #1
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    23

    Persistent Home: Where's all my space?

    I'm sure this is a silly question, but I've looked around a bit and I don't see the answer, so I decided to post a fresh question.
    I installed 3.3 on a machine that only had 64Megs of RAM, but had a hard drive, so I made 256megs of swap space and a 650Meg persistent home directory. This is the first time I've used the persistent home script and I'm a bit confused about where the space is located.
    Using the "du" command, I only see a few tens of megs in my Desktop or /knoppix directories. It looks like all they're seeing is the ramdisk space.
    The persistent space I made was supposed to be 650Megs, but after downloading a few source packages and saving by running the save config script, the knoppix.img file that I see on the drive is still only about 200Megs.
    And, when I try to download additional files into folders off the desktop it says there's no more space. So, where did it go?

  2. #2
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    23

    Let me make re-phrase this in a simple way.

    I see I've got twenty reads and zero responses. Maybe I should keep it simple.
    If you do a persistent hard drive install and in the course of the script you say you want 600megs on hda1, then reboot and use knoppix fromhd=/dev/hda1 where should that 600megs be within the Knoppix filesystem? I assumed that would give me 600megs on the desktop or the knoppix user directory, but that didn't happen. Am I looking in the wrong place?

  3. #3
    Member registered user
    Join Date
    Nov 2003
    Posts
    90
    they are under /home/KNOPIX

  4. #4
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    If you created a persistant home to save files, settings, etc, then you should use the cheatcode:
    Code:
    knoppix home=scan
    Then you'll be able to access your persistant home and save your files, docs, etc. One word of warning, if you somehow crash the machine while using your persistant home, it will be corrupted and you'll have to recreate the home space all over again as well as rebuild your data. It resides in a ext2 image file located on your fat partition. Ext2 isn't journalled so it can't be expected to reliably recover your lost data in the event of a crash/hard reset.

  5. #5
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    23

    Well, thanks for the assurance its in /home/knoppix

    But I went ahead and wiped out what was there and started over and it's the same.
    I ran the persistent directory script and told it to give me 650Megs. When it was done, I went to /mnt/hda and I saw a knoppix.img file of 300megs. I'm not sure why it was only 300 megs, it's not because the disk was full. That disk is a 20Gig and only has a few files on it and was recently formatted as fat32. The last time I did this, my knoppix.img file was only 200 something megs. Perhaps this odd behavior is part of the problem.
    Nonethless, I hooked up a samba share and tried testing the space by copying a 400meg file over to the /home/knoppix directory. It died of insufficient disk space at around 45megs. It seems that the system is only seeing the ramdisk space and not the persistent directory space.

  6. #6
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    949
    don't know why ti only came out to a fiel size of 300 but to use the persistent home you have to mount it. (knoppix does it for you if you type home=scan at boot)

  7. #7
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    23
    Good point about mounting.
    I was mounting it before, but just now I didn't. Gotta run though. I'll try the new install later tonight.

  8. #8
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    23
    Alright, I got it.
    The best clue was the varying size of the knoppix.img files. I wasn't waiting for the script to finish. So the fist time I cut it off at 200megs, then the next time I was slightly more patient and waited till 400 megs. Tonight it occured to me that I ought to sit down and watch that file knoppix.img file and be sure it actually grew to 650megs the first time. Well, I soon realized that it just takes a long long time and I wasn't being patient enough.
    Thanks for the tips. The best one was to know that the whole /home/knoppix directory gets saved so if it wasn't being saved, something was wrong. But I'm wondering why when I run the save configs script is just says save what's on the desktop rather than save the directory /home/knoppix.

  9. #9
    Member registered user
    Join Date
    Nov 2003
    Posts
    90
    One big problem with the creation of the presistent file in your local drives is that this process takes time and the script doesn't have any advice of the progress of the creation of the space. The trick is open a konqueror window (or a console window), and point to the place where the file for the persistent home file is being created. When this file gets to the size defined, the file is created.

    If you don't wait to the finish of the creation process and reboot, when you try to access your files the system will tell you that your persistent home is encrypted, but the real problem is that the creation process was aborted due the rebooting.

  10. #10
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    23
    Nope, thought I had it.
    Perhaps the script is just not functional on this particular setup. It's still using ramdisk as I can demonstrate by copying files larger than forty megs into /home/Knoppix, /home/Knoppix/Desktop or a directory off of the desktop such as /home/Knoppix/Desktop/files. In each case I run out of space at forty two megs even though I've created, saved and rebooted into what should have been a mounted persistent directory of 650megs.
    The save configuration is working, but it's only using the space in ramdisk. I downloaded Firefox and Thunderbird (about eighteen megs together) and I can keep them on the desktop between boots, but if I try to unpack them I run out of space. So, it's not using any drive space for storage.
    I thought the fact that I wasn't letting the script finish was the problem, but once I tried it again, I found it's not the case.
    Also, using the save configuration script I noticed that if I didn't keep things in /home/Knoppix/Desktop but rather put them in /home/Knoppix they were not saved at all.
    And yes, when the script asked me if I wanted to store them on /dev/hda1 I said yes. And I booted with
    knoppix fromhd=/dev/hda1 myconfg=/dev/hda1
    So, it looks like this game is getting old. I'll play something else for awhile till I can get some more RAM for that little toy.

Similar Threads

  1. Another persistent /home question
    By harryhood in forum Hardware & Booting
    Replies: 2
    Last Post: 04-21-2005, 04:48 PM
  2. 3.8 persistent home directory
    By ddrex in forum General Support
    Replies: 0
    Last Post: 04-04-2005, 07:52 PM
  3. Persistent /home not working
    By dargaud in forum General Support
    Replies: 1
    Last Post: 09-12-2004, 07:21 PM
  4. persistent home & permissions
    By jeremy2300 in forum General Support
    Replies: 0
    Last Post: 06-06-2004, 04:40 PM
  5. Persistent Home and HD access
    By Knewbie in forum General Support
    Replies: 16
    Last Post: 02-06-2003, 07:43 AM

Posting Permissions

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


Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$10.00



Knoppix 3.4 Linux installation CD picture

Knoppix 3.4 Linux installation CD

$15.00



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA picture

Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA

$19.99



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$39.99



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$12.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95