{"id":139,"date":"2021-10-26T00:06:31","date_gmt":"2021-10-25T22:06:31","guid":{"rendered":"http:\/\/daisy-street.fr\/?p=139"},"modified":"2021-10-26T10:23:04","modified_gmt":"2021-10-26T08:23:04","slug":"premier-vm-truenas","status":"publish","type":"post","link":"https:\/\/daisy-street.fr\/index.php\/2021\/10\/26\/premier-vm-truenas\/","title":{"rendered":"Premier VM TrueNAS"},"content":{"rendered":"\n<p>Dabord pour cettte premier vm je souhaite tester la mont\u00e9 de drive ,c&#8217;est pour cela que jJe formate mes 2 disques usb ssd de recup (husk (300go) et penance (500go) ) et je les attaches au serveur.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"861\" height=\"489\" data-attachment-id=\"140\" data-permalink=\"https:\/\/daisy-street.fr\/index.php\/2021\/10\/26\/premier-vm-truenas\/image-3\/\" data-orig-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-3.png\" data-orig-size=\"861,489\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-3\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-3-300x170.png\" data-large-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-3.png\" src=\"http:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-3.png\" alt=\"\" class=\"wp-image-140\" srcset=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-3.png 861w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-3-300x170.png 300w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-3-768x436.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>Apres avoir telecharger l&#8217;iso de TrueNAS-12.0-U6.iso on cr\u00e9e une nouvelle VM <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"344\" data-attachment-id=\"142\" data-permalink=\"https:\/\/daisy-street.fr\/index.php\/2021\/10\/26\/premier-vm-truenas\/image-4\/\" data-orig-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-4.png\" data-orig-size=\"742,344\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-4\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-4-300x139.png\" data-large-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-4.png\" src=\"http:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-4.png\" alt=\"\" class=\"wp-image-142\" srcset=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-4.png 742w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-4-300x139.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>Passthrough Physical Disk to Virtual Machine (VM)<\/p>\n\n\n\n<p><a href=\"https:\/\/pve.proxmox.com\/wiki\/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)\">https:\/\/pve.proxmox.com\/wiki\/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)<\/a><\/p>\n\n\n\n<p>Recupere la liste des disks sur le serveur<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lsblk |awk 'NR==1{print $0\" DEVICE-ID(S)\"}NR&gt;1{dev=$1;printf $0\" \";system(\"find \/dev\/disk\/by-id -lname \\\"*\"dev\"\\\" -printf \\\" %p\\\"\");print \"\";}'|grep -v -E 'part|lvm'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>NAME                         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT DEVICE-ID(S)\nsda                            8:0    0 111.8G  0 disk   \/dev\/disk\/by-id\/wwn-0x50026b738058fd3e \/dev\/disk\/by-id\/ata-KINGSTON_SA400S37120G_50026B738058FD3E\nsdb                            8:16   0   1.8T  0 disk   \/dev\/disk\/by-id\/wwn-0x50014ee2b5e069bb \/dev\/disk\/by-id\/ata-WDC_WD20EZRX-22D8PB0_WD-WCC4M7UHY201\nsdc                            8:32   0 465.8G  0 disk   \/dev\/disk\/by-id\/ata-HGST_HTS545050A7E680_RBF50FM52MY7UR \/dev\/disk\/by-id\/wwn-0x5000cca7a3e53fde\nsdd                            8:48   0 931.5G  0 disk   \/dev\/disk\/by-id\/wwn-0x50014ee261364daf \/dev\/disk\/by-id\/ata-WDC_WD10EZRX-00D8PB0_WD-WCC4M0EE37RE\nsde                            8:64   0 298.1G  0 disk   \/dev\/disk\/by-id\/usb-JMicron_Generic_0123456789ABCDEF-0:0\nsdf                            8:80   0   3.6T  0 disk   \/dev\/disk\/by-id\/wwn-0x50014ee26394dace \/dev\/disk\/by-id\/ata-WDC_WD40EZRZ-00GXCB0_WD-WCC7K5HL7SHY<\/code><\/pre>\n\n\n\n<p>puis on attache un disk a la vm<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>qm set 102 -scsi1 \/dev\/disk\/by-id\/ata-HGST_HTS545050A7E680_RBF50FM52MY7UR<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"127\" data-attachment-id=\"147\" data-permalink=\"https:\/\/daisy-street.fr\/index.php\/2021\/10\/26\/premier-vm-truenas\/image-6\/\" data-orig-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-6.png\" data-orig-size=\"768,127\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"image-6\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-6-300x50.png\" data-large-file=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-6.png\" src=\"http:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-6.png\" alt=\"\" class=\"wp-image-147\" srcset=\"https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-6.png 768w, https:\/\/daisy-street.fr\/wp-content\/uploads\/2021\/10\/image-6-300x50.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Dabord pour cettte premier vm je souhaite tester la mont\u00e9 de drive ,c&#8217;est pour cela que jJe formate mes 2 disques usb ssd de recup (husk (300go) et penance (500go) ) et je les attaches au serveur. Apres avoir telecharger l&#8217;iso de TrueNAS-12.0-U6.iso on cr\u00e9e une nouvelle VM Passthrough Physical Disk to Virtual Machine (VM) &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/daisy-street.fr\/index.php\/2021\/10\/26\/premier-vm-truenas\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Premier VM TrueNAS&#8221;<\/span><\/a><\/p>\n","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":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[27,26,28,14,9],"class_list":["post-139","post","type-post","status-publish","format-standard","hentry","category-non-classe","tag-filesystem","tag-nas","tag-partage","tag-proxmox","tag-serveur"],"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\/139","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=139"}],"version-history":[{"count":4,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":148,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/posts\/139\/revisions\/148"}],"wp:attachment":[{"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daisy-street.fr\/index.php\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}