linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Resizing BTRFS - raw partition
@ 2016-11-02  8:58 Christian Völker
  2016-11-02  9:12 ` Hugo Mills
  0 siblings, 1 reply; 7+ messages in thread
From: Christian Völker @ 2016-11-02  8:58 UTC (permalink / raw)
  To: linux-btrfs

Hi all,

I am using btrfs as follows:
root@srv:/srv# btrfs filesystem show
Label: none  uuid: c8f24351-ddc4-4866-843c-4e95fcb498d4
        Total devices 2 FS bytes used 1005.37GB
        devid    2 size 1.00TB used 1023.98GB path /dev/sdc
        devid    1 size 1.46TB used 1.00TB path /dev/sdb

Btrfs Btrfs v0.19

It is running inside a virtual machines running on VMware ESXi. I
increased both virtual disks to 1.5TB now. I did a scsi-rescan and fdisk
-l tells me the new size:
Disk /dev/sdb: 1610.6 GB, 1610612736000 bytes
Disk /dev/sdc: 1610.6 GB, 1610612736000 bytes

There are no partitions created on the disks, just raw devices used for
BTRFS. I found several sites where they resized a btrfs filesystem based
on LVM and the new size was immediately recognized. But how to do on raw
partitions?

How do I tell btrfs the devices have been resized?
I did not find a rescan command. btrfs scan does not change anything. 
Do I really have to reboot?

Thanks!

Christian


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-11-02 11:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-02  8:58 Resizing BTRFS - raw partition Christian Völker
2016-11-02  9:12 ` Hugo Mills
2016-11-02  9:18   ` Christian Völker
2016-11-02  9:29     ` Hugo Mills
2016-11-02 10:14       ` Adam Borowski
2016-11-02 10:16         ` Christian Völker
2016-11-02 11:40     ` Austin S. Hemmelgarn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).