{"id":1369,"date":"2025-07-28T00:10:30","date_gmt":"2025-07-27T22:10:30","guid":{"rendered":"https:\/\/daisy-street.fr\/?p=1369"},"modified":"2025-07-28T00:10:30","modified_gmt":"2025-07-27T22:10:30","slug":"share-nas-to-lxc","status":"publish","type":"post","link":"https:\/\/daisy-street.fr\/index.php\/2025\/07\/28\/share-nas-to-lxc\/","title":{"rendered":"share nas to lxc"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>https:&#47;&#47;forum.proxmox.com\/threads\/tutorial-mounting-nfs-share-to-an-unprivileged-lxc.138506\/\n\n##\n##host\nsudo nano \/etc\/fstab\n192.212.40.111:\/volume1\/10-System  \/mnt\/NAS_10-System nfs defaults 0 0\n192.212.40.111:\/volume2\/30-Mail \/mnt\/NAS_30-Mail nfs defaults 0 0\n192.212.40.111:\/volume1\/70-Photocopie \/mnt\/NAS_70-Photocopie nfs defaults 0 0\n192.212.40.111:\/volume1\/80-Photo \/mnt\/NAS_80-Photo nfs defaults 0 0\n192.212.40.111:\/volume3\/90-VideoClub \/mnt\/NAS_90-VideoClub nfs defaults 0 0\n192.212.40.111:\/volume3\/99-Ftp \/mnt\/NAS_99-Ftp nfs defaults 0 0\n\nsudo systemctl daemon-reload\nsudo mount -a \n\n#host for LXC200\nnano \/etc\/pve\/lxc\/200.conf\nmp0: \/mnt\/NAS_10-System\/docker\/VM200,mp=\/System\nmp1: \/mnt\/NAS_80-Photo,mp=\/Photo\n\n#host for LXC125\nnano \/etc\/pve\/lxc\/125.conf\nmp0: \/mnt\/NAS_10-System\/docker\/VM125,mp=\/System\nmp1: \/mnt\/NAS_90-VideoClub,mp=\/VideoClub\nmp2: \/mnt\/NAS_30-Mail,mp=\/Mail\n\n#host for LXC103\nnano \/etc\/pve\/lxc\/103.conf\nmp0: \/mnt\/NAS_10-System\/docker\/RASP103,mp=\/System\n\n#LXC***\nsudo apt update\nsudo apt install cifs-utils smbclient nfs-common passwd -y\nsudo groupadd -g 10000 lxc_shares\nsudo usermod -aG lxc_shares root\nsudo usermod -aG lxc_shares david\nsudo reboot<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ub_ctt_via":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-1369","post","type-post","status-publish","format-standard","hentry","category-non-classe"],"jetpack_publicize_connections":[],"featured_image_src":null,"author_info":{"display_name":"admin9483","author_link":"https:\/\/daisy-street.fr\/index.php\/author\/admin9483\/"},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/1369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/comments?post=1369"}],"version-history":[{"count":1,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/1369\/revisions"}],"predecessor-version":[{"id":1370,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/1369\/revisions\/1370"}],"wp:attachment":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/media?parent=1369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/categories?post=1369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/tags?post=1369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}