Jump to content

dmk0

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by dmk0

  1. @Frank1940 As you've been with me through the whole journey: I have finally found the culprit and the solution. After doing a quick google search (again) I stumbled upon this post This caught my eye but led me in a strange direction. I am not great with managing zfs and I already stumbled because of step 1. Thus, I consulted the discord channel where I got into a dialogue with @jcofer555 (thanks again) reiterating my problem. And at some point mentioning that maybe it could be zfs. I also finally found out what the bash process is: it's the terminal! So, killing it, just closes the terminal Now, experimenting with zfs commands I did the following: root@Ymir:/mnt/user/data# zfs list -r NAME USED AVAIL REFER MOUNTPOINT disk1 9.07T 7.16T 112K /mnt/disk1 disk1/.Trash-99 96K 7.16T 96K /mnt/disk1/.Trash-99 disk1/data 9.07T 7.16T 9.07T /mnt/disk1/data disk1/data/Download 96K 7.16T 96K /mnt/disk1/data/Download disk1/isos 96K 7.16T 96K /mnt/disk1/isos disk1/other 2.18G 7.16T 2.18G /mnt/disk1/other disk2 9.06T 7.17T 96K /mnt/disk2 disk2/data 8.75T 7.17T 8.75T /mnt/disk2/data disk2/data/Download 120K 7.17T 120K /mnt/disk2/data/Download disk2/other 317G 7.17T 317G /mnt/disk2/other disk3 8.86T 7.37T 104K /mnt/disk3 disk3/data 8.67T 7.37T 8.67T /mnt/disk3/data disk3/other 196G 7.37T 196G /mnt/disk3/other disk4 1.75T 14.5T 112K /mnt/disk4 disk4/data 1.72T 14.5T 1.72T /mnt/disk4/data disk4/other 24.5G 14.5T 24.5G /mnt/disk4/other disk5 2.66M 5.33T 96K /mnt/disk5 Combining this with the above post, I just tried to do a zfs destroy -r disk1/data/Download Which removed it from the list once. I did it again for disk 2. Now the list was empty. I went into the share and the folder was finally GONE.
  2. It is still May 8th. This is curious...
  3. After many moons: still the same issue with this. Can @trurlor @itimpi maybe help with this?
  4. @Frank1940sorry for the late reply. I booted into Safe Mode and tried deleting it in the console, to no avail. Still the same "Device or resource busy" message. I disconnected the drive connection from windows and tried again, still the same result.
  5. Yeah it is kind of strange with the whole bash --login command. Thanks for pinging the fellows and thanks for offering your help Much appreciated
  6. root@Ymir:~# ls -al /mnt/user/data total 86766 drwxrwxrwx 1 nobody users 5 May 10 11:42 ./ drwxrwxrwx 1 nobody users 5 May 9 09:33 ../ drwxrwxrwx 1 nobody users 2 May 8 17:29 Download/ -rwxrw-rw- 1 dmk0 users 88660562 May 10 13:33 Everything.db* drwxrwxrwx 1 nobody users 6 May 9 22:46 downloads/ drwxrwxrwx 1 nobody users 5 May 4 16:42 media/ And root@Ymir:~# ls -al /mnt/user/data/Download total 26 drwxrwxrwx 1 nobody users 2 May 8 17:29 ./ drwxrwxrwx 1 nobody users 5 May 10 11:42 ../ I don't know the parameters as well, but as far as I can see, /data/Download doesn't have any different permissions than the other ones. Do you have an idea how the bash --login is part of this whole thing? That is the command that I discovered to be behind the PID keeping /data/Download busy thus making it undeletable. EDIT: Everything.db is an indexing file created by my Search Everything application on my windows PC to index the drives and making file discovery easier.
  7. Thanks for the reply radarr and sonarr are under /data/downloads (downloads with lowercase d is my new directory that I created because the uppercase Download gave me some issues). /data/Download (uppercase D) is already completely empty and nothing is in there anymore (either been moved or deleted). I tried it with this suggestion, yesterday when I also rebooted the whole server and looked at some start-up scripts. Docker was not running and I also doublechecked in every docker container config that nothing is using the old path. I am just confused as hell why I can't seem to delete that directory, i.e., what process is using this (and from where).
  8. It's me again with another topic that really wrecks my brain. I created a - let us say - faulty directory in my first round of setting up my media server. Now I have a directory, I don't need and want anymore: ├── data │ ├── Download │ ├── downloads │ │ ├── radarr │ │ ├── sonarr │ └── media │ ├── anime │ │ ├── movies │ │ ├── renamed anime │ │ └── series │ ├── movies │ └── tv This is my share setup for /data. The folder I don't need anymore is the /Download folder. I've already spent a considerable amount of time to debug this, but to no avail. When trying to rm -rf /mnt/user/data/Download I get the error: rm: cannot remove '/mnt/user/data/Download': Device or resource busy So, I do what everyone would do and do a "ps" in the directory with the result: PID TTY TIME CMD 17207 pts/0 00:00:00 bash 18864 pts/0 00:00:00 ps After doing a ps -ef I get the following results for the first PID: UID PID PPID C STIME TTY TIME CMD root 17063 1 0 12:20 ? 00:00:00 /usr/bin/ttyd -d0 -t disableLeaveAlert true -t theme {'background':'black'} -t fontSize 15 -t font root 17103 2 0 12:23 ? 00:00:00 [metaslab_group_] root 17204 2 0 12:23 ? 00:00:00 [metaslab_group_] root 17205 2 0 12:23 ? 00:00:00 [metaslab_group_] root 17206 2 0 12:23 ? 00:00:00 [metaslab_group_] root 17207 17063 0 12:20 pts/0 00:00:00 bash --login I can't kill PID 17207. After consulting a friend of mine, he said it could be a startup script for the server as the CMD is "bash --login" so I restarted the server (just for good measure) and left the disks unmounted. I searched far and wide for the /Download path - as my friend suggested - but couldn't find anything of substance - esp. no shell scripts that would do anything with the path. Any idea what I have done and how I can fix this? I just want to delete that directory, as I don't need it anymore. I've already tried everything with the permissions, to no avail. Currently running on Version: 6.12.0-rc4 with ZFS as file system. ymir-diagnostics-20230510-1214.zip EDIT: I found another command: root@Ymir:/mnt/user/data/Download# df -h /mnt/user/data/Download Filesystem Size Used Avail Use% Mounted on shfs 51T 640K 51T 1% /mnt/user When I try to unmount the Download directory with "unmount /mnt/user/data/Download" it just says bash: unmount: command not found.
  9. That absolutely did the trick, thank you! Do you maybe have any documentation material for me to read through this stuff? I am not clear on the whole "nested datasets" stuff and why this happened.
  10. I hope I did it right: root@Ymir:/# zfs list NAME USED AVAIL REFER MOUNTPOINT disk1 8.14T 8.10T 104K /mnt/disk1 disk1/Media 8.14T 8.10T 7.95T /mnt/disk1/Media disk1/Media/Download 195G 8.10T 195G /mnt/disk1/Media/Download disk1/isos 96K 8.10T 96K /mnt/disk1/isos disk2 6.98T 9.25T 112K /mnt/disk2 disk2/Download 96K 9.25T 96K /mnt/disk2/Download disk2/Media 6.98T 9.25T 321G /mnt/disk2/Media disk2/Media/Download 6.67T 9.25T 6.67T /mnt/disk2/Media/Download disk3 2.02M 16.2T 96K /mnt/disk3 disk4 1.03M 16.2T 96K /mnt/disk4 disk5 1.08M 5.33T 96K /mnt/disk5
  11. I've updated to 6.12.0-rc4 and after the reboot was done I noticed files not showing up in my shares, but they should theoretically be there, as I still see them filling up the drives (i.e., the missing files should be about 14TB of data and I see it occupied, so...) I have tried the permissions fix that worked for a few, but it's not working for me. Any help is appreciated ymir-diagnostics-20230428-0941.zip
  12. @coxifred thanks for the response, I sadly found out that it is about AllDebrid not using CNL functionality. I appreciate your offer, though
  13. Ich verwende Alldebrid und kann auf meinem eigenen PC einfach auf das "external download" klicken, der LinkGrabber von JD erkennt das und packt das sofort auf die Liste, finde das sehr angenehm, muss ich sagen. Wuerde also auch gerne diese CNL Funktionalitaet nun an die Container JD Variante schicken, damit der Server einfach laufen und runterladen kann. Ich hab einige Sachen nun online gefunden wie man es machen koennte, aber nichts davon hat funktioniert oder sind so stellenweise Anmerkungen, die mir nicht wirklich weiterhelfen. Danke dir fuer den DLC Vorschlag. Hast du eine Idee wie man meine Vorstellung eventuell umsetzen kann?
  14. @JoergHH hast du hier eine Loesung gefunden? Ich habe gerade naemlich aehnliche Probleme.
  15. Hi all, I've already posted on various forums, but I would love to get a few opinions I am very much new to the landscape of servers and networking, I only have 2 little prebuilt WD NAS (WD My Cloud Home with 6TB and Expert EX2 Ultra with 12TB) which I am currently using exclusively as media storage - the EX2 Ultra is in Raid 0, no comment . I've recently started freelancing and that's how I have the money and time to start some overdue projects that I always wanted to dabble in. Sadly, I am totally over-stimulated by all the different opinions and reviews on the internet regarding NAS/server hardware. There are many projects that I've always wanted to start learning with, so I am a noob in regards to most of the stuff that I want to accomplish with this project. My use cases for the DIY nas/home server build: Working with Docker as of yet, I still don't understand all the capabilities of this mysterious thing; that's why I want to learn how to utilise this Hosting my own website I've also started to learn a bit of basic web dev (frontend and backend - I don't really want to call it fullstack, as I am a total noob) Self-hosting Vaultwarden (or Bitwarden) for all my devices e.g. my phone when I'm on the move Media storage Sonarr and other stuff Transcoding - I'm an avid anime watcher which means unusual codecs being used I got an Apple 4K TV with Infuse Pro as media library/player for my TV I also have many handheld devices that I want to stream onto A way to stream on the go from my home may also be a future usecase, so setting up VPN and all that needs to be done for this. Also, maybe some virtualization "room" for a friend of mine who likes to dabble. Sadly, I don't live in a house or big appartment - this also won't change in the coming years - I am not looking for a server rack or something big. The best format would be Mini ITX, but as the hardware costs for that stuff are so high, mATX would also be awesome. My part list currently is: PCPartPicker Part List CPU: Intel Core i3-12100 3.3 GHz Quad-Core Processor (€139.99 @ ARLT) Motherboard: MSI MAG B660M MORTAR DDR4 Micro ATX LGA1700 Motherboard (€153.39 @ Computeruniverse) Memory: G.Skill Aegis 32 GB (2 x 16 GB) DDR4-3200 CL16 Memory (€72.90 @ Amazon Deutschland) Storage: Samsung 980 1 TB M.2-2280 PCIe 3.0 X4 NVME Solid State Drive (€63.90 @ Alza) Storage: Samsung 980 1 TB M.2-2280 PCIe 3.0 X4 NVME Solid State Drive (€63.90 @ Alza) Case: Fractal Design Node 804 MicroATX Mid Tower Case (€111.10 @ Amazon Deutschland) Power Supply: be quiet! Straight Power 11 550 W 80+ Platinum Certified Fully Modular ATX Power Supply (€119.00 @ Amazon Deutschland) Custom: 6x 18TB Toshiba MG09 (€1620.00) Total: €2344.18 Prices include shipping, taxes, and discounts when available Generated by PCPartPicker 2023-03-25 17:41 CET+0100 So, my rationale behind the SSDs is the cache pool for unraid. I think that even 2x1TB is a bit of an overkill, but hey...The costs of those things is really low, tbh. My current concerns: I've came to this list after posting on another forum asking for a few suggestions in regards to my usecase(s) and the main concern was the CPU being too low in performance - core wise - to support docker stuff. I was suggested to go with an AMD build (e.g. Ryzen 5 5600G with the ASRock B550M mATX). My concern here is the transcoding stuff, as I would like to do hardware transcoding, not software transcoding. I am now also looking towards the i5 13500 or the i5 12600. Also, in regards to the virtualization topic for a friend of mine, I am not sure if that is something that can be done with unraid as OS or if I have to go the proxmox route. Any ideas? Your thoughts and opinions are very much appreciated! Edit: I chose the i5 13500 in my current setup for the cores. Thoughts?
×
×
  • Create New...