Claudio Carbone
2012-Dec-16 13:42 UTC
unmountable partition and live distro (no space left)
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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Claudio Carbone
2012-Dec-16 16:16 UTC
Re: unmountable partition and live distro (no space left)
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 On 16/12/12 14:42, Claudio Carbone wrote:> 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 > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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.> 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. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Claudio Carbone
2012-Dec-16 23:21 UTC
Re: unmountable partition and live distro (no space left)
On 16/12/12 21:40, cwillu wrote:> 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.> >> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Claudio Carbone
2012-Dec-16 23:24 UTC
Re: unmountable partition and live distro (no space left)
On 17/12/12 00:21, Claudio Carbone wrote:> > Here is the btrfsck log > https://www.dropbox.com/s/pwmj2t9kvy6sqpc/btrfs_log.txtAnd here is the mount error dmesg tail https://www.dropbox.com/s/x7w552g6vkalrn7/btrfs_mount_log.txt Claudio -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html