0

我想在 GCP AI Platform Jupyter 笔记本实例中挂载一个 Cloud Filestore 实例,这样我就不必将所有数据上传到笔记本中。

我按照https://cloud.google.com/filestore/docs/mounting-fileshares上的说明进行操作,但收到以下错误消息:

root@0084329abd1b:/home# mount <IP_ADDRESS>:/streams cfs
mount.nfs: rpc.statd is not running but is required for remote locking.
mount.nfs: Either use '-o nolock' to keep locks local, or start statd.
root@0084329abd1b:/home# mount -o nolock <IP_ADDRESS>:/streams cfs
mount.nfs: Operation not permitted
4

2 回答 2

1

从你的终端,你可以做这样的事情。

mkdir des_bucket
gcsfuse --debug_gcs --implicit-dirs  src_bucket des_bucket
于 2021-06-22T03:55:17.943 回答
0
  1. 创建 Filestore 实例链接

  2. 创建 Google VM 实例链接

  3. 创建 Notebook AI 实例链接

  4. 在 VM 实例上运行命令:

    sudo apt-get -y update
    sudo apt-get -y install nfs-common
    sudo mkdir test
    # fileshare remote target
    sudo mount 111.11.111.11:/fileshare test
    sudo chmod go+rw test
    echo 'This is a test' > test/testfile
    ls test 
    #testfile
    
  5. 在 Notebook AI 实例上运行命令链接

    sudo apt-get -y update
    sudo apt-get -y install nfs-common
    sudo mkdir test
    # fileshare remote target
    sudo mount 111.11.111.11:/fileshare /test
    ls test
    #testfile
    

您也可以查看链接

于 2019-12-13T08:33:55.107 回答