Alternative pup_save formats.

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#16 Post by mikeb »

Hey Jim...I don't like the look of this....
http://www.murga-linux.com/puppy/viewtopic.php?t=52002
something to watch out for

mike

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#17 Post by Jim1911 »

Mike,

Thanks for the heads up, I saw that also, hope that it's a false alarm.

Maybe we need to move on to ext4. Although, I've been unable to make a frugal install that is recognized by my favorites. No problem with full install where I do use ext4.

Jim

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#18 Post by mikeb »

Hmm progress does not necessarily mean better and breaking support for a very common filesystem makes me wary generally. That's why my day to day puppy is based on 2.12. Have you considered reiserfs?

mike
edit...
Maybe we need to move on to ext4
..maybe that's the idea but I hate being railroaded.....that's something microsoft do all the time.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#19 Post by Jim1911 »

Hi Mike

No, I haven't used reiserfs. Does Grub.097 recognize frugal pup installations? What type of pupsave would you use? I would think that 3fs would work, but how would you enable journaling?

If your hardware supports it, you are really missing out if you aren't trying the latest dpup, upup, and Lighthouse. For serious work, I'm normally in Lighthouse or Ubuntu.

I'm late on the puppy scene so I didn't ever check out the 2 series. Barry was switching from the 3 to 4 series at that time and I was just beginning to love puppy.

One more question, would the same techniques used for ext3 work for ext4?

Jim

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#20 Post by mikeb »

No, I haven't used reiserfs. Does Grub.097 recognize frugal pup installations? What type of pupsave would you use? I would think that 3fs would work, but how would you enable journaling?
you have lost me.... :shock:
One more question, would the same techniques used for ext3 work for ext4?
someone else is trying that.
If your hardware supports it, you are really missing out if you aren't trying the latest dpup, upup, and Lighthouse
better the devil you know and everything works really well..I can't be bothered to debug everything again. Besides I'm gradually replacing libs from debian.
Puppy 2.02 is particularly fast and the 1 series flew so speed is another consideration.

mike

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#21 Post by Jim1911 »

Hi Mike,
better the devil you know and everything works really well..I can't be bothered to debug everything again. Besides I'm gradually replacing libs from debian.
Puppy 2.02 is particularly fast and the 1 series flew so speed is another consideration.
I have the impression that you like challenges, keeps the mind active. In any event, dpup484b4 is very stable, and Lighthouse 4.43 final is greatl. I'm posting from Lighthouse that is using your ideas for a 3fs save file and changes to ext3 in the initrd.gz file that you helped me with. I really like it. Thanks again for helping me get it set up.

Edit: I just installed Lighthouse on an ext4 partition, renamed the 3fs file to 4fs, no change to initrd.gz, however, the 4fs save file is not recognized. The pupsave.3fs, mounted as ext3, runs fine on the ext4 partition. I just may give it a long term test.

Jim

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#22 Post by mikeb »

I have the impression that you like challenges, keeps the mind active
someone said that to me as he tried to hand me a repair job that a dozen other people had had their hands on first...I never did any more work for him. :lol:

mike

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#23 Post by Jim1911 »

someone said that to me as he tried to hand me a repair job that a dozen other people had had their hands on first...I never did any more work for him. :D
With your avatar which is also the mascot of the No. 1 college football team in the USA, I'm surprised at that. In any event, you do give sound advice that should be adhered to.

Incidently, I've also setup a dpup484b4 frugal installation on an ext4 partition, it has spupsave.3fs and an initrd.gz that mounts it as ext3. It's working well. I'm posting from it now.

On the ext3 problem, Barry noted that he'll consider that next time he compiles the kernel. 2.6.30+ allows the default to be set to "ordered" He also referenced a link that has this information that could be useful now:
Filesystems can be forced to use a specific data journalling mode by specifying a mount option on the command line, or in /etc/fstab, or by using the "tune2fs -o journal_data_ordered" or "tune2fs -o journal_data_writeback" to specify a default mount option in the filesystem superblock.
You probably know the code to be used. Should it be "tune2fs -o journal_data_ordered /location/pupsave.2fs/"? Hope that the pupsave.3fs can be renamed 2fs and then back to 3fs after the code is executed?

Jim

User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

#24 Post by tazoc »

Hi Jim,
I've been following the thread about ordered/writeback journals on ext3. You don't need to rename your .3fs to .2fs. Just boot from a liveCD with pfix=ram or another install so that the pupsave you're changing is not mounted. I also did the same to all my ext3 partitions with them unmounted like this:

Code: Select all

tune2fs -o journal_data_ordered /dev/sda6
then I mounted the partition that has my pupsave (still in liveCD mode) and

Code: Select all

tune2fs -o journal_data_ordered /mnt/sda6/lhp443/spupsave.3fs
...rebooted back into the 4.43 frugal and now 'mount' in a terminal and /etc/mtab show "data=ordered" instead of data=writeback. I haven't done any testing with ext4 lately as ext3 works well for me.
-TazOC
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#25 Post by Jim1911 »

Hi TazOC,

Thanks for clarifying the code for me. I use both ext3 and ext4 partitions. I'll use your code on my ext3 partitions and also the converted 3fs save files. However, I doubt that "data=ordered" instead of data=writeback will make much difference on my installation because power failures are infrequent. From what I've read about, the main difference is in save times which probably are not too critical unless you are operating a server.

Incidently, I hope that you noticed my post on your thread about the changes needed to initrd.gz for the 3fs save files to work properly (problem pointed out by Mike). Also, I do have Lighthouse frugally installed on an ext4 partition with a 3fs save file and it's working great.

Jim

User avatar
tazoc
Posts: 1157
Joined: Mon 11 Dec 2006, 08:07
Location: Lower Columbia Basin WA US
Contact:

#26 Post by tazoc »

Yep, sure did. I'll study the init script changes for the next release. Thank you for the ext4 test results.
Take care,
TazOC
[url=http://www.lhpup.org/][b][size=100]lhpup.org[/size][/b] [img]http://www.lhpup.org/gallery/images/favicon.png[/img][/url] [url=http://www.lhpup.org/release-lhp.htm#602]Lighthouse 64 6.02[/url]

Post Reply