Re: moving btrfs subvolumes to new disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 19, 2016 at 4:58 PM, Ryan Erato <rerato@xxxxxxxxx> wrote:
> I'm having quite the time trying to move my current Gentoo install to
> an SSD. I first attempted Clonezilla, but that failed while cloning
> the btrfs partition. I then realized I could use btrfs send/receive.
>
> The partition has 2 subvolumes ROOT and ROOT/home. ROOT snapshots and
> sends without hitch, but /home consistently errors at the same point
> (from -vv output on btrfs send). btrfs send returns -2, no such file
> or directory, unexpected EOF in stream.

What's the exact command you're using for btrfs send receive for ROOT and home?


>
> # cat /etc/fstab
> /dev/sda4 /boot vfat noauto,noatime 1 2
> /dev/sda6 / btrfs defaults,noatime,compress=lzo,autodefrag,subvol=ROOT 0 0
> /dev/sda5 none swap sw 0 0
>
> # btrfs su l /
> ID 257 gen 745235 top level 5 path ROOT
> ID 258 gen 745235 top level 257 path home
> ID 498 gen 744743 top level 5 path ROOT.snap
> ID 501 gen 745043 top level 258 path home/home.snap

Nested subvolumes makes this more complicated in my opinion. You might
have better luck mounting subvolid=5 to /mnt and using a fully
qualified pathname for send.



-- 
Chris Murphy
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux