Skip to contentSkip to conversation

unmountable partition and live distro (no space left)

DISCUSSION Claudio Carbone 2 participants 5 messages Dec 16, 2012 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hello all.

My system failed and I thought of trying btrfs.
After repartitioning and installing, nothing booted and my (btrfs formatted) home partition is unmountable (parent transid).
I discovered I can mount the partition with btrfs-restore but, since I'm running off of a live usb Ubuntu, mounting fails at some point due to lack of space. So is there a way I can mount the partition on a live distro to recover what is recoverable?

Thank you
Claudio

#1 lore raw

I'v been told this is missing relevant details.
The original kernel version was 3.2.0-something (standard Ubuntu 12.04 LTS). I've since upgraded to 3.7 but this has made no difference. Right now I don't have the dmesg, I'll post it later.

Currently I've been able to mount the partition with btrfs-restore and am trying to rsync it on another ext4 volume.

Claudio

Quoted 13 lines · Claudio Carbone

Hello all.

My system failed and I thought of trying btrfs.
After repartitioning and installing, nothing booted and my (btrfs formatted) home partition is unmountable (parent transid).
I discovered I can mount the partition with btrfs-restore but, since I'm running off of a live usb Ubuntu, mounting fails at some point due to lack of space. So is there a way I can mount the partition on a live distro to recover what is recoverable?

Thank you
Claudio

Signature · 3 lines
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw

Try booting with bootflags=ro,recovery in grub (with the latest possible kernel), or mounting with -o recovery from the livecd (likewise). If it works, then you're done, you should be able to boot normally after a clean umount and shutdown. If it doesn't, post dmesg from the attempt.

Quoted 7 lines

I'v been told this is missing relevant details.
The original kernel version was 3.2.0-something (standard Ubuntu 12.04 LTS). I've since upgraded to 3.7 but this has made no difference. Right now I don't have the dmesg, I'll post it later.

Currently I've been able to mount the partition with btrfs-restore and am trying to rsync it on another ext4 volume.

Terminology note: btrfs-restore doesn't "mount" anything, it just copies files directly from a device.

#3 lore raw
Quoted 5 lines · cwillu

Try booting with bootflags=ro,recovery in grub (with the latest possible kernel), or mounting with -o recovery from the livecd (likewise). If it works, then you're done, you should be able to boot normally after a clean umount and shutdown. If it doesn't, post dmesg from the attempt.

Already tried mounting with -o recovery to no avail.

Quoted 10 lines
Quoted 8 lines

I'v been told this is missing relevant details.
The original kernel version was 3.2.0-something (standard Ubuntu 12.04 LTS). I've since upgraded to 3.7 but this has made no difference. Right now I don't have the dmesg, I'll post it later.

Currently I've been able to mount the partition with btrfs-restore and am trying to rsync it on another ext4 volume.

Terminology note: btrfs-restore doesn't "mount" anything, it just copies files directly from a device.

I didn't know that at the time of writing.
Here is the btrfsck log
https://www.dropbox.com/s/pwmj2t9kvy6sqpc/btrfs_log.txt

Claudio