From evs at telod.net Thu Oct 1 14:39:48 2009 From: evs at telod.net (Edward Shabotinsky) Date: Thu Oct 1 14:39:54 2009 Subject: file/backup server In-Reply-To: <200909282005.n8SK5ccc073343@fire.js.berklix.net> References: <200909282005.n8SK5ccc073343@fire.js.berklix.net> Message-ID: try this http://www.ixsystems.com/ On Sep 28, 2009, at 3:05 PM, Julian H. Stacey wrote: > Bakul Shah wrote: >> Not sure what is the right group for this kind of query but >> perhaps people on this group has had similar need. I'd like >> to give freebsd guys a first shot hence a freebsd group. >> >> I am looking for a vendor who will supply a small >> number of fileservers but mainly for backing up a few TB of >> data (exact number not yet known). These will be used in >> various sites. I am envisioning one or two zfs based system. >> One is on all the time and provides some shared storage and >> at least nightly backups. The other is used to sync with the >> first one and but not used otherwise -- used sort of like a >> tape drive (since they don't seem to scale to TB size backups >> without spending lots of money). zfs since it will allow me >> to grow storage seamlessly and raidz2 ought to be good >> enough. Other ideas are possible. If you know of a vendor or >> are one, please contact me privately. Please include me in >> the cc list in case you wish to reply to the group. >> >> Thanks! > > Rod Grimes used to sell custom BSDboxes I recall. > Various other people too. probably some are on hardware@ > Also see http://www.freebsd.org/commercial/hardware.html > > For renting servers in Europe eg np@bsn.com &/or mwe@consol.de (bcc'd > so they wont drown in follow up :-). > &/or http://www.freebsd.org/commercial/isp.html > > Also > http://www.freebsd.org/commercial/commercial.html > Cheers, > Julian > -- > Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com > Mail ASCII plain text not HTML & Base64. http://asciiribbon.org > Virused Microsoft PCs cause spam. http://berklix.com/ > free/ > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" From drleute at familydentistportwashington.com Fri Oct 2 12:03:03 2009 From: drleute at familydentistportwashington.com (Dr. Josh Leute) Date: Fri Oct 2 12:03:10 2009 Subject: The Scariest Halloween Trend Message-ID: Greetings from Dr. Josh Leute! Sugar: The Scariest Halloween Trend Halloween is approaching, and so are all those scary costumes and haunted houses. It shouldn?t be the ghouls and ghosts that you fear, however, but the candied apples, trick-or-treat sweets and all the soda that washes them down! Sugary and acidic foods can lead to tooth decay, and that can put a damper on anyone?s festive spirit. While it would be nice if your neighbors all gave out fresh fruit or sugar-free candy (though we?re sure the kids disagree!), high-sugar sweets are still America?s favorite Halloween treat. If possible, try to limit children?s sugar intake. Encourage them to drink plenty of water while snacking ? soda will only make things worse! And finally, while it?s easy to slip into a "sugar coma" and just pass out while watching a favorite horror flick, this is not the time to stray from your brushing or flossing routine. Let your children know that if they eat sweets without their toothbrushes on hand, they should rinse their mouths out with warm water. If you think your child may have developed a cavity (whether the result of Halloween indulgences or not), please call us at (262)284-5884 for a check up. Even temporary baby teeth need to be properly cared for, as tooth decay can affect permanent adult teeth as well. We?d like to wish you and your family the best this fall season. We hope that when the sweets of autumn runneth over, you?ll think of us (and your smiles)! If you have questions regarding sugar and dental health, please call our office at (262)284-5884 or email us at drleute@familydentistportwashington.com today. Best Regards, Dr. Josh Leute P.S. If you have any friends or family members who you feel could use our services, please don't hesitate to have them call us. We'll be sure to take good care of them. From drz at dentistsherwood.com Fri Oct 2 13:05:53 2009 From: drz at dentistsherwood.com (Dr. Julian H. Zhitnitsky) Date: Fri Oct 2 13:06:00 2009 Subject: The Scariest Halloween Trend Message-ID: Greetings from Dr. Julian H. Zhitnitsky! Sugar: The Scariest Halloween Trend Halloween is approaching, and so are all those scary costumes and haunted houses. It shouldn?t be the ghouls and ghosts that you fear, however, but the candied apples, trick-or-treat sweets and all the soda that washes them down! Sugary and acidic foods can lead to tooth decay, and that can put a damper on anyone?s festive spirit. While it would be nice if your neighbors all gave out fresh fruit or sugar-free candy (though we?re sure the kids disagree!), high-sugar sweets are still America?s favorite Halloween treat. If possible, try to limit children?s sugar intake. Encourage them to drink plenty of water while snacking ? soda will only make things worse! And finally, while it?s easy to slip into a "sugar coma" and just pass out while watching a favorite horror flick, this is not the time to stray from your brushing or flossing routine. Let your children know that if they eat sweets without their toothbrushes on hand, they should rinse their mouths out with warm water. If you think your child may have developed a cavity (whether the result of Halloween indulgences or not), please call us at (818)785-8388 for a check up. Even temporary baby teeth need to be properly cared for, as tooth decay can affect permanent adult teeth as well. We?d like to wish you and your family the best this fall season. We hope that when the sweets of autumn runneth over, you?ll think of us (and your smiles)! If you have questions regarding sugar and dental health, please call our office at (818)785-8388 or email us at drz@dentistsherwood.com today. Best Regards, Dr. Julian H. Zhitnitsky P.S. If you have any friends or family members who you feel could use our services, please don't hesitate to have them call us. We'll be sure to take good care of them. From asientrade at freenet.de Thu Oct 15 13:41:23 2009 From: asientrade at freenet.de (daniel) Date: Thu Oct 15 13:41:57 2009 Subject: Twitter-endlich Geldverdienen-kostenlos und sofort startklar Message-ID: <200910151541363262F8F58B$291E8B2BE5@DANIELPC> ?Offers stand below as an English available Hallo- ??????????????????????????????????????? verdiene endlich Geld durch Twitterwenn ein Twitter Account vorhanden sein sollte dann gehts sofort los mit Verdienen.sollte keine Account vorhanden sein dann einfach alles kostenlos erstellen und verdienen.?mit besten Empfehlungen eure Danielleichter kann man sein ?Geld nicht verdienen- alles kostenlos wenn sie einen Twitteraccount haben.Also schnell handel-bei weiterem Interesse und lust an gratis produkten einfach kurz anmelden-oder abmelden-- danke??Anmelden?????? ?Abmelden?24 Std. Blitzangebot?nur begrenzt f?r?24 Stunden aktiv danach ausverkauft--- http://www.affiliateverkaufen.de/blitzangebot.html???? 10,-?(The Logo Creator hilft beim Erstellen qualitativ hochwertiger Logos. Ganz nach dem Motto "Your Logo is your business" gestaltet der Nutzer mit diesem Programm Blickf?nger f?r Webseiten)?(?bersetzen Sie ganz einfach und mit wenigen Klicks Texte oder sogar komplette Webseiten in 31 Sprachen. )nur 28,-??oder Aktionspreis 30,-??? f?r Logocreator v5 und PDF-Converter 6.0 dt.?Oder m?chten sie lieber effektiv heute noch Geld verdienen und Zahlungen wenn m?glich sofort erwirtschaften-?? dann mit diesem angebot was f?r mich selbstbehauptet das beste ?berhaupt war und ist--Geld durch Emails verdienen-aber keine centbetr?ge sondern sofort 10-20,-? sofort-zahlung innerhalb weniger minuten, ich habe zur zeit zwischen 5 und 20 Kunden pro tag (weltweit) bei einem verdienst pro email von ca. 15,-? und ich betreibe keinerlei werbung oder verkaufe durchs telefon nein die Kunden kommen zu mir und ich verdiene sehr gut-aber lesen sie selbst wenn ihr interesse noch vorhanden ist weiter im Angebot 2.erfolgreiches Handeln w?nsche ich auf diesem Wege-bei weiteren Interessen k?nnen sie sichwiederholt eintragen um weitere Angebote und Gratis Geschenke zu erhalten........................(oder Abmelden).... Anmelden???? Abmelden ?Hello- finally earn money by Twitterthen immediately feels wrong with earning if a Twitter account should be available. no-one should account be available simply then everything free of charge make and earn. with best recommendations yours Danielone can more easily money not earning everything be ' free if they have a Twitteraccount. -therefore act fast simply registering or cancelling at broader interest and desire at free products briefly, thank youBookingCancelling24 hour lightning supply?sold off according to that actively for 24 hours only restrictedly - http://www.affiliateverkaufen.de/blitzangebot.html 10. ? (A The logo Creator helps to make high-quality logos. According to the motto "Your logo is your business" the user completely forms with this programme eye-catcher for web pages.) ? (Translate texts or even complete web pages for only simply and a few clicks into 31 languages.) only 28. ? or special-offer price 30. ? for Logocreator v5 and PDF-Converter of 6.0 dt. -or they would rather, today, still earn money effectively and immediately gain payments if possible? with this supply did but no cent amounts what was self claimed for me the best at all and is? I have 10-20,- ? immediately payment within less minutes, between 5 and 20 customers per day (worldwide) at an income per e-mail from approx. 15. ? at the moment by the telephone the customers no come to me and I earn very well and I operate no advertising or sell but read them even if their interest is still further existing in the supply 2. Angebot 2.I wish on this at broader interests be able to do them himself a successful action waystyping repeated ........................ in to receive further offers and free presents. (or cancel ) ..... Booking? Cancelling???? From tonix at interazioni.it Tue Oct 27 10:13:25 2009 From: tonix at interazioni.it (Tonix (Antonio Nati)) Date: Tue Oct 27 10:13:32 2009 Subject: Jails creation Message-ID: <4AE6C7BD.907@interazioni.it> Is there any architectural reason for which jails must be created only starting from sources? Would not it be simpler to create a jail cloning the host environment binaries (and then using the normal freebsd-update to keep it updated)? Would it be possible to suggest a funded project with this goal? Regards, Tonino -- ------------------------------------------------------------ Inter@zioni Interazioni di Antonio Nati http://www.interazioni.it tonix@interazioni.it ------------------------------------------------------------ From vince at unsane.co.uk Tue Oct 27 11:01:28 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Tue Oct 27 11:01:35 2009 Subject: Jails creation In-Reply-To: <4AE6C7BD.907@interazioni.it> References: <4AE6C7BD.907@interazioni.it> Message-ID: <4AE6D302.9010100@unsane.co.uk> Tonix (Antonio Nati) wrote: > > Is there any architectural reason for which jails must be created only > starting from sources? > Would not it be simpler to create a jail cloning the host environment > binaries (and then using the normal freebsd-update to keep it updated)? > Would it be possible to suggest a funded project with this goal? > I dont tend to use jails but my understanding is that you can use the standard install to create a jail (based on info from http://pbraun.nethence.com/doc/sysutils_bsd/dragonfly-freebsd-jail.html) mkdir -p /var/jails/base sysinstall then, sysinstall > Custom > Options > Install Root > /var/jails/base sysinstall > Custom > Distributions > Minimal sysinstall > Custom > Media > File System > /cdrom (I just used ftp myself, this meant i had to change the release from 7.2-RELEASE-p4 to 7.2-RELEASE in options) sysinstall > Custom > Commit [Visit the general configuration menu ?] > No Note. don't do the post-install, it would modify the host, not the guest. A quick jail /var/jails/base footest 10.0.0.2 /bin/sh gives me a shell in the jail so it seems to have worked, Time to add devfs etc i guess. >From here i'm going to have a look at sysutils/ezjail as that keeps coming up as a good way of managing jails, but I seem to have an working base system in /var/jails/base without compiling anything. I might have a play now and get updates etc working. regards, Vince > Regards, > > Tonino > From vince at unsane.co.uk Tue Oct 27 14:41:40 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Tue Oct 27 14:41:47 2009 Subject: Jails creation In-Reply-To: <4AE6D302.9010100@unsane.co.uk> References: <4AE6C7BD.907@interazioni.it> <4AE6D302.9010100@unsane.co.uk> Message-ID: <4AE706A0.8050409@unsane.co.uk> Vincent Hoffman wrote: > Tonix (Antonio Nati) wrote: > >> Is there any architectural reason for which jails must be created only >> starting from sources? >> Would not it be simpler to create a jail cloning the host environment >> binaries (and then using the normal freebsd-update to keep it updated)? >> Would it be possible to suggest a funded project with this goal? >> >> > I dont tend to use jails but my understanding is that you can use the > standard install to create a jail (based on info from > http://pbraun.nethence.com/doc/sysutils_bsd/dragonfly-freebsd-jail.html) > > mkdir -p /var/jails/base > sysinstall > then, > sysinstall > Custom > Options > Install Root > /var/jails/base > sysinstall > Custom > Distributions > Minimal > sysinstall > Custom > Media > File System > /cdrom (I just used ftp > myself, this meant i had to change the release from 7.2-RELEASE-p4 to > 7.2-RELEASE in options) > sysinstall > Custom > Commit > [Visit the general configuration menu ?] > No > Note. don't do the post-install, it would modify the host, not the guest. > > A quick > jail /var/jails/base footest 10.0.0.2 /bin/sh > gives me a shell in the jail so it seems to have worked, Time to add > devfs etc i guess. > > >From here i'm going to have a look at sysutils/ezjail as that keeps > coming up as a good way of managing jails, but I seem to have an working > base system in /var/jails/base without compiling anything. I might have > a play now and get updates etc working. > Ok now I have played with sysutils/ezjail, forget the first part ;) just "ezjail-admin install" will do a binary install for a base jail from an ftp server. you can use "ezjail-admin update -u" to update the base jail using freebsd-update for some reason this isnt in the manpage. Not exactly what you have asked for but close enough if you dont like installing from source. Vince > regards, > Vince > >> Regards, >> >> Tonino >> >> > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > From tonix at interazioni.it Tue Oct 27 14:51:45 2009 From: tonix at interazioni.it (Tonix (Antonio Nati)) Date: Tue Oct 27 14:51:52 2009 Subject: Jails creation In-Reply-To: <4AE706A0.8050409@unsane.co.uk> References: <4AE6C7BD.907@interazioni.it> <4AE6D302.9010100@unsane.co.uk> <4AE706A0.8050409@unsane.co.uk> Message-ID: <4AE708AF.4070705@interazioni.it> Hi Vincent, I'm trying as much as possible to not install sources. I'm designing a general architecture with very small machines, smallest as possible, as I'd love to avoid sources (both locals and remote). Thanks, Tonino Vincent Hoffman ha scritto: > Vincent Hoffman wrote: > >> Tonix (Antonio Nati) wrote: >> >> >>> Is there any architectural reason for which jails must be created only >>> starting from sources? >>> Would not it be simpler to create a jail cloning the host environment >>> binaries (and then using the normal freebsd-update to keep it updated)? >>> Would it be possible to suggest a funded project with this goal? >>> >>> >>> >> I dont tend to use jails but my understanding is that you can use the >> standard install to create a jail (based on info from >> http://pbraun.nethence.com/doc/sysutils_bsd/dragonfly-freebsd-jail.html) >> >> mkdir -p /var/jails/base >> sysinstall >> then, >> sysinstall > Custom > Options > Install Root > /var/jails/base >> sysinstall > Custom > Distributions > Minimal >> sysinstall > Custom > Media > File System > /cdrom (I just used ftp >> myself, this meant i had to change the release from 7.2-RELEASE-p4 to >> 7.2-RELEASE in options) >> sysinstall > Custom > Commit >> [Visit the general configuration menu ?] > No >> Note. don't do the post-install, it would modify the host, not the guest. >> >> A quick >> jail /var/jails/base footest 10.0.0.2 /bin/sh >> gives me a shell in the jail so it seems to have worked, Time to add >> devfs etc i guess. >> >> >From here i'm going to have a look at sysutils/ezjail as that keeps >> coming up as a good way of managing jails, but I seem to have an working >> base system in /var/jails/base without compiling anything. I might have >> a play now and get updates etc working. >> >> > > Ok now I have played with sysutils/ezjail, forget the first part ;) > just "ezjail-admin install" will do a binary install for a base jail > from an ftp server. > you can use "ezjail-admin update -u" to update the base jail using > freebsd-update for some reason this isnt in the manpage. > Not exactly what you have asked for but close enough if you dont like > installing from source. > > > Vince > > >> regards, >> Vince >> >> >>> Regards, >>> >>> Tonino >>> >>> >>> >> _______________________________________________ >> freebsd-isp@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-isp >> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >> >> > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > > -- ------------------------------------------------------------ Inter@zioni Interazioni di Antonio Nati http://www.interazioni.it tonix@interazioni.it ------------------------------------------------------------ From vince at unsane.co.uk Tue Oct 27 16:53:26 2009 From: vince at unsane.co.uk (Vincent Hoffman) Date: Tue Oct 27 16:53:33 2009 Subject: Jails creation In-Reply-To: <4AE708AF.4070705@interazioni.it> References: <4AE6C7BD.907@interazioni.it> <4AE6D302.9010100@unsane.co.uk> <4AE706A0.8050409@unsane.co.uk> <4AE708AF.4070705@interazioni.it> Message-ID: <4AE72580.8030001@unsane.co.uk> Tonix (Antonio Nati) wrote: > Hi Vincent, > > I'm trying as much as possible to not install sources. > I'm designing a general architecture with very small machines, > smallest as possible, as I'd love to avoid sources (both locals and > remote). > As i said, i'm not a regular user of jails so i may be missing something, but I rather thought that was my point. Using the ezjails framework, I didnt need the sources installed. ezjail is a shell script so it doesnt install anything else (no dependancies.) It installed the base jail using the binary install packages from a remote FTP server. It minimises your disk usage afterwards by using nullfs for the base system in each jail, and it lets you update the base jail using freebsd-update. I now have 2 jails (basic, just the freebsd base system) using a total of 140M, each additional jail will start off taking just 1.8M. Since on my host system my freebsd-update database alone is 665M I can see this system as a big win for diskspace not to mention the nice centralized update for all the jails. Back to your original question, you dont have to install a jail from source, I see no reason you couldnt just copy the base system into a directory and use it as a jail if you wanted. In fact a very quick test shows that taring up an existing system then untaring and editing rc.conf and fstab comes up as a working jail. (working as in network works and i can enter it by running jexec $jailid sh ) Vince > Thanks, > Tonino > > Vincent Hoffman ha scritto: >> Vincent Hoffman wrote: >> >>> Tonix (Antonio Nati) wrote: >>> >>>> Is there any architectural reason for which jails must be created only >>>> starting from sources? >>>> Would not it be simpler to create a jail cloning the host environment >>>> binaries (and then using the normal freebsd-update to keep it >>>> updated)? >>>> Would it be possible to suggest a funded project with this goal? >>>> >>>> >>> I dont tend to use jails but my understanding is that you can use the >>> standard install to create a jail (based on info from >>> http://pbraun.nethence.com/doc/sysutils_bsd/dragonfly-freebsd-jail.html) >>> >>> >>> mkdir -p /var/jails/base >>> sysinstall >>> then, >>> sysinstall > Custom > Options > Install Root > /var/jails/base >>> sysinstall > Custom > Distributions > Minimal >>> sysinstall > Custom > Media > File System > /cdrom (I just used ftp >>> myself, this meant i had to change the release from 7.2-RELEASE-p4 to >>> 7.2-RELEASE in options) >>> sysinstall > Custom > Commit >>> [Visit the general configuration menu ?] > No >>> Note. don't do the post-install, it would modify the host, not the >>> guest. >>> >>> A quick >>> jail /var/jails/base footest 10.0.0.2 /bin/sh >>> gives me a shell in the jail so it seems to have worked, Time to add >>> devfs etc i guess. >>> >>> >From here i'm going to have a look at sysutils/ezjail as that keeps >>> coming up as a good way of managing jails, but I seem to have an >>> working >>> base system in /var/jails/base without compiling anything. I might have >>> a play now and get updates etc working. >>> >> >> Ok now I have played with sysutils/ezjail, forget the first part ;) >> just "ezjail-admin install" will do a binary install for a base jail >> from an ftp server. >> you can use "ezjail-admin update -u" to update the base jail using >> freebsd-update for some reason this isnt in the manpage. >> Not exactly what you have asked for but close enough if you dont like >> installing from source. >> >> >> Vince >> >> >>> regards, >>> Vince >>> >>>> Regards, >>>> >>>> Tonino >>>> >>>> >>> _______________________________________________ >>> freebsd-isp@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-isp >>> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >>> >> >> _______________________________________________ >> freebsd-isp@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-isp >> To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >> >> > > From 000.fbsd at quip.cz Tue Oct 27 17:02:44 2009 From: 000.fbsd at quip.cz (Miroslav Lachman) Date: Tue Oct 27 17:02:51 2009 Subject: Jails creation In-Reply-To: <4AE6C7BD.907@interazioni.it> References: <4AE6C7BD.907@interazioni.it> Message-ID: <4AE7232E.2070208@quip.cz> Tonix (Antonio Nati) wrote: > > Is there any architectural reason for which jails must be created only > starting from sources? > Would not it be simpler to create a jail cloning the host environment > binaries (and then using the normal freebsd-update to keep it updated)? > Would it be possible to suggest a funded project with this goal? You are not the first one with this idea. You can easily use nullfs mount of directories from base system, but people mostly prefer independent directory with jail install shared by many jails. And sometimes somebody needs jails with modified binaries, so it is not possible to share theme with base system in all cases. There are many ways to get jails running without sources, it is up to you to choose one. Miroslav Lachman PS: there is freebsd-jail@freebsd.org mailinglist From tonix at interazioni.it Tue Oct 27 17:08:21 2009 From: tonix at interazioni.it (Tonix (Antonio Nati)) Date: Tue Oct 27 17:08:40 2009 Subject: Jails creation In-Reply-To: <4AE7232E.2070208@quip.cz> References: <4AE6C7BD.907@interazioni.it> <4AE7232E.2070208@quip.cz> Message-ID: <4AE728F8.7020809@interazioni.it> Miroslav Lachman ha scritto: > Tonix (Antonio Nati) wrote: >> >> Is there any architectural reason for which jails must be created >> only starting from sources? >> Would not it be simpler to create a jail cloning the host environment >> binaries (and then using the normal freebsd-update to keep it updated)? >> Would it be possible to suggest a funded project with this goal? > > You are not the first one with this idea. You can easily use nullfs > mount of directories from base system, but people mostly prefer > independent directory with jail install shared by many jails. > > And sometimes somebody needs jails with modified binaries, so it is > not possible to share theme with base system in all cases. > > There are many ways to get jails running without sources, it is up to > you to choose one. > > Miroslav Lachman > > PS: there is freebsd-jail@freebsd.org mailinglist > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" > I have nothing against shared dirs, but my question is this: why the basic jail creation command requires compilation? Given the fact jail must have exactly the same version of base system, why the base create command dos not simply copy the existing binaries? It would avoid local source, remote packages, etc... Regards, Tonino -- ------------------------------------------------------------ Inter@zioni Interazioni di Antonio Nati http://www.interazioni.it tonix@interazioni.it ------------------------------------------------------------ From 000.fbsd at quip.cz Tue Oct 27 18:41:34 2009 From: 000.fbsd at quip.cz (Miroslav Lachman) Date: Tue Oct 27 18:41:46 2009 Subject: Jails creation In-Reply-To: <4AE728F8.7020809@interazioni.it> References: <4AE6C7BD.907@interazioni.it> <4AE7232E.2070208@quip.cz> <4AE728F8.7020809@interazioni.it> Message-ID: <4AE73ED9.5000505@quip.cz> Tonix (Antonio Nati) wrote: > Miroslav Lachman ha scritto: [...] >> You are not the first one with this idea. You can easily use nullfs >> mount of directories from base system, but people mostly prefer >> independent directory with jail install shared by many jails. >> >> And sometimes somebody needs jails with modified binaries, so it is >> not possible to share theme with base system in all cases. >> >> There are many ways to get jails running without sources, it is up to >> you to choose one. [...] > I have nothing against shared dirs, but my question is this: why the > basic jail creation command requires compilation? Given the fact jail > must have exactly the same version of base system, why the base create > command dos not simply copy the existing binaries? It would avoid local > source, remote packages, etc... It is not true. Jail command does not requires compilation, nor exactly same version. I am running 6.x version jail on system with 7.2 and you can run 32bit (i386) jail on 64bit (amd64) system. The `jail` command is there just for starting the jail, not for building it. The jail even does not need to be a full installed system! There are too many different scenarios with jails, that there can not be "one command to satisfy them all". It is up to administrator to prepare the best environment for his/her needs. If you need the full copy of the base system, you can do it really easily (by tar as was suggested by Vincet Hoffman or dump & restore), and if you do it for each jail, you loose the benefits of shared read-only base directory (you will need more disk space and more memory). If you do not want to spend some time by compilation, you can install the jail from installation media you already have from system install. cd /some/media/7.2-RELEASE/base mkdir /path/to/myjail setenv DESTDIR /path/to/myjail sh install.sh That's all! It is too simple in contrast to source build or manually copy something from base. If you are using ZFS, you can use snapshots and clones... And many more scenarios exist. I am CCing freebsd-jail@, it is more appropriate list to contionue. Miroslav Lachman From blake at ekalb.net Tue Oct 27 19:49:34 2009 From: blake at ekalb.net (Blake Covarrubias) Date: Tue Oct 27 19:49:44 2009 Subject: Jails creation In-Reply-To: <4AE73ED9.5000505@quip.cz> References: <4AE6C7BD.907@interazioni.it> <4AE7232E.2070208@quip.cz> <4AE728F8.7020809@interazioni.it> <4AE73ED9.5000505@quip.cz> Message-ID: <2E43F01D-92BD-425A-B0A9-F29178B60200@ekalb.net> Hi, This is how I perform binary updates and installation of jails. I used a file called install.cfg to hold my sysinstall variables. ### install.cfg ### installVarDefaults releaseName=7.2-RELEASE _ftpPath= ftp://ftp.freebsd.org/pub/FreeBSD/ mediaSetFTP dists=base man distSetCustom installRoot=/srv/jails/example.domain.tld/root installCommit ################ # Install mkdir -p /srv/jails/example.domain.tld/root sysinstall configFile=/root/install.cfg loadConfig freebsd-update works within the jail to update patches. For migrating point releases (7.1 to 7.2) after updating the host OS I use the commands below. env UNAME_r=7.1-RELEASE-p5 freebsd-update -b /srv/jails/ example.domain.tld/root -r 7.2-RELEASE upgrade freebsd-update -b /srv/jails/example.domain.tld/root install /etc/rc.d/jail restart freebsd-update -b /srv/jails/example.domain.tld/root install Works great in my environment. -- Blake Covarrubias On Oct 27, 2009, at 11:41 AM, Miroslav Lachman wrote: > Tonix (Antonio Nati) wrote: > >> Miroslav Lachman ha scritto: > [...] >>> You are not the first one with this idea. You can easily use >>> nullfs mount of directories from base system, but people mostly >>> prefer independent directory with jail install shared by many jails. >>> >>> And sometimes somebody needs jails with modified binaries, so it >>> is not possible to share theme with base system in all cases. >>> >>> There are many ways to get jails running without sources, it is up >>> to you to choose one. > > [...] > >> I have nothing against shared dirs, but my question is this: why >> the basic jail creation command requires compilation? Given the >> fact jail must have exactly the same version of base system, why >> the base create command dos not simply copy the existing binaries? >> It would avoid local source, remote packages, etc... > > It is not true. Jail command does not requires compilation, nor > exactly same version. I am running 6.x version jail on system with > 7.2 and you can run 32bit (i386) jail on 64bit (amd64) system. > The `jail` command is there just for starting the jail, not for > building it. The jail even does not need to be a full installed > system! > There are too many different scenarios with jails, that there can > not be "one command to satisfy them all". > It is up to administrator to prepare the best environment for his/ > her needs. > > If you need the full copy of the base system, you can do it really > easily (by tar as was suggested by Vincet Hoffman or dump & > restore), and if you do it for each jail, you loose the benefits of > shared read-only base directory (you will need more disk space and > more memory). > > If you do not want to spend some time by compilation, you can > install the jail from installation media you already have from > system install. > > cd /some/media/7.2-RELEASE/base > mkdir /path/to/myjail > setenv DESTDIR /path/to/myjail > sh install.sh > > That's all! It is too simple in contrast to source build or manually > copy something from base. > > If you are using ZFS, you can use snapshots and clones... > > And many more scenarios exist. > > I am CCing freebsd-jail@, it is more appropriate list to contionue. > > Miroslav Lachman > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" From tonix at interazioni.it Wed Oct 28 07:33:32 2009 From: tonix at interazioni.it (Tonix (Antonio Nati)) Date: Wed Oct 28 07:33:39 2009 Subject: Jails creation In-Reply-To: <4AE73ED9.5000505@quip.cz> References: <4AE6C7BD.907@interazioni.it> <4AE7232E.2070208@quip.cz> <4AE728F8.7020809@interazioni.it> <4AE73ED9.5000505@quip.cz> Message-ID: <4AE7F3C2.4030607@interazioni.it> Miroslav Lachman ha scritto: > It is not true. Jail command does not requires compilation, nor > exactly same version. I am running 6.x version jail on system with 7.2 > and you can run 32bit (i386) jail on 64bit (amd64) system. I did not know, and this is very useful to me also. I supposed, as the jail kernel is a "fake" kernel, both systems should have the same version, but if I can mix it's a great opportunity. > The `jail` command is there just for starting the jail, not for > building it. The jail even does not need to be a full installed system! > There are too many different scenarios with jails, that there can not > be "one command to satisfy them all". > It is up to administrator to prepare the best environment for his/her > needs. > > If you need the full copy of the base system, you can do it really > easily (by tar as was suggested by Vincet Hoffman or dump & restore), > and if you do it for each jail, you loose the benefits of shared > read-only base directory (you will need more disk space and more memory). > > If you do not want to spend some time by compilation, you can install > the jail from installation media you already have from system install. > > cd /some/media/7.2-RELEASE/base > mkdir /path/to/myjail > setenv DESTDIR /path/to/myjail > sh install.sh > > That's all! It is too simple in contrast to source build or manually > copy something from base. > Thanks! In this way it is a lot more easier to setup and/or customize. Tonino -- ------------------------------------------------------------ Inter@zioni Interazioni di Antonio Nati http://www.interazioni.it tonix@interazioni.it ------------------------------------------------------------