ts-7000
[Top] [All Lists]

Re: [ts-7000] HOW TO transition to a journaling file system?

To:
Subject: Re: [ts-7000] HOW TO transition to a journaling file system?
From: Don Tucker <>
Date: Thu, 14 Apr 2011 17:00:56 -0500
OK, I started to follow Clark's procedure and when I got to the point of
reformatting partition 4 to jfs, I ran Gparted and it already shows up
as jfs.  It's partition 3, with the initrd, that is ext2.  D'OH!  So, I
guess there is not an issue.  I was just confused by the results of "df
-T".  I guess the user space just doesn't show up with that command.

Don

On 4/14/2011 3:31 PM, Don Tucker wrote:
Thank you, Clark!  That was a lot more straight-forward than I would
have expected.  Doesn't the kernel or initrd expect ext2 on partition 4?

By the way, "df -T" on the SBC returns (edited)

Filesystem            Type          Mounted on
rootfs                     rootfs         /
/dev/tssdcarda4   ext2           /initrd
...
none                                         /initrd/dev
none                                         /initrd/dev/shm
tmpfs                      tmpfs        /dev

I'm assuming that /dev/tssdcarda4 is partition 4 of the SD card, which
would indicate its using ext2.  I'll give your procedure a shot and
see what happens.

Thanks again!
Don
On 4/14/2011 1:38 PM, Clark Dunson wrote:

I use a USB card reader on a Debian laptop.

1. Mount desired partition, use 'df' to find node:. eg: /media/disk-X
is at /dev/sde4
2. Copy contents: sudo tar cvf sde4.tar ../../../media/disk-X
3. unmount and Re-format to jfs, jffs2, etc.
4. Re-mount and confirm /media/disk-X is still at /dev/sde4
5. Restore content: sudo tar xvf sde4.tar

You might want to check, but I seem to remember that
512mbsd-7400-linux2629-lenny-eabi.dd.bz2 already
uses jfs on partition 4.

On Apr 14, 2011, at 11:16 AM, Rekcut_Nod wrote:

Has anyone succeeded in transitioning their Technologic System SBC's
file system to a journaling file system?

I'm using Technologic System's kernel
(linux-2.6.21-ts-src-feb022010.tar.gz) together with their SD card
image (512mbsd-7400-linux2629-lenny-eabi.dd.bz2). I believe that
these use the ext2 file system. I would like to use a more recent
file system to reduce the likelihood of file system corruption during
a hard board reset (such as from a watchdog timer timeout).
[Although, these posts indicate that I may also need to worry about
fsck problems:
http://tech.groups.yahoo.com/group/ts-7000/message/18044
http://tech.groups.yahoo.com/group/ts-7000/message/15473 ]

I'm a linux newbie, so it took me a while just to get these to work
toget! her, and my experience using other images and patches found
elsewhere have not met with success. So, I would like to continue
using TS's products to the extent possible, but I have no idea how I
would transition them to a later file system.

Does anyone have any experience they would be willing to share?

Thank you,
Don





Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU