Is it safe to use do something like this: # btrfs filesystem resize 100m /mnt/something && lvreduce -f -L100M /dev/somevg/somelv as in, when the first command exits with 0 status, is the filesystem already resized? I mean, it's 100% sure the FS driver will not touch any blocks beyond the requested size after the resize successfully returned? I guess the utility just signals some ioctl to the mounted filesystem, but I wonder if the ioctl only returns successfully when it finished the task. Sorry if this is a noise, I didn't find anything about this in the user documentation, and it is not obvious for me. I read somewhere, the FS driver does not check for missing blocks at the end of the device during mount (eg, when the device is smaller than the reported size in the superblock), and will simply throw io errors when tries to access those blocks. This made me ask the question above. -- 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
