Created
May 28, 2015 18:30
-
-
Save johnduarte/aa7ad8d8f45e382c0bcb to your computer and use it in GitHub Desktop.
Mount failure when loop kernel module is not loaded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@kchejzi5z568vxr:~# cat manifest.pp | |
mount { '/pl21474': | |
ensure => 'mounted', | |
device => '/tmp/pl21474', | |
dump => '0', | |
fstype => 'ext3', | |
options => 'loop', | |
pass => '0', | |
target => '/etc/fstab', | |
} | |
root@kchejzi5z568vxr:~# puppet apply manifest.pp | |
Notice: Compiled catalog for kchejzi5z568vxr.delivery.puppetlabs.net in environment production in 0.42 seconds | |
Notice: /Stage[main]/Main/Mount[/pl21474]/ensure: defined 'ensure' as 'mounted' | |
Error: /Stage[main]/Main/Mount[/pl21474]: Could not evaluate: Execution of '/bin/mount /pl21474' returned 2: mount: Could not find any loop device. Maybe this kernel does not know | |
about the loop device? (If so, recompile or `modprobe loop'.) | |
Notice: Applied catalog in 0.07 seconds |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment