惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
月光博客
月光博客
IT之家
IT之家
B
Blog RSS Feed
T
Tailwind CSS Blog
The GitHub Blog
The GitHub Blog
博客园 - 三生石上(FineUI控件)
MyScale Blog
MyScale Blog
J
Java Code Geeks
Stack Overflow Blog
Stack Overflow Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - Franky
博客园 - 叶小钗
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
博客园_首页
B
Blog
V
V2EX
腾讯CDC
Vercel News
Vercel News
量子位
Microsoft Security Blog
Microsoft Security Blog

Proxmox Support Forum

[SOLVED] - Github Auth for Mirrors-Kernel Repo? [Automation] Mass migration tool for MS Win11/Server Proxmox GUI hang - not response is it possible to reject or quarantine spam based on conditions I set ? The PVENode task list in PVE9 is partially obscured due to the terminal font being too large. About 100% error reporting due to pveproxy.service hooks Kubernetes overlay networking breaks when upgrading from PVE 9.1 to PVE 9.2.3 Zentraler Speicher No space left on device Combine datastore and direct file archival to tape Kernel panic VFS: Unable to mount root fs on unknown-block (0,0) sobald ein 7.x Kernel verwendet wird. How to migrate disk of a VM from one ZFS to another Windows Server 2025 fails to boot after PVE 9.2 / Linux 7.0 Kernel upgrade Cannot Install Proxmox on T610 Poweredge with H700 PERC card sdn Config. gateway not reachable How to safely change domain/FQDN? Welche Filterquote erreicht ihr? NFS Share status unknown on 2 of 5 nodes Can't connect to PVE9 consoles [solved] Can't connect to PVE9 consoles [solved] [SOLVED] - Use secondary network for PVE commands Created cluster, one node storage gone BUG: proxmox mail gateway FROM = null bypass spam filtering Moving existing PBS from VMWare workstation to PVE cluster Does eBGP SDN fabric support external peering? Bug: PDM 1.1 not recognizing valid license status Proxmox GUI hang - not response PVE crashes unexpectedly Proxmox Backup Server 4.2 released! Advice
Thin LV cannot be activated (-ENODATA) despite valid meta...
invalid@exam · 2026-06-19 · via Proxmox Support Forum

Hi everyone,

I'm trying to recover data from a Nextcloud storage volume after an unexpected failure and I'm running out of ideas. The goal is data recovery only (mostly family photos). I don't care about restoring the container itself.

I found a few older threads with similar symptoms, but my case seems different because the thin metadata and the ext4 filesystem both appear to be intact.

Environment​

  • Proxmox VE 8.2.4
  • Kernel: 6.8.8-2-pve
  • LVM Thin Pool
  • One physical disk (8 TB)
  • LXC container with an additional mount:

mp2: nextcloud:vm-102-disk-0,mp=/8tbhdd<br>
The thin LV:

/dev/nextcloud/vm-102-disk-0<br>
is no longer activatable.


Error​

lvchange -ay nextcloud/vm-102-disk-0<br><br>device-mapper: reload ioctl failed: No data available<br>
Kernel log:

device-mapper: table: thin: Couldn't open thin internal device (-ENODATA)<br>


Current LVM status​

LV VG Attr<br>nextcloud nextcloud twi---tz--<br>vm-102-disk-0 nextcloud Vwi---tz--<br>
The pool itself exists, but the thin volume cannot be activated.


What I already verified​

1. thin_check​

thin_check /dev/mapper/nextcloud-nextcloud_tmeta<br>
Completes successfully:

examining superblock<br>examining devices tree<br>examining mapping tree<br>checking space map counts<br>
No errors.


2. thin_dump​

The metadata contains the thin device:

&lt;device dev_id="1" mapped_blocks="62120451"&gt;<br>
So Device ID 1 still exists.


3. thin_rmap​

thin_rmap --region 16387..16388 metadata.bin<br>
returns

data 16387..16388 -&gt; thin(1) 0..1<br>
The mappings appear valid.


4. ext4 filesystem​

I manually read the ext4 superblock from the mapped data blocks.

dumpe2fs reports:

  • valid ext4 filesystem
  • filesystem state: clean
  • journal present
  • valid UUID
  • valid group descriptors
  • last mounted: 2026-06-14
  • last write: 2026-06-15

So the filesystem itself appears to be intact.

I also manually verified the Group Descriptor Table via dd and the values look correct.


What does NOT work​

lvchange -ay nextcloud/vm-102-disk-0<br>
vgchange -ay nextcloud<br>
DMDE only detects the LVM physical volume but cannot automatically expose the ext4 filesystem because the thin device itself cannot be instantiated.


What I am trying to achieve​

I do not need the container.

I only want read-only access to the ext4 filesystem so I can copy the photos to another disk.


My question​

Has anyone seen a case where

  • thin_check succeeds,
  • thin_dump contains the thin device,
  • thin_rmap resolves mappings correctly,
  • the ext4 filesystem is readable,
  • but dm-thin still refuses to instantiate the thin device with

Couldn't open thin internal device (-ENODATA)<br>
Is there any way to

  • manually activate Device ID 1,
  • create a read-only thin device,
  • or reconstruct the thin LV from the existing metadata?

I'm happy to provide any additional information (thin_dump, thin_check, lvs, dmesg, dumpe2fs, dmsetup, etc.).

Any ideas would be greatly appreciated. Thanks!