On Mon, 2008-12-29 at 20:35 +0800, Yan Zheng wrote: > 2008/12/29 Roland <devz...@web.de>: > >>> so i can do btrfs-vol -r /dev/sdb while it`s being mounted, pull the disk > >>> , > >>> replace it with a bigger one, rescan-scsi-bus, mkfs.btrfs the new disk > >>> and > >> > >> ~~~~~~~~~~~~~~~~~~~~~~~ > >> This step will fail, you > >> will > >> get a "/dev/sdb is mounted" by mkfs.btrfs, but for other slots it's ok. > > > > isn`t this sort of a design issue then? > > no way to work around this ? > > > > No, this is a (easy to fix) bug.
Right, the check for a mounted FS came after we made the device add/removal work ;) mkfs.btrfs should be changed to do the mounted FS check differently. -chris -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html