{"id":317,"date":"2018-11-26T15:27:40","date_gmt":"2018-11-26T07:27:40","guid":{"rendered":"http:\/\/matnet.my\/blog\/?p=317"},"modified":"2018-11-26T15:29:03","modified_gmt":"2018-11-26T07:29:03","slug":"proxmox-container-failed-to-start","status":"publish","type":"post","link":"https:\/\/matnet.my\/blog\/2018\/11\/proxmox-container-failed-to-start\/","title":{"rendered":"Proxmox Container failed to start"},"content":{"rendered":"<p>One of my container(LXC) was failed to start.<\/p>\n<p>Error :<\/p>\n<p><strong><em>Job for pve-container@114.service failed because the control process exited with error code.<\/em><\/strong><br \/>\n<strong><em>See &#8220;systemctl status pve-container@114.service&#8221; and &#8220;journalctl -xe&#8221; for details.<\/em><\/strong><br \/>\n<strong><em>TASK ERROR: command &#8216;systemctl start pve-container@114&#8217; failed: exit code 1<\/em><\/strong><\/p>\n<p>From the debug :<\/p>\n<p><strong><em style=\"font-size: 1rem;\">lxc-start 114 20181126024829.995 DEBUG lxc_conf &#8211; conf.c:run_buffer:338 &#8211; Script exec \/usr\/share\/lxc\/hooks\/lxc-pve-prestart-hook 114 lxc pre-start with output: mount: \/dev\/loop0:\u00a0<\/em><em>can&#8217;t read superblock<\/em><\/strong><\/p>\n<p>This container used external drive as root disk. There were power issues on the storage itself and make the file system corrupted.<\/p>\n<p>To solved this problem i have run :<\/p>\n<p><em><strong>e2fsck -fyv \/mnt\/pve\/{my-drive-name}\/images\/114\/vm-114-disk-1.raw<\/strong><\/em><\/p>\n<pre><em>Journal checksum error found in \/mnt\/pve\/{my-drive-name}\/images\/114\/vm-114-disk-1.raw<\/em>\r\n<em>Clearing orphaned inode 3408262 (uid=999, gid=997, mode=0100600, size=0)<\/em>\r\n<em>Clearing orphaned inode 3408261 (uid=999, gid=997, mode=0100600, size=0)<\/em>\r\n<em>Clearing orphaned inode 3408260 (uid=999, gid=997, mode=0100600, size=0)<\/em>\r\n<em>Clearing orphaned inode 3408259 (uid=999, gid=997, mode=0100600, size=0)<\/em>\r\n<em>Clearing orphaned inode 3408258 (uid=999, gid=997, mode=0100600, size=0)<\/em>\r\n<em>Clearing orphaned inode 23 (uid=0, gid=0, mode=0100600, size=0)<\/em>\r\n<em>Pass 1: Checking inodes, blocks, and sizes<\/em>\r\n<em>Pass 2: Checking directory structure<\/em>\r\n<em>Pass 3: Checking directory connectivity<\/em>\r\n<em>Pass 4: Checking reference counts<\/em>\r\n<em>Pass 5: Checking group summary information<\/em>\r\n<em>Free blocks count wrong (37869497, counted=35491075).<\/em>\r\n<em>Fix? yes<\/em>\r\n\r\n<em>Free inodes count wrong (9783079, counted=9739158).<\/em>\r\n<em>Fix? yes<\/em>\r\n\r\n\r\n<em>\/mnt\/pve\/{my-drive-name}\/images\/114\/vm-114-disk-1.raw: ***** FILE SYSTEM WAS MODIFIED *****<\/em>\r\n\r\n<em>91242 inodes used (0.93%, out of 9830400)<\/em>\r\n<em>601 non-contiguous files (0.7%)<\/em>\r\n<em>47 non-contiguous directories (0.1%)<\/em>\r\n<em># of inodes with ind\/dind\/tind blocks: 0\/0\/0<\/em>\r\n<em>Extent depth histogram: 90292\/26<\/em>\r\n<em>3830525 blocks used (9.74%, out of 39321600)<\/em>\r\n<em>0 bad blocks<\/em>\r\n<em>1 large file<\/em>\r\n\r\n<em>81390 regular files<\/em>\r\n<em>8925 directories<\/em>\r\n<em>0 character device files<\/em>\r\n<em>0 block device files<\/em>\r\n<em>2 fifos<\/em>\r\n<em>5219 links<\/em>\r\n<em>882 symbolic links (880 fast symbolic links)<\/em>\r\n<em>34 sockets<\/em>\r\n<em>------------<\/em>\r\n<em>96452 files<\/em><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>One of my container(LXC) was failed to start. Error : Job for pve-container@114.service failed because the control process exited with &hellip; <a href=\"https:\/\/matnet.my\/blog\/2018\/11\/proxmox-container-failed-to-start\/\" class=\"more-link\">More <span class=\"screen-reader-text\">Proxmox Container failed to start<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[37,35,34,36,25],"class_list":["post-317","post","type-post","status-publish","format-standard","hentry","category-bsd-nix","tag-container","tag-e2fsck","tag-fsck","tag-lxc","tag-proxmox","standard"],"_links":{"self":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts\/317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/comments?post=317"}],"version-history":[{"count":2,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts\/317\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/posts\/317\/revisions\/319"}],"wp:attachment":[{"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/media?parent=317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/categories?post=317"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matnet.my\/blog\/wp-json\/wp\/v2\/tags?post=317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}