Welcome to the Linux Foundation Forum!

Lab 4.2. Setting Up NFS for Rancher Cluster

piva Posts: 4

I completed the Lab 1 deployng the 6 Worker nodes and the Master node.
I connected via SSH to the Master VM from the GCP Console opening an in Browser Window.

Running the command

cd ˜/onap-custom/setup-utils 

I get the error

-bash: cd: ˜/onap-custom/setup-utils: No such file or directory

as my home directory is completely empty: any hint?

Thanks in advance for any help,


  • Hi @piva,
    These directories are in aarna user login. Could you please try the below commands and share the output?

    sudo su aarna

    cd $HOME

    ls -lrth

  • piva
    piva Posts: 4

    Hi @raghuramg ,
    this is the output

    aarna@anod-master:~$ ls -lrth
    total 830M
    drwxr-xr-x  2 aarna aarna 4.0K Dec 20  2017 rancher-v0.6.7
    -rw-rw-r--  1 aarna aarna 3.6M Dec 20  2017 rancher-linux-amd64-v0.6.7.tar.gz
    drwxrwxr-x  6 aarna aarna 4.0K Jul 16  2021 oom
    -rwxr-xr-x  1 aarna aarna  12M Jul 19  2021 rancher
    -rw-rw-r--  1 aarna aarna  77K Jul 19  2021 docker_images_list.txt
    -rwxrwxr-x  1 aarna aarna  755 Jul 19  2021 pull_docker_images.sh
    -rw-rw-r--  1 aarna aarna  80M Jul 19  2021 oom.tar
    -rw-------  1 aarna aarna 2.2M Jul 19  2021 nohup.out
    drwxrwxr-x  3 aarna aarna 4.0K Jul 19  2021 openstack
    drwxrwxr-x 16 aarna aarna 4.0K Jul 19  2021 onap-custom
    -rw-------  1 aarna aarna 733M Jul 20  2021 crunchy.tar
  • Hi @piva,
    All the directories are here, you can proceed with the next labs now.

  • piva
    piva Posts: 4

    @raghuramg ,
    the directory are there, but I cannot proceed as aarna user

    aarna@anod-master:~/onap-custom/setup-utils$ sudo ./mount_nfs_disk_stripe.sh /dev/sdb /dev/sdc
    [sudo] password for aarna: 

    Is this the way to proceed with this course?
    Let me know in order to cancel my order and ask for a refund: last month I already paid almost €300 for the cloud platform without being able to use the lab.

  • Hi @piva,
    It should not ask for a password since the aarna user is added to the sudoers group. I just tested it on the same image and it did not ask me for the password.

    aarna@anod-master-01:~/onap-custom/setup-utils$ sudo ./mount_nfs_disk_stripe.sh /dev/sdb /dev/sdc
    Device /dev/sdb not found.
    Device /dev/sdc not found.
    Device /dev/sdb not found.
    Device /dev/sdc not found.
    Going to creae striped logical volume onap_vg
    Using default stripesize 64.00 KiB.
    Volume group "onap_vg" not found
    Cannot process volume group onap_vg
    mke2fs 1.44.1 (24-Mar-2018)
    The file /dev/onap_vg/onap-vol does not exist and no size was specified.
    mount: /dockerdata-nfs: special device /dev/onap_vg/onap-vol does not exist.
    Completed setting up striped volume on /dev/sdb /dev/sdc

    Are you Okay to share the VM Public IP with me in a separate message? let me login and take a look.

  • piva
    piva Posts: 4

    I asked to cancel my order


Upcoming Training