Nicolas: My flash drive uses BTRFS and I am comfortable with your instructions with one exception. What does "update /etc/default/grub" mean? Currently, I am waiting for a scrub to verify that all is in good order before fixing the problem. On 4/19/16, Nicholas D Steeves <nsteeves@xxxxxxxxx> wrote: > On 18 April 2016 at 01:22, David Alcorn <nroclaed@xxxxxxxxx> wrote: >> The goal is to install to a subvolume on the array >> without disturbing date on other array subvolumes. >> >> I erred and shutdown my NAS during a balance. Grub lost track of my >> root. Root was on RAID 6 array subvolid 257. I can boot a different >> root from a USB flash drive but neither update-grub not install-grub >> sees my old root on array subvolid 257. I am happy to either recover >> or lose array subvolid 257 but do not want to lose data on other array >> subvol's. I prefer to have my root on the array rather than a flash >> drive. The balance completed successfully after I booted from the >> flash drive. > > Is your flash drive formatted btrfs? If it is, you could always > snapshot it, send the snapshot to your array, set property of that > subvolume to RW, chroot, update fstab to mount / with the appropriate > subvol=option, update /etc/default/grub, reinstall grub and > update-grub, and reboot with your / as a subvolume on your array. I'm > in the process of documenting how to do this on the Debian wiki. > Please let me know if I should put a rush on it. It uses the subvol= > option rather than changing the volume's default subvol. > > Cheers, > Nicholas > -- 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
