Giter Club home page Giter Club logo

Comments (4)

derogab avatar derogab commented on June 11, 2024 1

Exactly the same problem here.

I've read on the website @lukechilds say there is still no NVMe support on Pi 5 right now but it’s high on their list of priorities.

There is already an open PR #1719 and @smolgrrr say that they plan to add support for NVMe drives in UmbrelOS 1.1.

I hope it can be available very soon!

from umbrel.

madmacks59 avatar madmacks59 commented on June 11, 2024

I was finally able to ssh and when i run lsblk I get the following....
umbrel@umbrel:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mmcblk0 179:0 0 59.5G 0 disk |-mmcblk0p1 179:1 0 256M 0 part /run/rugpi/mounts/config |-mmcblk0p2 179:2 0 128M 0 part /boot |-mmcblk0p3 179:3 0 128M 0 part |-mmcblk0p4 179:4 0 1K 0 part |-mmcblk0p5 179:5 0 5G 0 part /run/rugpi/mounts/system |-mmcblk0p6 179:6 0 5G 0 part -mmcblk0p7 179:7 0 49G 0 part /mnt/root/var/log
/var/log
/mnt/root/var/lib/docker
/var/lib/docker
/home
/data
/run/rugpi/state
/run/rugpi/mounts/data
nvme0n1 259:0 0 1.8T 0 disk
-nvme0n1p1 259:1 0 1.8T 0 part
`
So, it looks like the OS "sees" the device, but I don't see a mount point.

from umbrel.

derogab avatar derogab commented on June 11, 2024

I have a little TEMPORARY WORKAROUND for this, using symbolic links.

For standard users

Probably the best solution is to wait for Umbrel 1.1.

For users who know what they are doing

Disclaimer: this is an quick unofficial workaround. If you use this an SD card for your system and an external drive, there is no reason why the data should not be safe.... but I don't know how the connection to NVMe M.2 SSDs will be handled with the 1.1 update. So this could lead to malfunctions, unwanted deletions, or may need further manual changes to be made later.

Update: umbrel will use the external drive as data storage but the number of apps that can be installed is still limited to the size of the SD card (docker images are downloaded here). It remains a quick fix for those who use very few apps and don't use the server professionally. Maybe a solution by modifying the mount-points could have been better.

First of all run lsblk command to view all connected devices.
You should be able to see your NVMe M.2 SSD drive in a way like this:

nvme0n1 259:0 0 1.8T 0 disk
-nvme0n1p1 259:1 0 1.8T 0 part
Auto-mount your external drive at boot

Then install cron.

sudo apt install cron

And setup a script to auto-mount your drive on boot.
It must be run as root so you may need to run sudo su before edit the cron config file.
Open it with crontab -e command and add the follow line at the end:

@reboot mount /dev/nvme0n1p1 /media/storage >> /tmp/mount-storage.log

Now your drive will be mounted automatically at system boot.

Move all to your external drive

Before moving the data, it is advisable to turn off your umbrel.

sudo systemctl stop umbrel

Move your umbrel folder to your external drive.

sudo mv /home/umbrel/umbrel /media/storage/

Add a symbolic link from external drive folder to default place folder.

sudo ln -s /media/storage/umbrel /home/umbrel/umbrel 

You can now easily restart your umbrel.

sudo systemctl restart umbrel

Everything should be okay now.

from umbrel.

oyed avatar oyed commented on June 11, 2024

1.1.1 is out now - will try this out tomorrow to see if this is still an issue

EDIT: nevermind, dug deeper and this is planned for 1.2 now - https://twitter.com/mayankdotch/status/1780628827737309359

from umbrel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.