Skip to content

Devsds installation script fails with mount point busy in ubuntu 18.O4 #1309

@Shruthi-1MN

Description

@Shruthi-1MN

Issue/Feature Description:
Devsds installation script fails with mount point busy in ubuntu 18.O4

Why this issue to fixed / feature is needed(give scenarios or use cases):
Devsds installation script fails with mount point busy in ubuntu 18.O4
Displays following error message

2020-08-06 09:17:32.573 | + local vg=opensds-volumes-default
2020-08-06 09:17:32.573 | + sudo lvremove -f opensds-volumes-default
2020-08-06 09:17:32.642 | + osds::lvm::set_configuration
2020-08-06 09:17:32.642 | + cat
2020-08-06 09:17:32.642 | + cat
2020-08-06 09:17:32.643 | + osds::lvm::set_configuration_for_file
2020-08-06 09:17:32.643 | + cat
2020-08-06 09:17:32.644 | + cat
2020-08-06 09:17:32.644 | + local nvmevg=opensds-volumes-nvme
2020-08-06 09:17:32.644 | + [[ -e /dev/nvme0n1 ]]
2020-08-06 09:17:32.644 | + osds::lvm::create_nvme_vg opensds-volumes-nvme 20G
2020-08-06 09:17:32.644 | + local vg=opensds-volumes-nvme
2020-08-06 09:17:32.644 | + local size=20G
2020-08-06 09:17:32.645 | ++ parted /dev/nvme0n1 unit GB print free
2020-08-06 09:17:32.645 | ++ grep 'Free Space'
2020-08-06 09:17:32.645 | ++ tail -n1
2020-08-06 09:17:32.645 | ++ awk '{print $3}'
2020-08-06 09:17:32.660 | + cap=0.00GB
2020-08-06 09:17:32.660 | + '[' cap ']'
2020-08-06 09:17:32.660 | + sudo mkdir -p /opt/opensdsNvme/opensds-volumes-nvme
2020-08-06 09:17:32.669 | + sudo mount /dev/nvme0n1 /opt/opensdsNvme/opensds-volumes-nvme
2020-08-06 09:17:32.674 | mount: /opt/opensdsNvme/opensds-volumes-nvme: /dev/nvme0n1 already mounted or mount point busy.

How to reproduce, in case of a bug:

Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions