{"id":57,"date":"2009-02-22T22:39:00","date_gmt":"2009-02-23T02:39:00","guid":{"rendered":"https:\/\/ericmartel.net\/blogue\/?p=57"},"modified":"2010-10-24T19:36:15","modified_gmt":"2010-10-24T23:36:15","slug":"amazon-s3-jungledisk-amd-automounter-on-mandriva-2009-0","status":"publish","type":"post","link":"https:\/\/blogue.ericmartel.net\/?p=57","title":{"rendered":">Amazon S3 + jungledisk + AMD automounter on Mandriva 2009.0"},"content":{"rendered":"<p>&gt;<span style=\"font-weight: bold;\">Bottom line:<\/span> on Mandriva 2009.0, use AMD automounter + <a href=\"https:\/\/qa.mandriva.com\/show_bug.cgi?id=45007\">those corrective instructions<\/a> to automount jungledisk<\/p>\n<hr \/>\n<p>I use <a href=\"http:\/\/aws.amazon.com\/s3\/\">Amazon S3<\/a> for remote storage of backups. A very simple and cost-effective way to do so is through <a href=\"http:\/\/www.jungledisk.com\/\">Jungle Disk<\/a> (there exists open source solutions, but they are not as practical and painless as Jungle Disk, which is has a very low price anyway). Previously, I was using autofs to automount my S3 buckets at backup time, but it stopped working, I don&rsquo;t know why. I&rsquo;ve tried different settings, but to no avail. Then I learned about <a href=\"http:\/\/www.am-utils.org\/\">AMD<\/a>. I installed the Mandriva am-utils package, but there were problems. I resumed the problems and the solution I found in <a href=\"https:\/\/qa.mandriva.com\/show_bug.cgi?id=45007\">an existing Mandriva bug entry<\/a>.<\/p>\n<p>My \/etc\/amd.conf:<\/p>\n<pre># GLOBAL OPTIONS SECTION[ global ]normalize_hostnames =   noprint_pid =             yespid_file =              \/var\/run\/amd.pidrestart_mounts =        yesauto_dir =              \/.automount#log_file =             \/var\/log\/amdlog_file =              sysloglog_options =           all#debug_options =        allplock =                 noselectors_on_default =  yesprint_version =         no# set map_type to \"nis\" for NIS maps, or comment it out to search for all# typesmap_type =              file#mount_type =           autofssearch_path =           \/etcbrowsable_dirs =        yesshow_statfs_entries =   nofully_qualified_hosts = nocache_duration =        300\r\n\r\n# DEFINE AN AMD MOUNT POINT[ \/net ]map_name =              amd.netmap_type =              file\r\n\r\n[ \/s3 ]map_name =              amd.s3map_type =              file<\/pre>\n<p>My \/etc\/amd.s3:<\/p>\n<pre>\/defaults type:=program;fs:=${autodir}${path}* mount:=\"\/usr\/local\/bin\/jungledisk jungledisk ${fs} -o config=\/root\/.jungledisk\/jungledisk-settings.xml\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>&gt;Bottom line: on Mandriva 2009.0, use AMD automounter + those corrective instructions to automount jungledisk I use Amazon S3 for remote storage of backups. A very simple and cost-effective way to do so is through Jungle Disk (there exists open source solutions, but they are not as practical and painless as Jungle Disk, which is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[4],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-informatique"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5oQvl-V","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=57"}],"version-history":[{"count":1,"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":70,"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=\/wp\/v2\/posts\/57\/revisions\/70"}],"wp:attachment":[{"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogue.ericmartel.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}