Help a noob troubleshooting SSD sharing/mount issues
from wizblizz@lemmy.world to linux@lemmy.ml on 27 Jul 15:21
https://lemmy.world/post/33551748

Hey there! Windows refugee here looking for some help.

I was trying to setup Samba and get a directory shared from the external drive I have connected to my Pi. Got frustrated as I couldn’t make a connection from my laptop or PC and decided to yank the drive and plug it direct to the PC, but getting this unknown error now mounting the drive anywhere. I was messing around with the samba conf file replacing the number/letter string back to the drive name–i had gotten an error previously, maybe due to the spaces, so used this string instead. I think I had started looking into mounting the drive but can’t find any terminal commands I ran in that respect, and I got interrupted so can’t remember what I was doing. I tried putting the path back to the string but no luck. Can someone point me in the right direction?

#linux

threaded - newest

tun@lemmy.zip on 27 Jul 15:36 next collapse

I would do the following step-by-step

  • manual mounting the drive
  • sharing via samba
  • auto mount

while doing the steps, i would

  • read wiki.archlinux.org when I need help on those steps
  • read cyberciti.biz tutorials on those topics
  • use explainshell.com to learn details about the commands I need to enter
wizblizz@lemmy.world on 27 Jul 16:38 collapse

RTFM, always good advice. Thanks

the_wiz@feddit.org on 28 Jul 06:38 collapse

Honestly? It is.

Getting a understanding of what you do is something that is moving towards “lost arts” territory regarding everything computer related. Yeah, you will not get the solution to your problem THAT FAST, but if you find out why the thing you want to do did not work and understand how to make it work you will benefit in the long run.

tgxn@lemmy.tgxn.net on 27 Jul 16:07 collapse

looks like you’re not even able to mount it, I’d start with that. it could be a few reasons, maybe it’s ntfs format and needs a checkdisc, have a look in lsblk for details, and I’d have a look in dmesg --follow and see if you can find the error.

wizblizz@lemmy.world on 27 Jul 16:37 collapse

Thanks, saving these! It is NTFS, found it had been flagged as dirty and was in fact recommending chkdsk. Chkdsk didn’t find anything to fix, but its mountable again back in linux. I figured NTFS would be fine since I’m dual booting (separate drives) while I get used to Linux. Should I power off the Pi before removing next time?

anistorian@lemmy.world on 27 Jul 18:36 collapse

Nah, you can just sudo umount /path/to/device and then remove it. No need to power off the pi.