{"id":99,"date":"2018-11-26T20:08:22","date_gmt":"2018-11-26T20:08:22","guid":{"rendered":"https:\/\/unsrewiki.1sys1.com\/?p=99"},"modified":"2018-11-26T20:22:50","modified_gmt":"2018-11-26T20:22:50","slug":"dracut-initqueue-timeout","status":"publish","type":"post","link":"https:\/\/server-help.org\/index.php\/2018\/11\/26\/dracut-initqueue-timeout\/","title":{"rendered":"dracut-initqueue timeout"},"content":{"rendered":"\n<p>Dracut during initqueue is trying to understand what is your root device that he needs to mount and he can&#8217;t understand it&#8230; so you probably need to fix the cmdline in your  boot.<\/p>\n\n\n\n<p>1- Check if SDA* or Logical Group Name is missing or has been changed<\/p>\n\n\n\n<p>2- Boot your Server into Rescue<\/p>\n\n\n\n<p>3- use blkid command to locate\/print block device attributes<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># blkid\n\/dev\/ram0: UUID=\"4a9ee2e6-a7fd-4c33-a95e-998482e1d9a7\" TYPE=\"ext2\"\n\/dev\/sda1: PARTLABEL=\"primary\" PARTUUID=\"96080286-cd99-4994-84f0-32633275666d\"\n\/dev\/sda2: LABEL=\"root\" UUID=\"cccb8548-0f70-49c0-bf3c-abe9a0544d0c\" TYPE=\"ext3\" PARTLABEL=\"primary\" PARTUUID=\"6bf115ff-b584-44ff-bdb1-ef9011a63ab0\"\n\/dev\/sda3: UUID=\"8910d5d3-77d7-4d40-b9f7-b12d025617ca\" TYPE=\"swap\" PARTLABEL=\"primary\" PARTUUID=\"74bcd17b-f8c0-4c25-a428-287c7f9ab8b2\"\n\/dev\/sda4: UUID=\"agrUA9-zne0-UcYC-EdNi-wqb5-4Ch5-r6FRxz\" TYPE=\"LVM2_member\" PARTLABEL=\"primary\" PARTUUID=\"fd1db930-34df-4d6f-91f6-616dd3ea750c\"\n\/dev\/mapper\/vg00-database: LABEL=\"usr\" UUID=\"1e78deeb-1173-4ca5-b9ee-a42ea7afeb56\" TYPE=\"ext4\"\n\/dev\/mapper\/vg00-var: LABEL=\"var\" UUID=\"2cfb49db-3be3-4f05-b7d1-c6d2a60751cc\" TYPE=\"ext4\"\n\/dev\/mapper\/vg00-home: LABEL=\"home\" UUID=\"3602b303-dd4f-4c74-99ad-1b24849382f1\" TYPE=\"ext4\"\n<\/code><\/pre>\n\n\n\n<p>The Issue here was, Volume Group &#8220;usr&#8221; has been changed to &#8220;database&#8221;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/dev\/mapper\/vg00-database: LABEL=\"usr\" UUID=\"1e78deeb-1173-4ca5-b9ee-a42ea7afeb56\" TYPE=\"ext4\"<\/code><\/pre>\n\n\n\n<p>4- Mount your Hard Drive into \/mnt Directory<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># mount \/dev\/mapper\/vg00-var var\/\n# mount \/dev\/mapper\/vg00-home home\/\n# mount \/dev\/mapper\/vg00-database usr\/<\/code><\/pre>\n\n\n\n<p>5- cat fstab file<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># cat \/mnt\/etc\/fstab\n\/dev\/sda2 \/ ext3 defaults,noatime 1 1\n\/dev\/sda3 none swap sw\n\/dev\/vg00\/usr \/usr ext4 defaults,noatime 0 2\n\/dev\/vg00\/database \/database ext4 defaults,noatime 0 2\n\/dev\/vg00\/var \/var ext4 defaults,usrquota,noatime 0 2\n\/dev\/vg00\/home \/home ext4 defaults,usrquota,noatime 0 2\ndevpts \/dev\/pts devpts gid=5,mode=620 0 0\nnone \/proc proc defaults 0 0\nnone \/tmp tmpfs defaults 0 0<\/code><\/pre>\n\n\n\n<p>6- unmount all Drives<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># umount -a<\/code><\/pre>\n\n\n\n<p>7- List Logical volume<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># lvdisplay\n  --- Logical volume ---\n  LV Path                \/dev\/vg00\/database\n  LV Name                database\n  VG Name                vg00\n  LV UUID                fgmzOW-22f2-LRMH-10fE-1si4-MzKd-bjOIlv\n  LV Write Access        read\/write\n  LV Creation host, time punix, 2018-11-19 18:41:14 +0000\n  LV Status              available\n  # open                 1\n  LV Size                100.00 GiB\n  Current LE             25600\n  Segments               2\n  Allocation             inherit\n  Read ahead sectors     auto\n  - currently set to     256\n  Block device           253:0\n\n  --- Logical volume ---\n  LV Path                \/dev\/vg00\/var\n  LV Name                var\n  VG Name                vg00\n  LV UUID                cz9Agw-UnHu-HJhw-MH4Z-vxu0-DQ85-fb4kI9\n  LV Write Access        read\/write\n  LV Creation host, time punix, 2018-11-19 18:41:14 +0000\n  LV Status              available\n  # open                 0\n  LV Size                10.00 GiB\n  Current LE             2560\n  Segments               1\n  Allocation             inherit\n  Read ahead sectors     auto\n  - currently set to     256\n  Block device           253:1\n\n  --- Logical volume ---\n  LV Path                \/dev\/vg00\/home\n  LV Name                home\n  VG Name                vg00\n  LV UUID                6P6Mue-FKHl-BMm1-feen-rRC9-etRH-kcfFhT\n  LV Write Access        read\/write\n  LV Creation host, time punix, 2018-11-19 18:41:14 +0000\n  LV Status              available\n  # open                 0\n  LV Size                10.00 GiB\n  Current LE             2560\n  Segments               1\n  Allocation             inherit\n  Read ahead sectors     auto\n  - currently set to     256\n  Block device           253:2\n<\/code><\/pre>\n\n\n\n<p>8- Rename wrong volume group to the correct volume group<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># lvrename \/dev\/vg00\/database \/dev\/vg00\/usr\n  Renamed \"database\" to \"usr\" in volume group \"vg00\"\n<\/code><\/pre>\n\n\n\n<p>9- Correct the mount Directories in fstab file: we have commented \/dev\/vg00\/database mount point<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># cat \/mnt\/etc\/fstab\n\/dev\/sda2       \/               ext3    defaults,noatime        1 1\n\/dev\/sda3       none            swap    sw\n\/dev\/vg00\/usr     \/usr          ext4    defaults,noatime        0 2\n#\/dev\/vg00\/database \/database   ext4   defaults,noatime        0 2\n\/dev\/vg00\/var   \/var            ext4    defaults,usrquota,noatime       0 2\n\/dev\/vg00\/home  \/home           ext4    defaults,usrquota,noatime       0 2\ndevpts          \/dev\/pts        devpts  gid=5,mode=620  0 0\nnone            \/proc           proc    defaults        0 0\nnone            \/tmp    tmpfs   defaults        0 0\n<\/code><\/pre>\n\n\n\n<p>10- Reboot Server into Local mode again.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># reboot<\/code><\/pre>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dracut during initqueue is trying to understand what is your root device that he needs to mount and he can&#8217;t understand it&#8230; so you probably need to fix the cmdline in your boot. 1- Check if SDA* or Logical Group Name is missing or has been changed 2- Boot your Server into Rescue 3- use&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[],"_links":{"self":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/99"}],"collection":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":8,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":108,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/posts\/99\/revisions\/108"}],"wp:attachment":[{"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server-help.org\/index.php\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}