Re: [Server-devel] /library partition
On Sat, Jul 18, 2009 at 8:42 PM, John Watlington w...@laptop.org wrote: On Jul 16, 2009, at 4:40 PM, Sameer Verma wrote: Any documentation on what lives in /library and how to make it useful? The idea behind /library was that the school server needed someplace to place large collections of content and user data. While some people have talked about backing up /library, my thinking was almost the opposite: while other partitions would move to an SSD for reliability, /library would remain on a hard disk for a good $/GB ratio. Cost wise, a 4 GB SSD should be about $10. Cheers, wad Interesting. We used to use this distro called pebble ( http://www.google.com/search?q=pebble+linux) for wifi routers and captive portals a few years ago. The current successor to pebble is Pyramid ( http://code.google.com/p/pyramidlinux/). The OS would set up /var at boot time by partitioning the RAM (10MB, I think) and mounting /var there. The rest of the OS would be mounted in read only mode on a 64MB CF card and run from there. For updating, we would remount the OS in read-write mode via a script, apt-get update it, and remount it as read only. logrotate would pick up compressed logs and you could either keep trimmed logs in RAM or ship them elsewhere (e-mailed or written to a rw partition). We could do something along the lines of that. The solid state drive would run in read only mode, and the read-write (/var) could be delegated to a hard disk externally. cheers, Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor of Information Systems San Francisco State University San Francisco CA 94132 USA http://verma.sfsu.edu/ http://opensource.sfsu.edu/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] /library partition
On Fri, Jul 17, 2009 at 10:11 PM, Douglas Bagnall doug...@paradise.net.nzwrote: I wrote: - xs-activity-server which stores .xo activities Now, this is interesting. How do the activities get pushed to the XOs? via a USB drive. The format is described here: Ah sorry, I misread. (swine flu). Via http, and it isn't perfect, because the XOs don't know to use it rather than the wiki page they default to. But the README link is still good: http://dev.laptop.org/git/users/martin/xs-activity-server.git/tree/README OK. So this would be the img file for an update? How does it get pushed? There is a script called olpc-update, but you need to mangle the XO's networking a bit to make it look on the schoolserver. http://wiki.laptop.org/go/Olpc-update douglas Thanks for the pointers...will research it up. Sorry to hear about your flu condition. Hope you recover soon. cheers, Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor of Information Systems San Francisco State University San Francisco CA 94132 USA http://verma.sfsu.edu/ http://opensource.sfsu.edu/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] /library partition
On Jul 16, 2009, at 4:40 PM, Sameer Verma wrote: Any documentation on what lives in /library and how to make it useful? The idea behind /library was that the school server needed someplace to place large collections of content and user data. While some people have talked about backing up /library, my thinking was almost the opposite: while other partitions would move to an SSD for reliability, /library would remain on a hard disk for a good $/ GB ratio. Cost wise, a 4 GB SSD should be about $10. Cheers, wad ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] /library partition
On Fri, Jul 17, 2009 at 12:02 PM, Dave Bauerd...@solutiongrove.com wrote: I am not sure if there is any documentation: - pgsql-xs the postgresql database for Moodle (and any other Pg DB we might add :-) ) - users which I think are home directories for the registered XOs which will contain their backups. - xs-activation which holds crypto keys, activations and delegations. With the new xs-activation package it gets used quite a bit in deployments with delegated leases -- ie: with XSs that don't have an internet connection but still run a bitfrost-secured deployment. - xs-activity-server which stores .xo activities - xs-rsync - anything served via rsync. Right now that is only OS updates for the XOs. I believe the overall idea is that anything that is content goes in this directory as opposed to software or parts of the operating system. Exactly. In short, it's the 'data' partition, the one you want to backup, the one that wants a 1TB external disk, the one to mirror or clone. There is a bug in that /var/lib/moodle should be in /library. cheers, m ps: wiki material perhaps? -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] /library partition
On Fri, Jul 17, 2009 at 12:55 AM, Martin Langhoff martin.langh...@gmail.com wrote: On Fri, Jul 17, 2009 at 12:02 PM, Dave Bauerd...@solutiongrove.com wrote: I am not sure if there is any documentation: - pgsql-xs the postgresql database for Moodle (and any other Pg DB we might add :-) ) OK. - users which I think are home directories for the registered XOs which will contain their backups. Yes, I see the backups from registered accounts. - xs-activation which holds crypto keys, activations and delegations. With the new xs-activation package it gets used quite a bit in deployments with delegated leases -- ie: with XSs that don't have an internet connection but still run a bitfrost-secured deployment. OK. Haven't toyed with this as yet. - xs-activity-server which stores .xo activities Now, this is interesting. How do the activities get pushed to the XOs? - xs-rsync - anything served via rsync. Right now that is only OS updates for the XOs. OK. So this would be the img file for an update? How does it get pushed? I believe the overall idea is that anything that is content goes in this directory as opposed to software or parts of the operating system. Exactly. In short, it's the 'data' partition, the one you want to backup, the one that wants a 1TB external disk, the one to mirror or clone. Got it. There is a bug in that /var/lib/moodle should be in /library. Thought so. cheers, m ps: wiki material perhaps? Yes, will create a page and add the items. cheers, Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor of Information Systems San Francisco State University San Francisco CA 94132 USA http://verma.sfsu.edu/ http://opensource.sfsu.edu/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] /library partition
Sameer Verma wrote: - xs-activity-server which stores .xo activities Now, this is interesting. How do the activities get pushed to the XOs? via a USB drive. The format is described here: http://dev.laptop.org/git/users/martin/xs-activity-server.git/tree/README - xs-rsync - anything served via rsync. Right now that is only OS updates for the XOs. OK. So this would be the img file for an update? How does it get pushed? via USB drive. http://dev.laptop.org/git/users/martin/xs-rsync.git/tree/README and the pattern works for (at least) xs-activation too. Douglas ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] /library partition
I wrote: - xs-activity-server which stores .xo activities Now, this is interesting. How do the activities get pushed to the XOs? via a USB drive. The format is described here: Ah sorry, I misread. (swine flu). Via http, and it isn't perfect, because the XOs don't know to use it rather than the wiki page they default to. But the README link is still good: http://dev.laptop.org/git/users/martin/xs-activity-server.git/tree/README OK. So this would be the img file for an update? How does it get pushed? There is a script called olpc-update, but you need to mangle the XO's networking a bit to make it look on the schoolserver. http://wiki.laptop.org/go/Olpc-update douglas ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] /library partition
Any documentation on what lives in /library and how to make it useful? Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor of Information Systems San Francisco State University San Francisco CA 94132 USA http://verma.sfsu.edu/ http://opensource.sfsu.edu/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] /library partition
I am not sure if there is any documentation: It has pgsql-xs the postgresql database for Moodle users which I think are home directories for the registered XOs which will contain their backups. xs-activation, hopefully martin will explain that xs-activity-server which I assume allows you to run a server to distribute activities, and the content goes there. xs-rsync I am not sure what this is. I believe the overall idea is that anything that is content goes in this directory as opposed to software or parts of the operating system. Dave On Thu, Jul 16, 2009 at 4:40 PM, Sameer Vermasve...@sfsu.edu wrote: Any documentation on what lives in /library and how to make it useful? Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor of Information Systems San Francisco State University San Francisco CA 94132 USA http://verma.sfsu.edu/ http://opensource.sfsu.edu/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- Dave Bauer d...@solutiongrove.com http://www.solutiongrove.com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel