CasaOS Setup (Drive Mounting, Samba Sharing, Remote Access Preparation) on Raspberry Pi - Ep 2

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024

Комментарии • 90

  • @DBTechYT
    @DBTechYT  2 года назад +3

    Additional Resources:
    - dbt3ch.com/shelves/casaos-installs
    - ruclips.net/video/WpYLPIMxzaU/видео.html

  • @PCman50
    @PCman50 Год назад +7

    Thank you. I truly appreciate your tutorial. I must say that as the average adult that grew up in a Windows world. After years of playing with my multiple Linux distros, I just can't believe how complicated quirky it is to simply share folders or drives across my home network from a Linux computer.
    Windows just wins hands down in ease of use. With like 3 simple settings (in a simple GUI) you can easily share a folders across your network. In Windows GUI Just right click to click create a folder and then click share add permissions if needed. So simple yet not at all easy in Linux.
    In Linux OMG so many complex and unstable detailed entries in the system terminal. In my case truly frustrating. Dad there is not a way to simply use a GUI approach to sharing folders in Linux.
    As far as Casa OS it's a step forward and I'm playing around with it.
    I've also found "Open Media Vault" to be much easier to setup for a novice user add a home server.

    • @DBTechYT
      @DBTechYT  Год назад +1

      Really glad the video was helpful. I agree that OMV is easier to share folders on and that sort of thing, but the recent OMV updates have really screwed things up: ruclips.net/video/f8Yoo4FRGBU/видео.html

    • @PCman50
      @PCman50 Год назад

      @@DBTechYT ughhhh. Thank you for the warning on the OMV update.

  • @paulwratt
    @paulwratt 2 года назад +3

    RE: mounted device names - the USB subsystem (the physical USB ports) is initialized in a specific order, if a device (like drive) is present on the _same port_ at _boot time_ , it will always have the same _device name_ , any newly found device will get the _next device name_ available. This is the main reason for mounting via the _drive ID_ or _partition ID_ (as long as they are unique) they are "guaranteed" , instead of _device name_ (which in some x86/64 systems may change at _boot time_ ).

  • @HomelifePractical
    @HomelifePractical Год назад

    All I needed to do getting my USB dives (AKA 4 SanDisk 3.1 256 small form factor thumb drives) working with CasaOS. I simply plugged each drives into my Windows 10 pro PC and did a NTFS format. After that I went into disk management and created a new partition using a random drive letter like T (AKA test). Then I pugged in each of my USB drives into my (HP EliteDesk 800 G1 dn running CasaOS on top of Ubuntu server) PC and they all popped up ready to be mounted and setup as a drive. I was able to do the beta Raid1, that is what I am calling it! I understand if a user does not have a Windows PC on hand, this video you made will help them out. Thanks for a great video, just way to many steps to follow but glad we/I have to go down this road, having someone like you on the side (Beast)! One love always and forever @DB Tech

  • @jeffreyplum5259
    @jeffreyplum5259 2 года назад +1

    Changing the CasaOS dashboard port allows using a local desktop on the Machine hosting CasaOS. I believe this Desktop must be installed via the command line after the CasaOs port has been changed. I have not tested this yet. I am relatively new to linux servers, so having a desktop to fall back on is more comfortable for me. This pushes the limits of my understanding of linux, so I look forward to the experiment. I may look into virtualizing the CasaOS host The VM's port 80 could be mapped to some other external port. Since all my older machines were built to support VMs this looks like a nice option. CasaOS lowers the barriers to entering the word of Docker. Lessons learned under CasaOS should translate to other docker platforms or support systems. Your videos will be priceless in easing this process, many thanks.

  • @PramodLekkala
    @PramodLekkala 2 года назад +5

    I like how you explain the commands while you enter in the terminal, every time I learn something or the other

    • @DBTechYT
      @DBTechYT  2 года назад +1

      That's great! I'm glad the video was helpful!

    • @iamrage4753
      @iamrage4753 2 года назад

      @@DBTechYT is this ok with podman inplace of docker?

    • @DBTechYT
      @DBTechYT  2 года назад

      @Max RoadWarrior I don't know. This was intended to work with Docker, so You'd have to get on their Discord and ask them.

    • @iamrage4753
      @iamrage4753 2 года назад

      @@DBTechYT can you cover using caddy inplace of nginx please?

    • @DBTechYT
      @DBTechYT  2 года назад

      @Max RoadWarrior Probably not any time soon

  • @goodcitizen4587
    @goodcitizen4587 Год назад +7

    Doing a share in Windows is easy. Linux is such a fail with a lot of this easy stuff. Thanks for the vid!

    • @FViola440
      @FViola440 7 месяцев назад +5

      For real. Every time I use Linux, I find myself wishing I was on Windows.

  • @cordcutter99
    @cordcutter99 Год назад +2

    @DBTechYT Great video! I want to make one correction to the /etc/fstab entry for mounting your ext4 filesystem - you added "PARTUUID=blah /mnt/sabrent ext4 defaults 0 0". That last 0 says NEVER run fsck to check the file system for errors, which is not a good idea, and unfortunately is a common mistake. It should be 2. See "man fstab"
    The sixth field (fs_passno).
    This field is used by fsck(8) to determine the order in which filesystem checks are done at boot time. The root filesystem should be specified with a fs_passno of 1. Other filesystems should have a fs_passno of 2.
    Filesystems within a drive will be checked sequentially, but filesystems on different drives will be checked at the same time to utilize parallelism available in the hardware. Defaults to zero (don’t check the
    filesystem) if not present.

  • @Infodiversao
    @Infodiversao 4 месяца назад

    Hi, thank you so much. I am from brasil and i was looking for install apps on other disks. Im almost one week studying and trying to do a lot of things. Your tutorial its the one that make i do the installation on other drive. Thank you so much.

    • @DBTechYT
      @DBTechYT  4 месяца назад

      Glad I could help

  • @marioalfonsoarreolaa.flore2882
    @marioalfonsoarreolaa.flore2882 Год назад +2

    Thanks for the video. I just installed CasaOs in my homeserver and wasnt able to use my external HD.

  • @engin3ar
    @engin3ar 2 года назад +2

    Thanks, this really helped me set up Samba on Ubuntu

  • @rafafischerfoto
    @rafafischerfoto Час назад

    Please, how do you have individual storage icons in the widget? It's the way past versions work or you have done something? I've just discovered CasaOS and my installation have on consolidate indicator with all my storages together in the same bar...

    • @DBTechYT
      @DBTechYT  36 минут назад

      This video is a few years old. The interface may have changed.

  • @chrisumali9841
    @chrisumali9841 10 месяцев назад +1

    Thanks for the demo and info, have a great day

  • @tristengrant
    @tristengrant 2 года назад +2

    When following along, as soon as I reboot the Pi after formatting and mounting the drives my Pi doesn't connect to the net at all. Using two USB external hard drives. Not SSDs.

    • @cjb9
      @cjb9 2 года назад +2

      I have the same issue. Did you find a solution for this? I even tried re-flasing my SD card and trying this again with no luck

    • @tristengrant
      @tristengrant 2 года назад +1

      @@cjb9 I haven't. I ended up switching to OpenMediaVault.

  • @Basmati_Ryze
    @Basmati_Ryze 2 месяца назад

    hello, I have connected USB drive, it is showing properly but it is read-only permission. how to change that. i can't copy any more files or delete any.

  • @ChinoMagliba
    @ChinoMagliba 2 месяца назад

    I got stuck in the sudo nano /etc/fstab, because the sudo blkid /dev/sdc1 won't give me a PARTUUID=. | By the way I am using RPi3B+, on CasaOS, with MariaDB.

  • @deacbar9330
    @deacbar9330 2 года назад +1

    Hello,, DB Tech,, how to install and running teamspeak3 server on Casa OS, and then how to access the teamspeak3 server from other network?

  • @edualves8883
    @edualves8883 2 года назад

    Everytime when I mount my Hdd, by usb, and reboot system, it's crash, fail to access boot properly and I fall on a infinite loop, do you know if this work to usb HDD?

  • @ilichio
    @ilichio 10 месяцев назад

    hi, thanks for all your CasaOS videos. I have a question... I mounted a hdd as a volume and I want to use it in all apps (qbittorrent, radarr, etc), but the apps doesn't have permissions to write in that volume. how can I achieve this? (I can see and add files from my windows computer)

    • @Daniel-Official
      @Daniel-Official 8 месяцев назад

      I am facing the same problems also, did you manage to fix this?

    • @ilichio
      @ilichio 8 месяцев назад

      @@Daniel-Official I wasn't defining correctly the variables in every app/container. Just go to file manager in the CasaOS UI and create whatever folder you need and set it up as shared. Then you will see that in Media you will be able to access those folders created in other HDD. That route in the Media folder is the one that you need to setup in the variables for every app/container.

  • @PeterRichardsandYoureNot
    @PeterRichardsandYoureNot Год назад

    HELLLPPP!! Followed your setup exactly, but i get a read only situation regardless of masks. when i do get info on the directory from mac finder, it says read/write but all actions on the directory in finder do not present as writable. no create directory. no copy files to it. etc. really NEED write permissions. when i SCP in on forklift, totally writable, but scp is slower than molasses on a winter morning. gotta be able to copy movies to plex server share. any ideas?
    edit: looked further online. found a solution but pretty sketch. added force use = root to the end of the share settings in /etc/samba/smb.conf file and it now allows complete write on the directory. Unfortunately, samba is just as slow as the scp was too. not sure why ZIMABoard with CASAOS on 1GIG network is an hr to upload a movie file that is 6GB. this should happen in just a couple minutes. any help on speeding up transfers would be great.

  • @mandeepmails
    @mandeepmails Месяц назад

    how to mount remote-samba-shares over network to use as storage with CasaOS ? eg, similar to USB drives i'm thinking of mounting my samba shares(drives), Goal is to use easily those shares with all docker containers(sonarr, radarr, etc) running on top of CasaOS whereas drives remain on same old i386 linux pc. The raspberry pi4 is used just for apps(jellyfin, plex, etc) because of all-welcomed architecture and low power consumption.Currently i have fstab entry in raspbian pointing to storage-i386-pc hosted samba share.
    just getting confused with casaos-docker-containers unable to see samba-shares that are visible to raspbian. Any idea ? tips?

    • @DBTechYT
      @DBTechYT  Месяц назад +1

      I use the fstab method on my setup and it works well.
      My fstab file has multiple lines that look like this to mount all my remote folders:
      //192.168.0.18/MediaFolderName /mnt/MediaFolderName cifs username=UsErNaMe,password=PaSsWoRd 0 0

    • @mandeepmails
      @mandeepmails Месяц назад +1

      @@DBTechYT I have the same which works well for raspbian os (lower layer)
      But when I installed casaOS on top of raspbian, I can’t get the fstab benefits.

    • @ggandreotti
      @ggandreotti Месяц назад

      @@mandeepmails Same here share invisible from CasaOS

    • @mandeepmails
      @mandeepmails Месяц назад

      @@ggandreotti I’m back to where I was, without casa-os as using any Debian/raspbian suits my setup on the raspberry pi 4 with storage-samba shares setup on Debian minimal 32-bit pc over the network, pi fstab pointing to old samba server.

  • @rajuwadhwa8262
    @rajuwadhwa8262 3 месяца назад

    trying to add External raid 5 ( raspberry pi5 with orion raid enclosure with 4 harddrives) getiing error when trying to make ext4; /dev/sda is apparently in use by the system; will not make a filesystem here!

  • @iamrage4753
    @iamrage4753 Год назад

    The more i try casaos, the more I'm starting to think it can replace portainer...plus i like how it manages creating a docker container when manually adding an app It's so much cleaner

    • @DBTechYT
      @DBTechYT  Год назад +1

      I like CasaOS, but it still has a bit of growing to do before I think it will replace Portainer, but it's a very cool platform nonetheless :)

    • @iamrage4753
      @iamrage4753 Год назад

      ​​@@DBTechYT further question, will you please cover doing a headscale server + headscale-ui maybe also glutun woukd also be great using casaos pls?

    • @DBTechYT
      @DBTechYT  Год назад +1

      I've looked into setting up headscale and it's not super friendly with regards to setting up in CasaOS. It's going to require some Docker command line to get it deployed properly.

    • @iamrage4753
      @iamrage4753 Год назад

      ​@@DBTechYT starting to try tipi home server....main reason is i couldn't get resilio sync to set up a folder to sync files to an external drive as I received an error about it not having permission to access any idea, apart from that casa os was great

  • @the3dhermit
    @the3dhermit Год назад +2

    Everything went perfect until editing samba. Then it was totally differen't. CasaOS had a "DO NOT MODIFY" message and nothing looked the same.

  • @oscs4556
    @oscs4556 2 года назад +1

    You change the casa os dash board port from the dash board itself, on the top left panel

    • @DBTechYT
      @DBTechYT  2 года назад

      And? Until the community asked for it, this wasn't an option and had to be done in a config file.

    • @Davvyk
      @Davvyk Год назад +1

      @@DBTechYT alright chill. the comment was appreciated actually as it highlighted it was available now this way

    • @Lostduke_
      @Lostduke_ 6 месяцев назад

      Thanks mate

  • @joshuachettiar86
    @joshuachettiar86 Месяц назад

    Brother can you do a similar casaos series on an old laptop, beacuse most people have an old laptop which is much faster than RPi

    • @DBTechYT
      @DBTechYT  Месяц назад +1

      It's the exact same process. Install a supported base OS and then run the install script

    • @joshuachettiar86
      @joshuachettiar86 Месяц назад

      @@DBTechYT okay, will try this. Great videos!!!

  • @Norhther
    @Norhther Год назад

    I have a problem. My ssd is mounted, but recognized as a usb drive. I followed these steps. The problem is that, once I try to save something to the ssd (a torrent from transmission, for instance) I can not access it, only the storage in the microsd. Any clues on this?

    • @DBTechYT
      @DBTechYT  Год назад

      It may not have the right file system on it for CasaOS to recognize

    • @Norhther
      @Norhther Год назад

      @@DBTechYT I followed the same steps here, is there any way to check it?

    • @гопник-ю7ж
      @гопник-ю7ж Год назад

      I'm having the exact same problem, ext4. My rootfs and boot are also visible as usb inside files app. Under storage there's my boot drive (128gb ssd) used 2g/117g, and then the same dsrive is under usb storage as 128gb ssd ,9g/119g

  • @muhabmahmoud4104
    @muhabmahmoud4104 4 месяца назад

    Does converting to ext4 like you did in this video wipe the drive?

    • @DBTechYT
      @DBTechYT  4 месяца назад +1

      yes it does wipe the drive

    • @muhabmahmoud4104
      @muhabmahmoud4104 4 месяца назад

      @@DBTechYT Thanks for the response. I'm having this weird issue with a USB drive. I can't see all the files on it in Casa. And my movies folder shows up as empty with this error note showing the path of a random movie in the folder and "no such file or directory" written. Any experience with that issue?

    • @DBTechYT
      @DBTechYT  4 месяца назад +1

      Unfortunately I don't have any experience there, but it's been a while since I took a deep look at CasaOS. Your issue could be a file system issue, but it's hard to say.

  • @cyberbud
    @cyberbud 2 года назад

    Do you have a video of how to install and setup Casa OS ? Could not find it

    • @DBTechYT
      @DBTechYT  2 года назад

      Here's a whole playlist: ruclips.net/video/WpYLPIMxzaU/видео.html

  • @Bajran_
    @Bajran_ Год назад +1

    You are the best! It works!
    In my case i had to use "UUID=" except "PARTUUID=" in fstab,
    othervise i recived:
    mount: /dev/sdb1: can't find in /etc/fstab.

  • @neoconker
    @neoconker 2 года назад +2

    Thank you so much!

  • @sidneyking11
    @sidneyking11 Год назад

    I have my new zimaboard that I like to setup as my media server. I need help on how to transfer my jellyfin movies from my proxmox server to my zimaboard sata drive. The movie data is on a truenas vm on the proxmox server. The ubuntu vm is mounted to the nfs shared truenas drive. any help would be greatly appreciated.

  • @gregbrissey5675
    @gregbrissey5675 2 месяца назад

    Thanks for the video, maybe someone can help me with my setup, I have CasaOs with Jellyfin (on a Ubuntu 22.04) and I'm try to access my media from my synology NAS running DSM 7.2.1. I mounted the NAS volume on the Ubuntu , and point the Jellyfin to this mount point. But it doesn't see the content (Movies,etc.) which from my can means jellyfin doesn't have write access to the volume. Yet from a ubuntu bash shell I can write and delete files. any Ideas, suggestions are references that could help me?
    Thanks in advance

  • @trajanparker
    @trajanparker Год назад

    is there a dumbed down version of this?

    • @SysKeyJS
      @SysKeyJS 7 месяцев назад

      This is as dumbed down as you can get

  • @LennyLacey
    @LennyLacey 10 месяцев назад

    for some reason the drive is not writable. why would that be? (exfat)

    • @DBTechYT
      @DBTechYT  10 месяцев назад

      Sounds like you have a permissions issue that you need to resolve. they've got a great community on discord for more specific help

  • @ImperialDog1999
    @ImperialDog1999 Год назад

    how to acces raspberry pi files in my android file manages outside my local network? because i can only access on my home network?

    • @DBTechYT
      @DBTechYT  Год назад +1

      You might look at TailScale or ZeroTier

    • @iamrage4753
      @iamrage4753 Год назад

      ​@@DBTechYT can you cover headscale + headscale-ui setup pls?

  • @jeytis72
    @jeytis72 2 года назад +1

    very good. Thanks

  • @fauzanacyuto3656
    @fauzanacyuto3656 Год назад

    Is the CasaOS ip address static from the get go?

    • @DBTechYT
      @DBTechYT  Год назад

      Not unless you configure it

    • @fauzanacyuto3656
      @fauzanacyuto3656 Год назад

      @@DBTechYT Alright, thanks for the reply!

  • @hmortensen1
    @hmortensen1 Год назад

    can you mount an nfsshare in casaos

  • @paulwratt
    @paulwratt 2 года назад

    sudo - Super User DO (as in "do something") - sudo

  • @Lostduke_
    @Lostduke_ 6 месяцев назад

    Thank you

  • @duncanross4698
    @duncanross4698 2 года назад

    Windows 10 can't see the samba share :/

    • @DBTechYT
      @DBTechYT  2 года назад

      Then you need to recheck your samba settings

  • @omarl7333
    @omarl7333 Месяц назад

    /dev/sda2 is mounted; will not make a filesystem here!

    • @DBTechYT
      @DBTechYT  Месяц назад

      Did you format the drive with a compatible file system?