Re: How btrfs resize should work ?

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

 



On Fri, Aug 16, 2013 at 02:11:23PM -0600, Chris Murphy wrote:
> 
> On Aug 16, 2013, at 12:02 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> 
> > When a Btrfs multiple device volume is shrunk resized, it directly affects the partition size…
> 
> Oops, this obviously happens with single or multiple device.
> 
> I also think the command needs to return some information about
> exactly where the end of the file system is, maybe in file system
> blocks? resize2fs states the number of fs blocks in the fs, after a
> resize. From that I can figure out the exact ending LBA needed when
> changing the partition table. Btrfs leaves me totally guessing what
> this value should be.

It should be possible to obtain the information from the device tree via
the SEARCH_TREE ioctl.
--
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