{"id":2908,"date":"2022-09-15T18:00:00","date_gmt":"2022-09-15T16:00:00","guid":{"rendered":"https:\/\/www.mosi.at\/ikt\/?p=2908"},"modified":"2022-09-24T17:24:33","modified_gmt":"2022-09-24T15:24:33","slug":"proxmox-festpatte-an-virtuelle-maschine-vm-durchreichen","status":"publish","type":"post","link":"https:\/\/www.mosi.at\/ikt\/2022\/09\/15\/proxmox-festpatte-an-virtuelle-maschine-vm-durchreichen\/","title":{"rendered":"Proxmox &#8211; Festpatte an virtuelle Maschine (VM) durchreichen"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Das ist eine Erg\u00e4nzung aus der Praxis zur Proxmox Dokumentation. <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/forum.proxmox.com\/threads\/passing-through-hdds-with-qm-set-command.106106\/\">https:\/\/forum.proxmox.com\/threads\/passing-through-hdds-with-qm-set-command.106106\/<\/a><br><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pve.proxmox.com\/wiki\/Manual:_qm.conf\">https:\/\/pve.proxmox.com\/wiki\/Manual:_qm.conf<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Welche Festplatten sind verbaut?<\/h2>\n\n\n\n<figure class=\"wp-block-pullquote has-text-align-center\"><blockquote><p>lsblk -o +MODEL,SERIAL<\/p><\/blockquote><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>root@galaxy:~# lsblk -o +MODEL,SERIAL<br>NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT MODEL SERIAL<br>sda 8:0 0 931.5G 0 disk SAMSUNG_HD103UJ S13PJDWQA24936<br>\u2514\u2500sda1 8:1 0 931.5G 0 part<br>sdb 8:16 0 232.9G 0 disk SAMSUNG_SP2504C S09QJ1ML424154<br>\u251c\u2500sdb1 8:17 0 2G 0 part<br>\u2514\u2500sdb2 8:18 0 230.9G 0 part<br>sdc 8:32 0 232.9G 0 disk SAMSUNG_SP2504C S09QJ1LA115054<br>\u251c\u2500sdc1 8:33 0 2G 0 part<br>\u2514\u2500sdc2 8:34 0 230.9G 0 part<br>sdd 8:48 0 5.5T 0 disk WDC_WD60EFRX-68MYMN1 WD-WX11D557YDT6<br>sde 8:64 0 5.5T 0 disk ST6000VN001-2BB186 ZR11JA18<br>\u251c\u2500sde1 8:65 0 5.5T 0 part<br>\u2514\u2500sde9 8:73 0 8M 0 part<br>sdf 8:80 0 5.5T 0 disk ST6000VN001-2BB186 ZR11J9VC<br>\u251c\u2500sdf1 8:81 0 5.5T 0 part<br>\u2514\u2500sdf9 8:89 0 8M 0 part<br>sdg 8:96 0 5.5T 0 disk ST6000VN001-2BB186 ZR136HA7<br>sdh 8:112 0 232.9G 0 disk SAMSUNG_SP2504C S09QJ1LA115058<br>\u251c\u2500sdh1 8:113 0 2G 0 part<br>\u2514\u2500sdh2 8:114 0 230.9G 0 part<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>ls -l \/dev\/disk\/by-id\/<\/p><\/blockquote><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>lrwxrwxrwx 1 root root 9 Sep 15 18:45 ata-SAMSUNG_HD103UJ_S13PJDWQA24936 -&gt; ..\/..\/sda\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-SAMSUNG_HD103UJ_S13PJDWQA24936-part1 -&gt; ..\/..\/sda1\nlrwxrwxrwx 1 root root 9 Sep 15 18:45 ata-SAMSUNG_SP2504C_S09QJ1LA115054 -&gt; ..\/..\/sdc\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-SAMSUNG_SP2504C_S09QJ1LA115054-part1 -&gt; ..\/..\/sdc1\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-SAMSUNG_SP2504C_S09QJ1LA115054-part2 -&gt; ..\/..\/sdc2\nlrwxrwxrwx 1 root root 9 Sep 15 18:45 ata-SAMSUNG_SP2504C_S09QJ1LA115058 -&gt; ..\/..\/sdh\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-SAMSUNG_SP2504C_S09QJ1LA115058-part1 -&gt; ..\/..\/sdh1\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-SAMSUNG_SP2504C_S09QJ1LA115058-part2 -&gt; ..\/..\/sdh2\nlrwxrwxrwx 1 root root 9 Sep 15 18:45 ata-SAMSUNG_SP2504C_S09QJ1ML424154 -&gt; ..\/..\/sdb\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-SAMSUNG_SP2504C_S09QJ1ML424154-part1 -&gt; ..\/..\/sdb1\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-SAMSUNG_SP2504C_S09QJ1ML424154-part2 -&gt; ..\/..\/sdb2\nlrwxrwxrwx 1 root root 9 Sep 15 18:45 ata-ST6000VN001-2BB186_ZR11J9VC -&gt; ..\/..\/sdf\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-ST6000VN001-2BB186_ZR11J9VC-part1 -&gt; ..\/..\/sdf1\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-ST6000VN001-2BB186_ZR11J9VC-part9 -&gt; ..\/..\/sdf9\nlrwxrwxrwx 1 root root 9 Sep 15 18:45 ata-ST6000VN001-2BB186_ZR11JA18 -&gt; ..\/..\/sde\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-ST6000VN001-2BB186_ZR11JA18-part1 -&gt; ..\/..\/sde1\nlrwxrwxrwx 1 root root 10 Sep 15 18:45 ata-ST6000VN001-2BB186_ZR11JA18-part9 -&gt; ..\/..\/sde9\nlrwxrwxrwx 1 root root 9 Sep 15 18:45 ata-ST6000VN001-2BB186_ZR136HA7 -&gt; ..\/..\/sdg\nlrwxrwxrwx 1 root root 9 Sep 15 18:45 ata-WDC_WD60EFRX-68MYMN1_WD-WX11D557YDT6 -&gt; ..\/..\/sdd<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Die Festlatte Western Digital 6TB soll an die virtuelle Machine mit der Nr. 111 als neues SCSI-Ger\u00e4t durchgereicht werden (WDC_WD60EFRX).<\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p>qm set 111 -scsi6 \/dev\/disk\/by-id\/ata-WDC_WD60EFRX-68MYMN1_WD-WX11D557YDT6<\/p><\/blockquote><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>root@galaxy:~# qm set 111 -scsi6 \/dev\/disk\/by-id\/ata-WDC_WD60EFRX-68MYMN1_WD-WX11D557YDT6\nupdate VM 111: -scsi6 \/dev\/disk\/by-id\/ata-WDC_WD60EFRX-68MYMN1_WD-WX11D557YDT6<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Das ist eine Erg\u00e4nzung aus der Praxis zur Proxmox Dokumentation. https:\/\/forum.proxmox.com\/threads\/passing-through-hdds-with-qm-set-command.106106\/ https:\/\/pve.proxmox.com\/wiki\/Manual:_qm.conf Welche Festplatten sind verbaut? lsblk -o +MODEL,SERIAL ls -l \/dev\/disk\/by-id\/ Die Festlatte Western Digital 6TB soll an die virtuelle Machine mit der Nr. 111 als neues SCSI-Ger\u00e4t durchgereicht werden (WDC_WD60EFRX). qm set 111 -scsi6 \/dev\/disk\/by-id\/ata-WDC_WD60EFRX-68MYMN1_WD-WX11D557YDT6<\/p>\n","protected":false},"author":2,"featured_media":2818,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"ocean_front_end_style_editor":"no","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","osp_disable_panel":"default","osh_disable_topbar_sticky":"default","osh_disable_header_sticky":"default","osh_sticky_header_style":"default","osh_sticky_header_effect":"","osh_custom_sticky_logo":0,"osh_custom_retina_sticky_logo":0,"osh_custom_sticky_logo_height":0,"osh_background_color":"","osh_links_color":"","osh_links_hover_color":"","osh_links_active_color":"","osh_links_bg_color":"","osh_links_hover_bg_color":"","osh_links_active_bg_color":"","osh_menu_social_links_color":"","osh_menu_social_hover_links_color":"","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[9,74,71,130,10,128],"tags":[],"class_list":["post-2908","post","type-post","status-publish","format-link","has-post-thumbnail","hentry","category-__news","category-__tutorial","category-ikt","category-proxmox","category-software","category-virtualisierer","post_format-post-format-link","entry","has-media"],"_links":{"self":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts\/2908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/comments?post=2908"}],"version-history":[{"count":6,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts\/2908\/revisions"}],"predecessor-version":[{"id":2917,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/posts\/2908\/revisions\/2917"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/media\/2818"}],"wp:attachment":[{"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/media?parent=2908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/categories?post=2908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mosi.at\/ikt\/wp-json\/wp\/v2\/tags?post=2908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}