tag:blogger.com,1999:blog-6730844193902134967.post7329702514524745982..comments2023-09-05T06:23:22.100-07:00Comments on E O N: Creating a EON ZFS storage self signed certificateAndre Luehttp://www.blogger.com/profile/06886037020375947489noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-6730844193902134967.post-92221490114960507512010-02-10T21:02:42.418-08:002010-02-10T21:02:42.418-08:00zhangyibin,
I am not clear if you're saying U...zhangyibin,<br /><br />I am not clear if you're saying UFS or gzip is responsible for caching the data. gzip has been known to cache but I do not understand your conern.<br /><br />If the gzip data was in cache it would eventually get flushed to media (assuming a crash does not occur before) and the integrity test will have done it's job to indicate success or failure.<br /><br />You can also turn on the forcedirectio mount option on UFS to eliminate caching.<br /><br />The gzip integrity test can also be disabled by editing updimg.sh.Andre Luehttps://www.blogger.com/profile/06886037020375947489noreply@blogger.comtag:blogger.com,1999:blog-6730844193902134967.post-10291017932884302182010-02-10T09:35:28.229-08:002010-02-10T09:35:28.229-08:00I mean UFS uses memory to cache data, so when gzip...I mean UFS uses memory to cache data, so when gzip verifies the image in whatever media, it's the cached data in memory that it verifies, not the data on media. <br /><br />Sorry for my poor English :)zhangyibinhttps://www.blogger.com/profile/02766279017200389766noreply@blogger.comtag:blogger.com,1999:blog-6730844193902134967.post-23371396460621953472010-02-10T08:58:16.571-08:002010-02-10T08:58:16.571-08:00zhangyibin,
It verifies the integrity of the upda...zhangyibin,<br /><br />It verifies the integrity of the updated gzip'ed image. The image location being USB/CF/writable media, not pagecache. It's an extra step but it does serve a purpose.Andre Luehttps://www.blogger.com/profile/06886037020375947489noreply@blogger.comtag:blogger.com,1999:blog-6730844193902134967.post-33131358835525288272010-02-10T06:36:05.732-08:002010-02-10T06:36:05.732-08:00Hi Andre,
A small problem in "updimg.sh"...Hi Andre,<br /><br />A small problem in "updimg.sh": after "gzip -f -9 -c ...", you run "gzip -v -t ..." to verify the new gzipped image, but actually it verifies the image in pagecache so it's no use doing this. Am I right?zhangyibinhttps://www.blogger.com/profile/02766279017200389766noreply@blogger.comtag:blogger.com,1999:blog-6730844193902134967.post-85691258089822195902010-02-08T13:25:45.469-08:002010-02-08T13:25:45.469-08:00Zhangyibin,
Couple of ways:
1. Add the packages a...Zhangyibin,<br /><br />Couple of ways:<br />1. Add the packages and dependencies to the bin-pkg.list and build your own binary kit. The script can be found in the downloads section. Requires SXCE packages and root access on a SXCE system.<br /><br />2. Compile them with prefix /usr/local and copy the binaries over. Requires a opensolaris system with a working gcc compiler.Andre Luehttps://www.blogger.com/profile/06886037020375947489noreply@blogger.comtag:blogger.com,1999:blog-6730844193902134967.post-78347554945684504732010-02-08T11:38:22.605-08:002010-02-08T11:38:22.605-08:00I've used EON for two months. Thanks for your ...I've used EON for two months. Thanks for your excellent work! One question: how can I add PHP/Python to EON?zhangyibinhttps://www.blogger.com/profile/02766279017200389766noreply@blogger.comtag:blogger.com,1999:blog-6730844193902134967.post-52109657475182294452010-02-01T15:25:47.984-08:002010-02-01T15:25:47.984-08:00Hi Bob,
Thanks for the cert.pm catch. It's be...Hi Bob,<br /><br />Thanks for the cert.pm catch. It's been corrected. The cp example can end with or without the "/", I removed them for consistency.<br /><br />ThanksAndre Luehttps://www.blogger.com/profile/06886037020375947489noreply@blogger.comtag:blogger.com,1999:blog-6730844193902134967.post-87293540764047319712010-02-01T14:02:44.350-08:002010-02-01T14:02:44.350-08:00I haven't tested the examples but I think I se...I haven't tested the examples but I think I see an issue or two -<br />In the lighttpd exampe I think the second line (if the files are to be concatenated) should end in "cert.pem, not "cert.pm". In the nginxcp example I think the second line should end with at "/".Bob Snodgrasshttps://www.blogger.com/profile/06828968121447186529noreply@blogger.com