this post was submitted on 23 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
9 users here now

Rules

founded 11 months ago
MODERATORS
 

Hi, I've been running a Ubuntu on Mac Mini homelab for past couple of weeks (Jellyfin, Transmission, SMB), and I keep hitting NTFS issues - some of which were my own fault, but I'm now seeking advice for the future.

  1. I wanted to unmount the drive. Drive was busy (seems it is as long as smbd is running). So I do umount -f, expecting it will kill the process and unmount similar to Unlocker app - it corrupted the entire drive. Didn't work on Windows or Linux, vcn error... After a few days of painful recovery, I set it all back up...

  2. Went to mv a file to a subfolder, got impatient, cancelled it. Tried to remove the partial file - IO error! Couldn't remove it, not after reboot, not as root, no way. And I couldn't access the entire folder because of that one file.

To fix, I had to plug in the drive to the Windows machine, saw the file for a sec, then file disappeared itself (some self-repair system?)

  1. sometimes the drive doesn't appear at all, takes a few repluggings to get it working? On Windows machine it works okay.

Is there any other FS you could recommend? (needs to be Windows compatible as well)

Thank you.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 1 points 10 months ago (1 children)

Which ntfs software are you using?

IIRC there are three options now (inc one in the kernel that's supposed to be a bit rough still) but the most stable seems to be the older fuse option of ntfs-3g.

I moved to getting none Linux boxes reading Ext4 drives using https://www.paragon-software.com/ drivers.

Have you tried using wsl mount on Windows to access Ext drives (may depend on your Windows version)...

Bit baffled by u/ajnozari comment on share security issues - SMB via SAMBA is well documented as to how to set things up...

[โ€“] [email protected] 1 points 10 months ago

Bit baffled by u/ajnozari comment on share security issues - SMB via SAMBA is well documented as to how to set things up...

Not sure they're referring to a security issue as much as sometimes SAMBA can be a bit cantankerous with with permissions and security in order to access ahare or that some users have problems with configuring it.