{"id":61,"date":"2016-11-28T19:15:37","date_gmt":"2016-11-28T19:15:37","guid":{"rendered":"https:\/\/visworlditsolution.wordpress.com\/?p=61"},"modified":"2016-11-28T19:15:37","modified_gmt":"2016-11-28T19:15:37","slug":"how-to-create-simple-loop-in-redhat-linux","status":"publish","type":"post","link":"https:\/\/linux.thingsomething.com\/index.php\/2016\/11\/28\/how-to-create-simple-loop-in-redhat-linux\/","title":{"rendered":"what is loop devise ? and how to create loop in redhat linux"},"content":{"rendered":"<p>hello guys today we will learn how to create loop before we know what is loop .loop device is \u00a0connected to an existing file in the filesystem.<\/p>\n<p>at fast we create blank 200mb file<br \/>\n# dd if=\/dev\/zero of=file bs=m1 count=200 (create for blank file )<br \/>\n# losetup \/dev\/loop0 file (configure loop0)<br \/>\n# losetup -a (looking for loop0)<br \/>\n# mkdir data (create data folder )<br \/>\n# mkfs.ext3 \/dev\/loop0 (format loop0)<br \/>\n# mount \/dev\/loop0 data (loop is mount in data folder)<br \/>\n# df -h (looking for mount loop0)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-62\" src=\"https:\/\/visworlditsolution.files.wordpress.com\/2016\/11\/loop-1.png?w=300\" alt=\"loop-1\" width=\"500\" height=\"301\" \/><br \/>\n<strong>we can remove to following cmd..<\/strong><br \/>\nat fast we remove permanently go to vim \/etc\/fstab and umount<br \/>\n# umount data ( loopo unmount to data folder )<br \/>\n# losetup -d \/dev\/loop0 (delet loop0)<br \/>\n# losetup -a<br \/>\n# rm -rf file (delet foe file)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>hello guys today we will learn how to create loop before we know what is loop .loop device is \u00a0connected to an existing file in &hellip; <span class=\"ml-btn\"><a href=\"https:\/\/linux.thingsomething.com\/index.php\/2016\/11\/28\/how-to-create-simple-loop-in-redhat-linux\/\" class=\"more-link\">Read More<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[8,16],"tags":[170],"class_list":["post-61","post","type-post","status-publish","format-standard","hentry","category-linux-rhel5","category-storage","tag-linux-in-loop-configer-about-loop"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/61"}],"collection":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":0,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"wp:attachment":[{"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux.thingsomething.com\/index.php\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}