Steam refuses to add internal ssd’s

so I did some searching and found this:

so I tried a couple of things…

first I edited my fstab to reflect what I wanted to do. In the above article, the poster suggested using a folder in my home folder to mount the drives.

So I created a “mount” folder and respective folders under that to mount the drives.

Here is my fstab contents after doing all that.

UUID=131C-4FD6 /boot/efi vfat defaults,umask=0077 0 2
UUID=dac0e1bb-b788-4137-9258-1eed19b4a552 / ext4 defaults 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
UUID=d1ac9018-067b-4cc1-8c32-d0f7a902064c /home/harold/mount/siliconpower1tb ext4 defaults 0 0
UUID=78c5721f-051c-4b71-8b03-fa307c4d742a /home/harold/mount/Samsung1TBnvme ext4 defaults 0 0
UUID=a2a7a31e-471a-4275-91bc-17a4323b5021 /home/harold/mount/Sandisk500gbsata ext4 defaults 0 0
UUID=66d88e70-204f-4b7b-8cb5-e9996012df88 /home/harold/mount/tforce2tb-1 ext4 defaults 0 0
UUID=df26a9b8-e7cb-4186-a8d3-2044f51afe6b /home/harold/mount/tforce2TB-2 ext4 defaults 0 0
UUID=0ea2b0d8-3b0b-43b3-b712-fa2ee17194c6 /home/harold/mount/Samsung1TBsata ext4 defaults 0 0

after a reboot these drives do indeed mount just fine.

Yet steam refuses to add these drives so I can copy my games to them.

They were formatted in ext4, with myself as the owner and accessable to anyone, however I am the only user that has access to this pc.

I feel I missed something, but I can’t figure out what that something is.

If there is more info needed, please ask.

Thank you.


Mod edit:- Corrected formatting as per forum guidelines. No charge.
See How to Post Command Output as Preformatted Text :eyes:

I am thinking loud - guessing actually - as there is nothing that make me go :thinking:

  • when mounted through fstab it will mount with root privileges
  • mounting in fstab could cause a permission issue
  • make sure they are not mounted to /run/...

with devices mounted - list the content of the mount folder

  • you would expect something like
     $ ls -l ~/mount
    drwxr-xr-x  2 harold harold       4096  2 dec 08:34  siliconpower1tb
    

and list the mount points - you would expect them in /home

mount | grep /home

so here are the results…..and thank you for providing the commands to do this with….

ls -l ~/mount  :check_mark:
total 24
drwxrwxrwx 3 harold harold 4096 Jan 16 08:56 Samsung1TBnvme
drwxrwxrwx 3 harold harold 4096 Jan 16 09:00 Samsung1TBsata
drwxrwxrwx 3 harold harold 4096 Jan 16 08:57 Sandisk500gbsata
drwxrwxrwx 3 harold harold 4096 Jan 16 08:55 siliconpower1tb
drwxrwxrwx 3 harold harold 4096 Jan 16 09:23 tforce2tb-1
drwxrwxrwx 3 harold harold 4096 Jan 16 09:24 tforce2TB-2

mount | grep /home
/dev/nvme2n1p1 on /home/harold/mount/Samsung1TBnvme type ext4 (rw,relatime,stripe=4)
/dev/nvme0n1p1 on /home/harold/mount/siliconpower1tb type ext4 (rw,relatime)
/dev/sdd1 on /home/harold/mount/Samsung1TBsata type ext4 (rw,relatime)
/dev/sdc1 on /home/harold/mount/tforce2TB-2 type ext4 (rw,relatime)
/dev/sda1 on /home/harold/mount/Sandisk500gbsata type ext4 (rw,relatime)
/dev/sdb1 on /home/harold/mount/tforce2tb-1 type ext4 (rw,relatime)

is this helpful?

they are not mounted under RUN. they were initially, before partitioning and formatting to ext4 and using fstab to mount them in my home directory.

It confirms what I thought you did - and it appears correct.

You mention you have partitioned and formatted the use ext4, correct?

While your mount point permissions is - a little over the top - but OK - I am thinking, have you actually tried to create a file inside one of the partitions?

I suspect that since you have explicitly prepared the devices, you may have overlooked the partition itself - which will default to be owned by root:root and thus not directly writable - this will make steam refuse to use.

ls -la ~/mount/siliconpower1tb

I am thinking you will get

drwxr-xr-x  2 root   root         4096  2 dec 08:34  .
drwxrxxrxx  2 harold harold       4096  2 dec 08:34  ..

You will be able to work around that by changing owner recursively

sudo chown harold:harold ~/mount -R

They should never be given 777 permissions, because that’s insecure. 755 — i.e. writable by you and readable to everyone else — should be good enough.

You should not tell Steam to use the drives, but instead, tell it to use the folders that those drives are mounted on. Steam doesn’t need to know that they are separate drives.


That’s not important if they are filesystems that support POSIX permissions. They are formatted as ext4, which is a POSIX filesystem. :wink:

this is what i got…

ls -la ~/mount/siliconpower1tb  :check_mark:
total 36
drwxrwxrwx 3 harold harold 4096 Jan 18 07:35 .
drwxr-xr-x 8 harold harold 4096 Jan 16 13:02 ..
-rwxr-xr-x 1 harold harold 9925 Dec 17 2023 ‘aeryns server mod list.txt’
drwxrwxrwx 2 harold harold 16384 Jan 16 08:55 lost+found

