You are not logged in.

#1 2019-11-13 01:50:38

Strykar
Member
Registered: 2018-02-17
Posts: 50

Out of SSD space on / Would like to install apps to HDD

I'm running out of space on my SSD (54 GB free) which has / mounted on it.
I have two 1 TB HDD's - I'd like to install some large but not often used applications on these.

What would be the Arch way to achieve this?

~ df -h
Filesystem      Size  Used Avail Use% Mounted on
dev             7.9G     0  7.9G   0% /dev
run             7.9G  1.8M  7.9G   1% /run
/dev/sdb2       227G  157G   59G  73% /
tmpfs           7.9G  385M  7.5G   5% /dev/shm
tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
tmpfs           7.9G   23M  7.8G   1% /tmp
/dev/sdc1       932G  539G  393G  58% /mnt/TB1
/dev/sda1       932G  453G  479G  49% /mnt/TB2
tmpfs           1.6G   56K  1.6G   1% /run/user/1000
/dev/sdd1       635M  635M     0 100% /run/media/strykar/ARCH_201911

I haven't formatted the HDDs since they were used on Windows but would change them to ext4 once I figure this out.

~ cat /etc/fstab

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sdc2
UUID=d98178fb-ecb8-446b-8a9e-d65c8d2f2dda	/         	ext4      	rw,relatime	0 1
# /dev/sdc3
UUID=0ce477ff-94e6-4004-8ff8-2bcfdeb093d4	none      	swap      	defaults,pri=-2	0 0
# /dev/sda1
UUID=183C77F83C77CF6E				/mnt/TB2	ntfs-3g	uid=988		0 	0
# /dev/sdb1
UUID=AE306F24306EF32F				/mnt/TB1	ntfs-3g	uid=988		0	0

I need some clear separation as games have to be installed to the SSD, I'm happy to reinstall and setup LVM if needed.
Any pointers are appreciated.

Offline

#2 2019-11-13 02:09:38

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: Out of SSD space on / Would like to install apps to HDD

What sort of 'large but not often used' applications are you thinking about? Most applications distribute their files in various subfolders.

54GB free is quite acceptable, you won't be seeing any performance problems there. It's about what I have currently on my own SSD (though this is a 512GB SSD so it's only like 13% of the space left).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2019-11-13 08:10:09

seth
Member
Registered: 2012-09-03
Posts: 51,046

Re: Out of SSD space on / Would like to install apps to HDD

You could use bind mounts to offload the brunt of the payload

# /dev/sda1
UUID=183C77F83C77CF6E				/mnt/TB2	ntfs-3g	uid=988		0 	0
/mnt/TB2/usr/share/FallenJedi /usr/share/FallenJedi none defaults,bind 0 0
/mnt/TB2/usr/share/NeedForSpeed /usr/share/NeedForSpeed none defaults,bind 0 0

Offline

#4 2019-11-13 08:26:04

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: Out of SSD space on / Would like to install apps to HDD

seth wrote:

You could use bind mounts to offload the brunt of the payload

# /dev/sda1
UUID=183C77F83C77CF6E				/mnt/TB2	ntfs-3g	uid=988		0 	0
/mnt/TB2/usr/share/FallenJedi /usr/share/FallenJedi none defaults,bind 0 0
/mnt/TB2/usr/share/NeedForSpeed /usr/share/NeedForSpeed none defaults,bind 0 0

To add though, this is doing the opposite of what OP requested. OP wants to keep game-related data on the SSD.

Of course, this may be an XY problem. Most would want game data to be offloaded to the huge HDD, because loading times aren't normally constrained by media (well, except for Civ series I think) and I/O speed.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2019-11-13 12:40:38

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Out of SSD space on / Would like to install apps to HDD

/dev/sdb2       227G  157G   59G  73% /

Ngonee is probably right about this being an xy problem.

I suggest you check what's taking up 157G , my money is on /home being the cause.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Online

#6 2019-11-13 20:10:30

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,253

Re: Out of SSD space on / Would like to install apps to HDD

It would probably be easier in the long run (and make more sense) to move /home to the spinner.

Though as has been said, you have plenty of room for now.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

Board footer

Powered by FluxBB