# Load\_from\_disk and read-only filesystem

**URL:** <https://discuss.huggingface.co/t/load-from-disk-and-read-only-filesystem/54312>\
**Category:** 🤗Datasets\
**Created:** [September 10, 2023, 1:59pm UTC](https://discuss.huggingface.co/t/load-from-disk-and-read-only-filesystem/54312 "2023-09-10T13:59:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![tsobolev](https://avatars.discourse-cdn.com/v4/letter/t/45deac/32.png) [@tsobolev](https://discuss.huggingface.co/u/tsobolev)\
**Post date:** [September 10, 2023, 1:59pm UTC](https://discuss.huggingface.co/t/load-from-disk-and-read-only-filesystem/54312/1 "2023-09-10T13:59:13Z")

</div>

Hello,

I attempted to use my own dataset on Kaggle, which I created using `save_to_disk` and uploaded as a Kaggle dataset. I can load this dataset with `load_from_disk('/kaggle/input/my_dataset_dir')`, but I can’t perform operations like ‘train\_test\_split’ because of the read-only filesystem:

```auto
OSError: [Errno 30] Read-only file system: '/kaggle/input/my_dataset_dir/tmp5x3dj6no'

```

When I try loading it with `load_dataset(streaming=True)`, I encounter an error:

```auto
ValueError: You are trying to load a dataset that was saved using `save_to_disk`. Please use `load_from_disk` instead.

```

What should I do to use my datasets on a read-only filesystem?

---

_[View the full topic](https://discuss.huggingface.co/t/load-from-disk-and-read-only-filesystem/54312)._
