solliancenet / tech-immersion-data-ai

123 stars 142 forks source link

Directory already mounted #30

Open himanshuahlawat31 opened 4 years ago

himanshuahlawat31 commented 4 years ago

Hi , to avoid Directory already mounted can we make some changes in notebook as: /mnt/contosoauto" On Cmd 4 --- Add "# UnMount" before "# Mount the ADLS Gen2 filesystem" and Run All

UnMount

dbutils.fs.unmount("/mnt/" + fileSystemName

himanshuahlawat31 commented 4 years ago

@shirolkar , can you please suggest something on this

shirolkar commented 4 years ago

@himanshuahlawat31 What lab # is this?

himanshuahlawat31 commented 4 years ago

It's Data experience 6

shirolkar commented 4 years ago

@himanshuahlawat31 Are you talking about 1-Environment-Setup notebook Cmd 4? What error do you get if the directory is already mounted? Is it possible to ignore the error and continue without problems? Thanks.

himanshuahlawat31 commented 4 years ago

This is what I added on Databricks - 1 Environment Setup

DataBricks -- To avoid "Directory already mounted: /mnt/contosoauto" On Cmd 4 --- Add "# UnMount" before "# Mount the ADLS Gen2 filesystem" and Run All

UnMount

dbutils.fs.unmount("/mnt/" + fileSystemName)

Hi Jitendra, sometimes we get an error as directory already mounted so we tried adding these, what are your suggestions on this if this is a correct way can we use this?