Skip to contentSkip to conversation

Finding the objid of a subvolume on an unmounted filesystem

DISCUSSION Cesar Strauss 1 participant 1 message May 1, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hello,

I would like to" btrfs restore" a broken btrfs filesystem before I attempt to recover it. However, I only need to recover a subvolume inside of it. It seems the -r option should do the job, but I do not know the objid number of the subvolume I want, only the path. Is there a way to know the objid of a subvolume given its path, without mounting the filesystem?

Thanks,

Cesar