as you can see i copied a file to it, and it is actually there. :slight_smile:

There is no reason why steam wouldn’t use the paths - paths are accessible and writable - so I don’t see why it should be an issue.

I only have one thing - I am curious about - when you do a simple list of block devices - the value in in RM column - if it is 1 (one) the device is seen as removable - just note if this make any difference for steam - if the column is one or zero.

 $ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda           8:0    0 476,9G  0 disk 
└─sda1        8:1    0 465,8G  0 part /a/private
sdb           8:16   0 465,8G  0 disk 
├─sdb1        8:17   0 244,1G  0 part /a/virtualbox
└─sdb2        8:18   0 221,6G  0 part /miso
sdc           8:32   0   1,8T  0 disk 
└─sdc1        8:33   0   1,8T  0 part /a/projects
sdd           8:48   0   1,8T  0 disk 
└─sdd1        8:49   0   1,8T  0 part 
sde           8:64   0   1,8T  0 disk 
└─sde1        8:65   0   1,8T  0 part 
sdf           8:80   1     0B  0 disk 
sdg           8:96   1     0B  0 disk 
sdh           8:112  1     0B  0 disk 
nvme0n1     259:0    0 953,9G  0 disk 
├─nvme0n1p1 259:1    0     2G  0 part /efi
├─nvme0n1p2 259:2    0 882,9G  0 part /
└─nvme0n1p3 259:3    0  68,9G  0 part [SWAP]

You cannot trust the value implicitly - in my example

sdc           8:32   0   1,8T  0 disk 
└─sdc1        8:33   0   1,8T  0 part /a/projects
sdd           8:48   0   1,8T  0 disk 
└─sdd1        8:49   0   1,8T  0 part 
sde           8:64   0   1,8T  0 disk 
└─sde1        8:65   0   1,8T  0 part 

Technically these are removable - they are connected using USB but the disk report themselves as fixed.

yes, that is what i am trying to do…..adding the folders that i want. the folders where they are mounted. and it refuses to do so.

Does it throw an error message?

looks like all 0’s to me.

none…….i’ll try to paste what i am doing in steam, so you can see each step…..gimme a few minutes.

starting with add drive…

selecting the folder…

the end result….drive not added.

here are the permissions….don’t know if this is helpfull or not.
i am sticking with the same drive….so as to not lead to any confusion….mostly on my part, lol.

This looks total different as when i add my NVMe Drive to Steam and im using KDE also.

Alone the path is total different, where you have /home/harold/mount… that folder not even exist for my mounted fstab drive.

Maybe try to select the drive from the left device list (in dolphin) and not from your Tree structure?

Edit:
Here a little overview steps, what im doing and how i mounted my drives in fstab:

sudo mkdir /media
sudo mkdir /media/temp
sudo mkdir /media/nvme-games
sudo nano /etc/fstab

# Temp  /dev/sdb1
UUID=1e81b7c2-3438-438a-b572-ff8a966a78e1   /media/temp    ext4    defaults    0   0

# nvme-games /dev/nvme0n1p1
UUID=423e0b4c-a042-4ca4-9b01-f066f692d375   /media/nvme-games   ext4    defaults    0   0

Maybe that’s the problem, maybe they shouldn’t be mounted under home.

i fixed it!

how?

removed steam. completely.

rebooted. (just in case)

installed steam again.

this time when adding the drives, it looked NORMAL.

so i added the drives.

rebooted again. (just in case)

opened steam….the drives are all there!

just a note….i installed steam from the official repository, not the flatpack one.

in case anyone else runs into this. maybe this will help someone else along the way?

guys, thanks for your help and input!

problem solved :slight_smile:

I don’t know how you solved it - and it is not clear how.

In my system configuration, I use a root folder /a as starting point for my mounts, but I reckon it shouldn’t matter where.

For the sake of the experiment…

Open steam

  • In the top bar
    • open Steam menu
      • navigate to settings
        • Storage tab
          • In the top of the storage tab
          • unfold the Local Drive (/)
          • click add drive
          • point to the folder where you mounted the disk

Perhaps Steam is scanning for mount points, in much the same manner as I suggested above, I don’t know.

I immediately thought that you had Steam installed as a Flatpak package.

This is a very old feature of Flatpak packages — permissions for directories need to be set manually.
And it’s one of the reasons why I try to avoid them, aside from others:

  • Huge consumption of disk space
  • Troubles with integration of system themes and keyboard layouts
  • Flathub doesn’t have regional mirrors
  • Frequent AUR-like updates
  • Loss of performance

This is one of the features of flatpaks.

They run in sandboxed environments. Not only for security, but to guarantee versions of dependencies, and no conflicts.

You have to use an override setting and expose parts if you want to access things off your file system. Again, a great feature.

I’m also not a fan, but they do have their advantages for certain things.

The first two points, valid.

But space? Has to happen for good reason, but still.. How much is it really.

I would argue the latter three.

The topic has been solved - but not marked as so. I will mark comment number #15 as solution, because @AerynSun said so

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.