# Cannot scan library

**URL:** <https://forums.plex.tv/t/cannot-scan-library/914493>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [April 23, 2025, 6:11pm UTC](https://forums.plex.tv/t/cannot-scan-library/914493 "2025-04-23T18:11:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [April 24, 2025, 2:05am UTC](https://forums.plex.tv/t/cannot-scan-library/914493/2 "2025-04-24T02:05:55Z")

</div>

When using Linux, `/media` is often a reserved directory.

Specifically: `/media/derrell/8a40b384-ba80-4ede-99be-6e927897be79`  
looks like something the automounter did

When this happens:

1. It creates a mount point under `/media/YOUR_USERNAME`
2. If there’s a label on the drive, it’s used, else the UUID is used
3. MOST IMPORTANTLY - exclusive access permission is asserted for ONLY your username.

Since this is a Pi, I suspect you’re using a USB drive for the media ?

If true, I suggest you mount the drive somewhere other than under `/media/your_username` to avoid permission problems.

Please see below (pay attention to the USB part)

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/2):
>
> Using other hard drives (Windows or Linux) with PMS This How-To is written to help with Internal and External drives. It also is written to demonstrate how to cope with NTFS and EXT4 formatted drives. By logical extension, any format supported by Linux can be handled using the technique shown here. In all cases, the goal is to give user plex permission to read your media files which Linux doesn’t allow by default due to its strict security model. We will walk through the steps needed …

---

_[View the full topic](https://forums.plex.tv/t/cannot-scan-library/914493)._
