this post was submitted on 05 Nov 2024
24 points (90.0% liked)

Selfhosted

39980 readers
735 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I have a desktop PC with two SSDs—one with Windows installed and the other currently empty, which I plan to use for Linux as I migrate to it. Additionally, I have two 4TB HDDs I intend to configure for NAS storage.

Since I can't afford a dedicated NAS setup just yet, I’m considering dedicating a portion of the empty SSD to run a NAS solution like TrueNAS or Proxmox for self-hosting. Ideally, I'd like the NAS portion to operate continuously in the background, while allowing me to boot into either Linux or Windows as usual.

Is it possible to set up the NAS environment this way, so it’s always running and accessible, even as I switch between Linux and Windows on my main system?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 3 days ago (1 children)

What you're talking about is a software solution, but the solutions you mention are not standalone software in the way you're thinking.

Honestly, it sounds like you don't want a NAS, you just want shared network storage. If that's the case, make a Fat partition, share it windows, then go configure samba under the Linux side similarly, paying attention to map a user with a matching uid. There will be some wonk happening here and there with file permissions perhaps, but it will work for the most part.

The other options you mentioned are meant to control the entire host, but you may be ready to make that leap yet.

For minimal money, you could also try and get your hands on an older RPi (possibly for free, people just have them laying around), and attach your disks via USB to that, and then you have a basic, but dedicated NAS you can setup the way you like.

[–] [email protected] 1 points 2 days ago (1 children)

Be really careful with fat. It has no safe guards against corruption.

I would format it either btrfs (Linux only) or NTFS (both Windows and Linux)

[–] [email protected] 0 points 2 days ago (1 children)

NTFS will 100% get corrupted under Linux, and 150% with Samba involved.

[–] [email protected] 0 points 2 days ago (1 children)
[–] [email protected] 1 points 2 days ago

WOW, you must be super special. Everyone else has issues: https://www.reddit.com/r/linuxquestions/comments/13k5xc6/why_does_ntfs_corrupt_so_much_more_on_linux/

It's also a known tagged issue with that driver in the kernel mainttnotes, and a warning on every single distro I've ever used when attempting to format something with NTFS.

Lucky you.