{"id":620,"date":"2020-02-20T19:49:04","date_gmt":"2020-02-20T18:49:04","guid":{"rendered":"https:\/\/codedoneright.eu\/?page_id=620"},"modified":"2022-05-09T19:35:52","modified_gmt":"2022-05-09T18:35:52","slug":"mount-disk","status":"publish","type":"page","link":"https:\/\/codedoneright.eu\/?page_id=620","title":{"rendered":"Mounting external storage"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/f8\/Laptop-hard-drive-exposed.jpg\" alt=\"\" width=\"431\" height=\"330\"\/><figcaption>Space for your data<\/figcaption><\/figure><\/div>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Word of caution before you begin<\/h4>\n\n\n\n<p>The biggest hurdle you will encounter when mounting disks to Raspberry Pi is the power usage. Some disks, require more power than others. This is not an issue with a regular PC, as it delivers greater amount of power than needed for using a disk, but Raspberry will have problems. <\/p>\n\n\n\n<p>If you are experiencing any difficulties with using a disk, such as video stuttering or general access trouble, then consider changing the case for a powered one.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">How Linux treats drives<\/h4>\n\n\n\n<p>Contrary to Windows, Linux treats partitions as folders. They can be placed anywhere you want them to be, instead of being constrained to a lettered drive. If you want to put the partition directly on the root system, you can do it. If you want to mount it in <em>\/var\/<\/em> folder, you can do that as well. <\/p>\n\n\n\n<p>Windows automatically mounts any partition that it detects, if you plug a pendrive to your PC, it just shows up. Windows streamlines the process and correctly assumes you want it to show up immediately, and acts by mounting the partition. This is not the case on Linux.<\/p>\n\n\n\n<p>Upon plugging a drive to your Linux machine it is acknowledged by the system, but partitions are not mounted. User can choose where to mount a partition, as they are treated as additional folders for you to use as far as the system is concerned. <\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Creating a mount folder<\/h4>\n\n\n\n<p>Now that you know how Linux treats drives, it is time to decide where you want to mount it. It can be anywhere, almost, but remember that the drive should be mounted in an easily accessible place and navigating to <em>\/var\/john\/drives\/disk1\/partition1\/<\/em> might be inconvenient. I am not saying you cannot mount it there, but you can mount it a more user friendly place.<\/p>\n\n\n\n<p>For the purpose of this tutorial let us assume that you want your drive accessible from the folder <em>\/drive1<\/em>. Run the following commands<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir \/drive1\nsudo chmod -R 775 \/drive1<\/code><\/pre>\n\n\n\n<p>The above will create a folder <em>drive1<\/em> right on the root of your filesystem. any time you want to access it you can just type <em>\/drive1<\/em> in the path. Modify <em>chmod <\/em>accordingly if you have a specific use for the drive. Otherwise leave it at <em>775<\/em>.  Setting <em>chmod <\/em>to <em>777 <\/em>will give everybody full access.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Proper file system<\/h4>\n\n\n\n<p>Partitions should be formatted to <em>ext4<\/em> file system, so that Raspberry can read it without any problems (<em>ext2<\/em> if using an SD card). It is possible to use other file systems such as NTFS. For convenience, it is best to use the native Linux <em>ext4<\/em> file system. Learn how to <a href=\"https:\/\/codedoneright.eu\/?page_id=670\">format your drives here<\/a>.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Listing drives<\/h4>\n\n\n\n<p>In order to mount a drive you have to know what drives are available for mounting. Run the following command <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo fdisk -l<\/code><\/pre>\n\n\n\n<p>At the bottom of output you should find an entry similar to the following<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"512\" height=\"161\" src=\"https:\/\/codedoneright.eu\/wp-content\/uploads\/fdisk.png\" alt=\"\" class=\"wp-image-598\" srcset=\"https:\/\/codedoneright.eu\/wp-content\/uploads\/fdisk.png 512w, https:\/\/codedoneright.eu\/wp-content\/uploads\/fdisk-300x94.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/figure><\/div>\n\n\n\n<p>Entry <em>Disk \/dev\/sda<\/em> shows the disk. However, you should mount the partition, and not the disk itself. <\/p>\n\n\n\n<p>Partitions will be listed as <em>\/dev\/sdaX<\/em> where <em>X<\/em> is the number of a partition. <\/p>\n\n\n\n<p>If you have only one, you will see just <em>\/dev\/sda1<\/em>, like on the screenshot above.<\/p>\n\n\n\n<p>If you have more drives, the second will be shown as <em>\/dev\/sdb<\/em> with partitions starting from <em>\/dev\/sdb1<\/em>, third will be <em>\/dev\/sdc<\/em> etc.<\/p>\n\n\n\n<p><em>fdisk<\/em> shows an overview of drives available to you and will allow to identify partitions belonging to a particular drive. <\/p>\n\n\n\n<p>In case you have trouble identifying disks you can google the disk model to make sure which <em>\/dev\/sdX<\/em> is which disk.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Mounting a partition<\/h3>\n\n\n\n<p>Run the following command to mount your partition<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mount \/dev\/sda1 \/drive1<\/code><\/pre>\n\n\n\n<p>Now your disk is available through <em>\/drive1<\/em> folder. Hardest part was finding the correct partition to mount.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Mounting a partition to a folder with files<\/h3>\n\n\n\n<p>It is possible to mount a partition to a folder that already contains files. System will not prevent you from doing so, however, bear in mind that those files will not be accessible as long as the partition is mounted in that particular folder.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Unmounting a drive<\/h3>\n\n\n\n<p>If for some reason you want to unplug your drive from a running system, it is best to do it safely by unmounting it first. Unless you physically unplug it, the drive will be accessible to your system if you want to mount it again or modify somehow (e.g. format a partition).<\/p>\n\n\n\n<p>The biggest difference is that it will not be readable or writeable, so unplugging it will not affect data, and in turn you will avoid any corruption that could happen should you unplug a drive that is in the process or writing to disk.<\/p>\n\n\n\n<p><strong>CAUTION <\/strong>remember that if you have multiple partitions mounted on a given drive, you should unmount all of them before unplugging it the drive!<\/p>\n\n\n\n<p>In order to unmount the drive from the example above, run the following command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo umount \/dev\/sda1<\/code><\/pre>\n\n\n\n<p>It is now safe to unplug your drive from your machine.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Mounting a drive permanently<\/h4>\n\n\n\n<p>Since drives have to be mounted manually, upon a system reboot they will not be mounted by default. You can, however, modify this behavior if you have a drive permanently attached to your Raspberry. <\/p>\n\n\n\n<p>In order to do so, you have to modify the <em>fstab<\/em> file located here<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/fstab<\/code><\/pre>\n\n\n\n<p>But first, you need to gather some more information from your system to be sure that the exact same partition will be mounted to the exact same location every time. If you attach a second drive, depending on USB ports you use, it might take place of your disk in <em>\/dev\/sda<\/em> and consequentially your <em>\/dev\/sda1<\/em> partition might change.<\/p>\n\n\n\n<p><strong>CAUTION<\/strong> Read warning about unusual partition identifiers below first!<\/p>\n\n\n\n<p>Run the following command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>blkid<\/code><\/pre>\n\n\n\n<p>This is the typical result<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"51\" src=\"https:\/\/codedoneright.eu\/wp-content\/uploads\/blkid.png\" alt=\"\" class=\"wp-image-625\" srcset=\"https:\/\/codedoneright.eu\/wp-content\/uploads\/blkid.png 877w, https:\/\/codedoneright.eu\/wp-content\/uploads\/blkid-300x17.png 300w, https:\/\/codedoneright.eu\/wp-content\/uploads\/blkid-768x45.png 768w\" sizes=\"(max-width: 877px) 100vw, 877px\" \/><\/figure><\/div>\n\n\n\n<p>As you can see at the very bottom we have our <em>\/dev\/sda1<\/em> partition. Take note of the following<\/p>\n\n\n\n<ul><li>TYPE=&#8221;ext4&#8243;<\/li><li>PARTUUID=&#8221;253498ac-01&#8243;<\/li><\/ul>\n\n\n\n<p>Those two parameters will allow us to mount the partition upon system reboot.<\/p>\n\n\n\n<ul><li><strong>TYPE <\/strong>denotes the filesystem of the partition<\/li><li><strong>PARTUUID<\/strong> denotes a unique partition identifier<\/li><\/ul>\n\n\n\n<p>Just to be on the safe side make a copy of <em>fstab<\/em> file with the following<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo cp \/etc\/fstab \/etc\/fstab.old<\/code><\/pre>\n\n\n\n<p>Now you can safely modify it. Run the following command<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/fstab<\/code><\/pre>\n\n\n\n<p>You will see an output similar to the below<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/codedoneright.eu\/wp-content\/uploads\/fstab1.png\" alt=\"\" class=\"wp-image-627\" width=\"580\" height=\"76\" srcset=\"https:\/\/codedoneright.eu\/wp-content\/uploads\/fstab1.png 603w, https:\/\/codedoneright.eu\/wp-content\/uploads\/fstab1-300x40.png 300w\" sizes=\"(max-width: 580px) 100vw, 580px\" \/><\/figure><\/div>\n\n\n\n<p>Now add one more line like this<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"591\" height=\"105\" src=\"https:\/\/codedoneright.eu\/wp-content\/uploads\/fstab2.png\" alt=\"\" class=\"wp-image-630\" srcset=\"https:\/\/codedoneright.eu\/wp-content\/uploads\/fstab2.png 591w, https:\/\/codedoneright.eu\/wp-content\/uploads\/fstab2-300x53.png 300w\" sizes=\"(max-width: 591px) 100vw, 591px\" \/><\/figure>\n\n\n\n<p>Quick explanation of the line<\/p>\n\n\n\n<ul><li><strong>PARTUUID<\/strong> \u2013 unique partition identifier that you found out earlier, do not use quotes<\/li><li><strong>\/drive1<\/strong> \u2013 mount point for the partition (folder where it should show)<\/li><li><strong>ext4<\/strong> \u2013 filesystem of the partition<\/li><li><strong>defaults,auto,rw<\/strong> \u2013 you can just put the default, this denotes the partition behavior<\/li><li><strong>0<\/strong> \u2013 for backup purposes, leave at 0 unless you know that you need it changed<\/li><li><strong>2<\/strong> \u2013 denotes order of scanning by <em>fsck<\/em> at boot if something went wrong, leave at 2<\/li><\/ul>\n\n\n\n<p>Save the file, and upon a reboot your partition will be mounted automatically.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Unusual partition identifiers<\/h4>\n\n\n\n<p>Some drives produce unusual PARTUUID identifiers and you will not be able to properly mount the drive using said PARTUUID directly. Your Pi might not boot with such an entry. Drive I currently use has a very long id which, unfortunately, is not recognized. <\/p>\n\n\n\n<p>The solution is to use <em>\/dev\/sdX#<\/em> instead in your <em>\/etc\/fstab<\/em> file.<\/p>\n\n\n\n<p>Downside is that if you have multiple drives or pen drives plugged in, you will have to plug them in the same USB slots every time.<\/p>\n\n\n\n<p>If your Pi is not booting due to an unusual PARTUUID after modifying <em>fstab<\/em> you will have to change the file and remove the line at fault. Unfortunately it will have to be done on a system which reads Linux file system. Windows is out of the question. <\/p>\n\n\n\n<p>If you have a different device with Linux then just use it to browse the SD card and modify <em>fstab<\/em> file. <\/p>\n\n\n\n<p>If you do not have an additional Linux device then the easiest solution is to download a Linux distro that runs from a USB, boot your system from a USB drive and then browse the SD card to modify <em>fstab<\/em>.<\/p>\n\n\n\n<p>Alternatively, you can use a different SD card to set up Raspbian, mount the card with a faulty <em>fstab<\/em> entry and modify it.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Further reading<\/h2>\n\n\n\n<p>In case you want to read more about <em>fstab<\/em> you can check out the manpage entry by typing <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>man fstab<\/code><\/pre>\n\n\n\n<p>or by reading <a href=\"https:\/\/manpages.debian.org\/stretch\/mount\/mount.8.en.html\">this<\/a>.<\/p>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Mounting and unmounting files on Linux might be taxing at first. And most definitely is not an intuitive process, but once you learn how to do it and understand the process it will become easy. Take it slow and you will master it in no time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Word of caution before you begin The biggest hurdle you will encounter when mounting disks to Raspberry Pi is the power usage. Some disks, require more power than others. This is not an issue with a regular PC, as it&hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1026,"menu_order":30,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Mount external storage to get more space &#8212; Code Done Right!<\/title>\n<meta name=\"description\" content=\"Learn how to properly mount disks on your Raspberry Pi. Give your server more space and use it for more than just a WordPress host!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codedoneright.eu\/?page_id=620\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Mount external storage to get more space &#8212; Code Done Right!\" \/>\n<meta name=\"twitter:description\" content=\"Learn how to properly mount disks on your Raspberry Pi. Give your server more space and use it for more than just a WordPress host!\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/f8\/Laptop-hard-drive-exposed.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codedoneright.eu\/?page_id=620\",\"url\":\"https:\/\/codedoneright.eu\/?page_id=620\",\"name\":\"Mount external storage to get more space &#8212; Code Done Right!\",\"isPartOf\":{\"@id\":\"https:\/\/codedoneright.eu\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codedoneright.eu\/?page_id=620#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codedoneright.eu\/?page_id=620#primaryimage\"},\"thumbnailUrl\":\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/f8\/Laptop-hard-drive-exposed.jpg\",\"datePublished\":\"2020-02-20T18:49:04+00:00\",\"dateModified\":\"2022-05-09T18:35:52+00:00\",\"description\":\"Learn how to properly mount disks on your Raspberry Pi. Give your server more space and use it for more than just a WordPress host!\",\"breadcrumb\":{\"@id\":\"https:\/\/codedoneright.eu\/?page_id=620#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codedoneright.eu\/?page_id=620\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codedoneright.eu\/?page_id=620#primaryimage\",\"url\":\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/f8\/Laptop-hard-drive-exposed.jpg\",\"contentUrl\":\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/f8\/Laptop-hard-drive-exposed.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codedoneright.eu\/?page_id=620#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codedoneright.eu\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\",\"item\":\"https:\/\/codedoneright.eu\/?page_id=1026\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mounting external storage\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codedoneright.eu\/#website\",\"url\":\"https:\/\/codedoneright.eu\/\",\"name\":\"Code Done Right!\",\"description\":\"Raspberry Pi server guides\",\"publisher\":{\"@id\":\"https:\/\/codedoneright.eu\/#\/schema\/person\/50378701e349dbd5d40888bc5b532568\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codedoneright.eu\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/codedoneright.eu\/#\/schema\/person\/50378701e349dbd5d40888bc5b532568\",\"name\":\"CodeDoneRight\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codedoneright.eu\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/codedoneright.eu\/wp-content\/uploads\/www_icon.png\",\"contentUrl\":\"https:\/\/codedoneright.eu\/wp-content\/uploads\/www_icon.png\",\"width\":120,\"height\":120,\"caption\":\"CodeDoneRight\"},\"logo\":{\"@id\":\"https:\/\/codedoneright.eu\/#\/schema\/person\/image\/\"},\"sameAs\":[\"https:\/\/codedoneright.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mount external storage to get more space &#8212; Code Done Right!","description":"Learn how to properly mount disks on your Raspberry Pi. Give your server more space and use it for more than just a WordPress host!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codedoneright.eu\/?page_id=620","twitter_card":"summary_large_image","twitter_title":"Mount external storage to get more space &#8212; Code Done Right!","twitter_description":"Learn how to properly mount disks on your Raspberry Pi. Give your server more space and use it for more than just a WordPress host!","twitter_image":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/f8\/Laptop-hard-drive-exposed.jpg","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/codedoneright.eu\/?page_id=620","url":"https:\/\/codedoneright.eu\/?page_id=620","name":"Mount external storage to get more space &#8212; Code Done Right!","isPartOf":{"@id":"https:\/\/codedoneright.eu\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codedoneright.eu\/?page_id=620#primaryimage"},"image":{"@id":"https:\/\/codedoneright.eu\/?page_id=620#primaryimage"},"thumbnailUrl":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/f8\/Laptop-hard-drive-exposed.jpg","datePublished":"2020-02-20T18:49:04+00:00","dateModified":"2022-05-09T18:35:52+00:00","description":"Learn how to properly mount disks on your Raspberry Pi. Give your server more space and use it for more than just a WordPress host!","breadcrumb":{"@id":"https:\/\/codedoneright.eu\/?page_id=620#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codedoneright.eu\/?page_id=620"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codedoneright.eu\/?page_id=620#primaryimage","url":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/f8\/Laptop-hard-drive-exposed.jpg","contentUrl":"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/f\/f8\/Laptop-hard-drive-exposed.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/codedoneright.eu\/?page_id=620#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codedoneright.eu\/"},{"@type":"ListItem","position":2,"name":"Linux","item":"https:\/\/codedoneright.eu\/?page_id=1026"},{"@type":"ListItem","position":3,"name":"Mounting external storage"}]},{"@type":"WebSite","@id":"https:\/\/codedoneright.eu\/#website","url":"https:\/\/codedoneright.eu\/","name":"Code Done Right!","description":"Raspberry Pi server guides","publisher":{"@id":"https:\/\/codedoneright.eu\/#\/schema\/person\/50378701e349dbd5d40888bc5b532568"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codedoneright.eu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/codedoneright.eu\/#\/schema\/person\/50378701e349dbd5d40888bc5b532568","name":"CodeDoneRight","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codedoneright.eu\/#\/schema\/person\/image\/","url":"https:\/\/codedoneright.eu\/wp-content\/uploads\/www_icon.png","contentUrl":"https:\/\/codedoneright.eu\/wp-content\/uploads\/www_icon.png","width":120,"height":120,"caption":"CodeDoneRight"},"logo":{"@id":"https:\/\/codedoneright.eu\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/codedoneright.eu"]}]}},"_links":{"self":[{"href":"https:\/\/codedoneright.eu\/index.php?rest_route=\/wp\/v2\/pages\/620"}],"collection":[{"href":"https:\/\/codedoneright.eu\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/codedoneright.eu\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/codedoneright.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codedoneright.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=620"}],"version-history":[{"count":22,"href":"https:\/\/codedoneright.eu\/index.php?rest_route=\/wp\/v2\/pages\/620\/revisions"}],"predecessor-version":[{"id":1757,"href":"https:\/\/codedoneright.eu\/index.php?rest_route=\/wp\/v2\/pages\/620\/revisions\/1757"}],"up":[{"embeddable":true,"href":"https:\/\/codedoneright.eu\/index.php?rest_route=\/wp\/v2\/pages\/1026"}],"wp:attachment":[{"href":"https:\/\/codedoneright.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}