ts-7000
[Top] [All Lists]

RE: [ts-7000] TS-7250 filesystem access before and after chroot

To:
Subject: RE: [ts-7000] TS-7250 filesystem access before and after chroot
From: Jim Jackson <>
Date: Thu, 6 Apr 2006 16:21:54 +0100 (BST)


On Thu, 6 Apr 2006  wrote:

> Let me run my assumptions by you:
> I have a working filesystem on an nfsroot that won't fit in on-board flash.
> By "won't fit", I mean that a straight copy of all necessary directories
> won't fit and it may cost more time than it's worth to try to copy only the
> necessary files. If there's a fast way to determine the necessary files and
> the size of those files then I can review my assumption that it won't fit.
> It seems easy and quick to use /usr/bin/loadUSB.sh to 'switch-over' to usb
> flash, but there appear to be side effects that are causing problems now and
> will probably cause unforeseen problems. An alternative is to mount only the
> bin directories and any other large directories over the internal flash bin
> directories. I'm assuming that it will be a can of worms, or
> stickingplaster, to change Apache2, mysql and php et. al. to run in a
> directory structure different from the directory structure they where
> 'apt-get-installed' into on the nfsroot.
>
> Thanks for your observations and input.

Ok remember you can mount filesystems anywhere. In traditional unix
systems many have '/' as a smallish partition, with another partition
mounted as /usr, and another small one as /boot, and a large one as /home
and maybe another as /var

Also remember you can partition a usbstick - it doesn't have to be
one filesystem. One can use fdisk to split it up into 2 or 3 partitions of
suitable sizes. Each of the partitions can be mounted independantly
in different places.

You may be able to mount a usb stick partition under /usr to hold a lot of
executables and libraries - you just need to make sure that everything
needed to get to the point where the usb is usable are in /bin and /lib
etc.

Maybe you have a lot of web stuff under /www so you could mount another
usb stick partition there.

By doing this you integrate the on board flash and usb flash into what
appears to be one seemless structure.

HTH
Jim

p.s. I keep banging on about it being useful if you run Linux on your
desktop/servers, because Linux is Linux whether it's on the TS7200
or on a quad xeon dell server. What I've outlined above is pretty standard
stuff for Unix system sysadmins, and it all applies to here too.
(sorry for the soapbox stuff)




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<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