--- In "William R. Otte" <> wrote:
>
> Hi Mow -
>
> On Jan 17, 2008, at 10:50 PM, mowengineer wrote:
> > Working on a TS7300 that I will be polling network based equipment and
> > serial based equipment at a defined interval and logging all data
> > captured onto a SD card in the second SD slot.
> >
> > Has anyone split a partition on a SD card to create two separate
> > partitions? I want to put the /VAR directory on a separate RW
> > partition
> > and the rest of the OS on a RO partition.
> > The second SD card would be RW for logging.
> >
> > Then I can log data, have system logs on /VAR but remain RO on the
> > rest of the system, preventing any issues with loss of power or user
> > reboots.
> >
> While I can't speak to the particular hardware, what you describe is
> both quite straightforward and quite common in the Linux world.
>
> Splitting an /existing/ partition and expecting to maintain data can
> be problematic, depending on how the data is laid out in the
> partition, but its simply a matter of creating the partition (fdisk),
> writing a blank filesystem (mkfs.ext3), moving the existing data in
> the /var partition to the second disk (or partition on the same dist),
> and specifying a mountpoint in /etc/fstab.
>
> hth,
> /-Will
>
Will,
I got the issue resolved. Thanks for the input.
Running fdisk on my card reader vs directly on the 7300 created the
first two partitions with the incorrect block values.
To resolve, I dd'd from SD to SD, added a 4th partition and used it
for the new mountable area of the file system without the need to
split partition 3.
I was looking for a way to divide the Debian FS so I could have the
majority of it as RO with one section as RW during normal use.
Thanks,
Mow
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|