Welcome to the Linux Foundation Forum!

Lab 4.2. Setting Up NFS for Rancher Cluster

Posts: 4

Hello,
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

  1. cd ˜/onap-custom/setup-utils

I get the error

  1. -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,
Pietro

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • 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

  • Posts: 4

    Hi @raghuramg ,
    this is the output

    1. aarna@anod-master:~$ ls -lrth
    2. total 830M
    3. drwxr-xr-x 2 aarna aarna 4.0K Dec 20 2017 rancher-v0.6.7
    4. -rw-rw-r-- 1 aarna aarna 3.6M Dec 20 2017 rancher-linux-amd64-v0.6.7.tar.gz
    5. drwxrwxr-x 6 aarna aarna 4.0K Jul 16 2021 oom
    6. -rwxr-xr-x 1 aarna aarna 12M Jul 19 2021 rancher
    7. -rw-rw-r-- 1 aarna aarna 77K Jul 19 2021 docker_images_list.txt
    8. -rwxrwxr-x 1 aarna aarna 755 Jul 19 2021 pull_docker_images.sh
    9. -rw-rw-r-- 1 aarna aarna 80M Jul 19 2021 oom.tar
    10. -rw------- 1 aarna aarna 2.2M Jul 19 2021 nohup.out
    11. drwxrwxr-x 3 aarna aarna 4.0K Jul 19 2021 openstack
    12. drwxrwxr-x 16 aarna aarna 4.0K Jul 19 2021 onap-custom
    13. -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.

  • Posts: 4

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

    1. aarna@anod-master:~/onap-custom/setup-utils$ sudo ./mount_nfs_disk_stripe.sh /dev/sdb /dev/sdc
    2. [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.

  • Posts: 4

    I asked to cancel my order

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training