{"id":801,"date":"2025-05-05T07:41:00","date_gmt":"2025-05-05T12:41:00","guid":{"rendered":"https:\/\/wp.jkhayer.us\/?p=801"},"modified":"2025-05-05T07:41:00","modified_gmt":"2025-05-05T12:41:00","slug":"mount-ubs-drive-for-proxmox-backup-2","status":"publish","type":"post","link":"https:\/\/wp.jkhayer.us\/?p=801","title":{"rendered":"Mount UBS Drive for Proxmox Backup"},"content":{"rendered":"\n<p>YouTube Mount UBS Drive for Proxmox Backup \ud83d\udd17 <a href=\"https:\/\/youtu.be\/lZjMxdBPH7M\">https:\/\/youtu.be\/lZjMxdBPH7M<\/a><\/p>\n\n\n\n<p><strong>Find the USB Drive<\/strong><\/p>\n\n\n\n<p>Plug USB drive into Proxmox host machine.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lsblk\nlsusb\nfdisk -l\ndf -h\nmkdir \/mnt\/usb-drive \n\/etc\/fstab\nls -l \/dev\/disk\/by-uuid\/*\n<\/code><\/pre>\n\n\n\n<p><strong>Format USB drive EXT4<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkfs.ext4 \/dev\/sde1\nblkid -o list\n<\/code><\/pre>\n\n\n\n<p><strong>Make directory to mount usb drive<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir \/mnt\/usb-drive\nmount \/dev\/sdb1 \/mnt\/usb-drive\n<\/code><\/pre>\n\n\n\n<p><strong>Setup Permanent Mount<\/strong><\/p>\n\n\n\n<p>In order to mount your USB drive permanently after reboot add a line into your \/etc\/fstab config file. If drives are added or removed from the Proxmox the device may change. For this reason the partion UUID will need to be used instead of the block device name.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ls -l \/dev\/disk\/by-uuid\/*\nlrwxrwxrwx 1 root root 13 Jun 30 10:50 \/dev\/disk\/by-uuid\/169C06729C064CA5 -&gt; ..\/..\/zd128p1\nlrwxrwxrwx 1 root root 10 Sep  7 08:23 \/dev\/disk\/by-uuid\/1C9696109695EA92 -&gt; ..\/..\/sde1\nlrwxrwxrwx 1 root root 10 Jun 30 10:50 \/dev\/disk\/by-uuid\/4331501758443482231 -&gt; ..\/..\/sdd2\nlrwxrwxrwx 1 root root 12 Jun 30 10:50 \/dev\/disk\/by-uuid\/46FF7800EE8FFB6D -&gt; ..\/..\/zd96p1\n<\/code><\/pre>\n\n\n\n<p>Above will give you the uuid. Open the fstab for editing<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/fstab\n<\/code><\/pre>\n\n\n\n<p>Add this line to your fstab using the correct UUI<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/dev\/disk\/by-uuid\/1C9696109695EA92    \/mnt\/usb-drive         ext4   defaults   0\n<\/code><\/pre>\n\n\n\n<p>Mount drive<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mount -a\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>YouTube Mount UBS Drive for Proxmox Backup \ud83d\udd17 https:\/\/youtu.be\/lZjMxdBPH7M Find the USB Drive Plug USB drive into Proxmox host machine.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-801","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/posts\/801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=801"}],"version-history":[{"count":1,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/posts\/801\/revisions"}],"predecessor-version":[{"id":802,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=\/wp\/v2\/posts\/801\/revisions\/802"}],"wp:attachment":[{"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=801"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=801"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jkhayer.us\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}