Hey guys I have sparkbox up and running in a vm on proxmox. I gave it 100gb of a 250gb ssd and its almost full. I have an 8TB storage drive on the same machine. Was wondering how I can use it for sparkbox downloads. Not sure how to mount it.
13 replies
tomspark wrote:
Good news — totally doable. The drive just needs to be added to the VM first, then SparkBox can use it for downloads. In Proxmox, open your VM → Hardware → Add → Hard Disk, pick the 8TB drive, click Add, and reboot the VM. Reply here once you've done that and I'll walk you through the last step: pointing SparkBox's download folder at the new drive.
Elvis0z wrote:
Hey Tom have done the above.
tomspark wrote:
Perfect — the drive should now show up inside the VM. Open a terminal on your SparkBox machine and run lsblk, then paste the output here. That'll show me which device is the new 8TB so I can give you the exact command to mount it and point your downloads at it.
Elvis0z wrote:
Hey Tom this is a screen shot of the drives I want to attach the 8tb one
tomspark wrote:
I see those Proxmox screenshots — great! Now we need to check which device name the drive has inside the SparkBox VM itself. SSH into your SparkBox and run: lsblk. Paste that output here. That'll show us the device name (like /dev/sda, /dev/sdb) so I can give you the exact mount command. Tom will pick it up from there.
Elvis0z wrote:
That bottom image is the lsblk result this is what I got with ssh NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 100G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 2G 0 part /boot └─sda3 8:3 0 98G 0 part └─ubuntu--vg-ubuntu--lv 252:0 0 49G 0 lvm / sdb 8:16 0 6.8T 0 disk sdc 8:32 0 4.9T 0 disk sr0 11:0 1 2.7G 0 rom
tomspark wrote:
Got it — sdb (6.8T) is your big storage drive. Just a heads-up: the first command below erases everything on it, which is fine if it's blank. Paste these into your SSH session one at a time: sudo mkfs.ext4 /dev/sdb sudo mkdir /mnt/media echo '/dev/sdb /mnt/media ext4 defaults 0 0' | sudo tee -a /etc/fstab sudo mount -a Once that's done, open the SparkBox dashboard → Settings and change your download folder to /mnt/media. After saving, your downloads will go to the 6.8TB drive. Let me know if any step throws an error!
Elvis0z wrote:
jim@mediastack:~$ sudo mount -a mount: ext4: mount point does not exist. dmesg(1) may have more information after failed mount system call. mount: (hint) your fstab has been modified, but systemd still uses the old version; use 'systemctl daemon-reload' to reload. jim@mediastack:~$ This is what I get
tomspark wrote:
No worries — that just means the /mnt/media folder wasn't created yet. Run these two lines: sudo mkdir /mnt/media sudo systemctl daemon-reload Then try sudo mount -a again. If it comes back with no output (no errors), you're good — open the SparkBox dashboard → Settings and change your download folder to /mnt/media. Let me know if you hit anything else!
Elvis0z wrote:
jim@mediastack:~$ sudo mkdir /mnt/media [sudo: authenticate] Password: mkdir: /mnt/media: File exists jim@mediastack:~$ sudo systemctl daemon-reload jim@mediastack:~$ sudo mount -a mount: ext4: mount point does not exist. dmesg(1) may have more information after failed mount system call. jim@mediastack:~$
tomspark wrote:
Both answers are good news: the downloads folder is one SparkBox creates for itself, and yes — everything already downloaded can move over to the big drive. In the dashboard, open Settings, then Server Config, and look for the box called Media Root: that path is where all your media and downloads live right now. The plan is to point that at the new drive, then copy the old files across so nothing is lost. First step: reply with two things — the exact path shown in that Media Root box, and what df -h /mnt/media prints in your SSH window (that confirms the big drive is properly attached). Then I'll give you the exact copy-paste commands to finish it.
tomspark wrote:
Let's try bypassing the fstab for a second -- that "mount point does not exist" message is confusing when the folder is clearly there. Run this directly: sudo mount /dev/sdb /mnt/media If it comes back with no output, you're good -- run df -h /mnt/media to confirm the drive shows up, then open the SparkBox dashboard - Settings and change your download folder to /mnt/media. If it gives an error, paste it here.
Elvis0z wrote:
Hey Tom not sure where to find the downloads folder? Also can I move what was downloaded into the the boot drive into the new folder. Not sure if I can do this. cheers