{"id":22294,"date":"2024-09-24T12:13:44","date_gmt":"2024-09-24T10:13:44","guid":{"rendered":"https:\/\/contabo.com\/blog\/kb\/103000305610-what-is-the-s3fs-fuse-tool\/"},"modified":"2025-04-10T18:04:42","modified_gmt":"2025-04-10T16:04:42","slug":"103000305610-what-is-the-s3fs-fuse-tool","status":"publish","type":"kb","link":"https:\/\/contabo.com\/blog\/kb\/103000305610-what-is-the-s3fs-fuse-tool\/","title":{"rendered":"What is the s3fs-fuse Tool?"},"content":{"rendered":"<h4 dir=\"ltr\"><strong>What is the s3fs-fuse tool?<\/strong><\/h4>\n<p dir=\"ltr\">Using <u><a dir=\"ltr\" href=\"https:\/\/github.com\/s3fs-fuse\/s3fs-fuse\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\">s3fs-fuse,<\/a><\/u> you can mount a bucket of your S3 compatible Object Storage as a folder on Linux, macOS or FreeBSD machine.&nbsp;<\/p>\n<p dir=\"ltr\"><\/p>\n<p dir=\"ltr\">Please follow the installation instructions <a href=\"https:\/\/github.com\/s3fs-fuse\/s3fs-fuse\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\"><u>here<\/u><\/a><a href=\"https:\/\/github.com\/s3fs-fuse\/s3fs-fuse\" rel=\"noopener noreferrer nofollow nofollow\" target=\"_blank\" dir=\"ltr\"><\/a> if you&#8217;re interested in using this tool.<\/p>\n<p dir=\"ltr\"><\/p>\n<p dir=\"ltr\">If you are using Debian\/Ubuntu please perform run the following command to install it instead:<\/p>\n<p dir=\"ltr\"><\/p>\n<pre dir=\"ltr\"><code class=\"codeBlockLines_e6Vv\">sudo&nbsp;apt&nbsp;install&nbsp;s3fs<\/code><\/pre>\n<p dir=\"ltr\">Please note that that a mounted Object Storage bucket doesn&#8217;t always behave like a normal POSIX file system. Depending on how your application is accessing files, you may encounter issues like:<\/p>\n<p dir=\"ltr\"><\/p>\n<ul>\n<li>no\/wrong file system usage statistics<\/li>\n<li>sub-par performance<\/li>\n<li>unexpected unmounts<\/li>\n<li dir=\"ltr\">duplicate writes leading to hidden objects that occupy space but are invisible to S3 API requests<\/li>\n<\/ul>\n<p><\/p>\n<p dir=\"ltr\">If possible, using other tools like <u dir=\"ltr\"><a dir=\"ltr\" href=\"https:\/\/docs.contabo.com\/docs\/products\/Object-Storage\/Tools\/rclone\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Rclone<\/a><\/u> to access Object Storage is recommended instead.<\/p>\n<h4 dir=\"ltr\"><strong>How do I mount a bucket using sf3s-fuse?<\/strong><\/h4>\n<p dir=\"ltr\">You can follow the below example to setup a mount:<\/p>\n<ul>\n<li>access_key = 82046e8110804a43bf29c1ae426a724d<\/li>\n<li>secret_key = 82e69bd7a52076c527154297a76c2233<\/li>\n<li>S3 URL = https:\/\/eu2.contabostorage.com<\/li>\n<li>bucket name = foo<\/li>\n<li>mount point = ${HOME}\/foo<\/li>\n<\/ul>\n<pre class=\"prism-code language-bash codeBlock_bY9V thin-scrollbar\"><code class=\"codeBlockLines_e6Vv\"># create a settings file with your access_key:secret_key\necho 82046e8110804a43bf29c1ae426a724d:82e69bd7a52076c527154297a76c2233 &gt; ${HOME}\/.passwd-s3fs\nchmod 600 ${HOME}\/.passwd-s3fs\n# create mount point\nmkdir ${HOME}\/foo\n# mount bucket foo to ${HOME}\/foo\ns3fs foo ${HOME}\/foo -o passwd_file=${HOME}\/.passwd-s3fs -o url=https:\/\/eu2.contabostorage.com -o use_path_request_style\n# access contents\nls -la ${HOME}\/foo\n<\/code><\/pre>\n<\/p>\n<p><span class=\"ast-load-more active\"><a href=\"https:\/\/help.contabo.com\/en\/support\/solutions\/articles\/103000305610-what-is-the-s3fs-fuse-tool-\" rel=\"nofollow\">Details&#8230;<\/a> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is the s3fs-fuse tool? Using s3fs-fuse, you can mount a bucket of your S3 compatible Object Storage as a folder on Linux, macOS or FreeBSD machine.&nbsp; Please follow the installation instructions here if you&#8217;re interested in using this tool. If you are using Debian\/Ubuntu please perform run the following command to install it instead: [&hellip;]<\/p>\n","protected":false},"author":72,"featured_media":0,"template":"","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[2067],"tags":[],"class_list":["post-22294","kb","type-kb","status-publish","hentry","category-kb"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Contabo Web","author_link":"https:\/\/contabo.com\/blog\/author\/julius-nalivaiko\/"},"uagb_comment_info":0,"uagb_excerpt":"What is the s3fs-fuse tool? Using s3fs-fuse, you can mount a bucket of your S3 compatible Object Storage as a folder on Linux, macOS or FreeBSD machine.&nbsp; Please follow the installation instructions here if you&#8217;re interested in using this tool. If you are using Debian\/Ubuntu please perform run the following command to install it instead:&hellip;","_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/72"}],"version-history":[{"count":1,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22294\/revisions"}],"predecessor-version":[{"id":22908,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/kb\/22294\/revisions\/22908"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=22294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=22294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=22294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}