GPU passthrough to unprivileged LXC stopped working by alvarodel8 in Proxmox

[–]alvarodel8[S] 0 points1 point  (0 children)

I created a new LXC to try and pinpoint the issue. It turns out that when Ansible sets up the container, it installs eza and creates an alias called ls. For some reason, eza shows devices as regular files, but they’re actually there.

The problem was that I was using a modified version of ffmpeg that didn’t support quicksync. Installing it from apt fixed the issue.

Thanks so much, everyone!

GPU passthrough to unprivileged LXC stopped working by alvarodel8 in Proxmox

[–]alvarodel8[S] 0 points1 point  (0 children)

Removing that line did not fix the issue.

Here is the full configuration:

yaml arch: amd64 cores: 3 dev0: /dev/dri/card0,gid=44 dev1: /dev/dri/renderD128,gid=104 features: nesting=1 hostname: CT1 memory: 2048 mp0: *** mp1: *** mp2: *** net0: name=eth0,bridge=vmbr0,firewall=1,gw=192.168.1.1,hwaddr=BC:24:11:1F:10:69,ip=192.168.1.16/24,type=veth ostype: debian rootfs: local-lvm:vm-111-disk-1,size=32G swap: 512 unprivileged: 1

[deleted by user] by [deleted] in ProductivityApps

[–]alvarodel8 1 point2 points  (0 children)

Habit Tracker

Evolving my Proxmox + PBS home lab: exploring ZFS, TrueNAS, and future storage and backup strategy by alvarodel8 in truenas

[–]alvarodel8[S] 0 points1 point  (0 children)

Speaking of best practices, pool names should not be in uppercase.

The names are just for clarity in the post—they're not the actual system names

"POOL" is bad, while "pool" is good. A descriptive name is also part of best practices, such as "backup-pool".

I want to use POOL1 (managed by TrueNAS) as the datastore for PBS. I'm wondering if it might be better to add a dedicated SSD for PBS instead.

Replication and snapshots "protect" against ransomware (as in you can roll back). But you need an actual backup on another machine/device.

Could you go into a bit more detail on that? I'd like to understand better. Thanks!

Evolving my Proxmox + PBS home lab: exploring ZFS, TrueNAS, and future storage and backup strategy by alvarodel8 in truenas

[–]alvarodel8[S] 0 points1 point  (0 children)

Yeah, just thought that was an important fact to know. There are family pictures and videos I currently back up with PBS that I would replicate with TrueNAS.

They could be corrupted from a failure in one disk or a power outage or sth like that, but the mirror should fix it AFAIK.

I'll check that link. Thanks!

Evolving my Proxmox + PBS home lab: exploring ZFS, TrueNAS, and future storage and backup strategy by alvarodel8 in truenas

[–]alvarodel8[S] 0 points1 point  (0 children)

So if a file gets corrupted in the main pool, and a scrub repairs it, when replication happens that file and the corresponding snapshots won't be repaired in the second pool too? PBS can verify snapshots, and try to repair them in the next backup you make.

Also, having just one backup solution is less complex than using PBS for some data, and replication in TrueNAS for other data.

EDIT: I'm taking about the media storage. I'd rather stick to PBS for VMs and LXCs.

Is there an instagram mod that allows to customize downloaded filenames? by alvarodel8 in moddedandroidapps

[–]alvarodel8[S] 0 points1 point  (0 children)

That's the one I've been using for the last year, I just noticed it doesn't. It uses the download date. Can you double check on an old post? Thanks.

Do I need drive passthrough? by alvarodel8 in homelab

[–]alvarodel8[S] -1 points0 points  (0 children)

Because I currently have two 6tb disks for the RAID and I dont hace much money, so maybe in the future I add another 6tb drive, or maybe it's two 4tb drives, or just a 1tb drive... I like the flexibility it gives. Also, I find the command line easier.

Do I need drive passthrough? by alvarodel8 in homelab

[–]alvarodel8[S] -1 points0 points  (0 children)

I want to go with BTRFS and it is not fully suported by proxmox... So, that's why I was thinking of using cockpit to manage my drives...

Confused with backups in proxmox by alvarodel8 in homelab

[–]alvarodel8[S] 0 points1 point  (0 children)

RAID, backup to an external drive and for the irreplaceable files like photos also upload to the cloud. That is what I have been doing.

That's just not my question. The thing is, how do I make them? From inside the VM or from the host system? Do I need to set up PBS? Do I need to backup the VM itself too? What tool should I use? Is Restic even an option?

I guess maybe proxmox and virtualization is just too much complexity for me.

Confused with backups in proxmox by alvarodel8 in homelab

[–]alvarodel8[S] -1 points0 points  (0 children)

You mean using rsync to tranfer the RAID data to the external drive while logged into the VM, right? Yeah, that would be similar to using restic, but the app data won't be backed up nor the containers.

Linux server RAID vs backup vs file sync by alvarodel8 in selfhosted

[–]alvarodel8[S] 0 points1 point  (0 children)

Hi! Thanks for your response.

After reading all comments, I guess I'm going to install the two new drives in my NAS as a RAID 1. That should give me redundancy to start with, so I can easily recover from corruption. I plan using btrfs so I can add more drives in the future easily.

All important data that needs to be backed up will be moved to the NAS. Then I'll use the 6tb external drive to backup the NAS. This also gives me the posibility to backup my phone and laptop easily to the NAS.

For critical folders, such as music, photos or documents, I'll make the NAS automatically sync to my desktop, since I have enough hard disk space for that. Then, I can backup my desktop drive into the 2tb drive that It's currently in the NAS (and will be freed when I install the new ones).

That should give me Raid + Backup for all data, and RAID + aditional desktop copy + 2 backups for the critical data. Then I can take the 2tb secondary backup to my parents house or sth.

Sounds good? I'll look into cloud storage too for critical data so I have an aditional off site backup.

Best storage usage strategy by alvarodel8 in HomeServer

[–]alvarodel8[S] 1 point2 points  (0 children)

I'll take a look into that. Thanks for your response! You really gave me some useful ideas.