Welcome to the Linux Foundation Forum!

Question about LAB_SOL 12.1

In this lab the last command "/tmp/mntpoint/ls" is supposed to produce an error and I am not seeing one. What is supposed to happen? I am using VMware player to run the vm and the vm is running CentOS Linux release 7.2.1511 (Core).


Current folder is /tmp

dd if=/dev/zero of=imagefile bs=1M count=1024

mkfs.ext4 imagefile

mount -o loop imagefile mntpoint

cp /bin/ls /tmp/mntpoint



  • Hi,

    I checked on Lab 12.1 and it's not about that, but it's for file attributes. What is the correct lab number the one you are working with, please?



  • ddevos
    ddevos Posts: 3
    edited August 2016

    I am so sorry, it should have been lab 12.2 item 9. 

  • luisviveropena
    luisviveropena Posts: 1,101
    edited August 2016


    Ok, no problem. So, please do the following:

    1) mount

    So we can see the options for the mounted filesystem.

    2) Run the binary you copied before:

    /tmp/mntpoint/ls -l

    And see if it runs. Keep in mind that you need to modify /etc/fstab as indicated in the lab file and then remount the mount point. It seems as you may have forgotten this part.




Upcoming Training