peregus

joined 2 years ago
[โ€“] peregus@lemmy.ml 2 points 1 week ago

Sorry, I've missed all the notifications. Thanks a lot, I'll have a look straight away!

 

Hi all! I've moved Nextcloud and Immich data folders from local to a NFS folder. Everything is fine except when snapraid runs on the NFS server. Structure:

  • Proxmox host that also act as a NFS server
  • NFS exported folders are in a MergerFS folder (BRTFS) that are part of snapraid (2 data drives and 1 parity drives)
  • A Proxmox VM with all the Docker containers
  • Inside the VM I've mounted the NFS shares that are always available (even after the backup)

In the containers the folders are bind mounted like this /mnt/nfs/nextcloud/data:/var/www/html/data After the backup the NFS share are still available in the VM, but if I enter the container I get:

root@nextcloud-app:/var/www/html# ls -latr data
ls: cannot access 'data': Stale file handle

The NFS are mounted like this:

172.5.0.5:/mnt/pool/@nextcloud /mnt/nfs/nextcloud nfs vers=4,rw,hard,intr,timeo=600,retrans=10,_netdev,nofail,x-systemd.requires=network-online.target 0 0

How can I solve this problem?

[โ€“] peregus@lemmy.ml 1 points 2 years ago

Clover Bootloader

Cool, I've never hear about it, I'll test it first thing on Monday, thanks!

 

Hi all, I've installed Debian in 2 (mdadm RAID 1 formtted with Btrfs) NVMe drives installed into 2 PCIe adapters. The motherboard doesn't support booting from those drives, so I've installed Debian into a USB stick (and it works) and I wanted to add into grub the RAID NVMe drives.

os-prober doesn't see the other Debian installation. fdisk -l shows the 2 nvme drives, but it doesn't see md0:

Disk /dev/nvme0n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLQ256HBJD-00BH1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 131072 bytes
Disklabel type: dos
Disk identifier: 0xab581c58

Device         Boot Start       End   Sectors   Size Id Type
/dev/nvme0n1p1       2048 500118191 500116144 238.5G fd Linux raid autodetect


Disk /dev/nvme1n1: 238.47 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLQ256HBJD-00BH1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 131072 bytes
Disklabel type: dos
Disk identifier: 0x863fc92a

Device         Boot Start       End   Sectors   Size Id Type
/dev/nvme1n1p1       2048 500118191 500116144 238.5G fd Linux raid autodetect


Disk /dev/sda: 14.32 GiB, 15376000000 bytes, 30031250 sectors
Disk model: Ultra Fit
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1d46a293

Device     Boot    Start      End  Sectors  Size Id Type
/dev/sda1  *        2048 28028927 28026880 13.4G 83 Linux
/dev/sda2       28030974 30029823  1998850  976M  5 Extended
/dev/sda5       28030976 30029823  1998848  976M 82 Linux swap / Solaris

mdadm --detail --scan doesn't output anything. How do I solve this problem?