Re: Rezising an online mounted ext4 on a rbd - failed

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

 



Did you mkfs with -O 64bit or have it in the [defaults] section of /etc/mke2fs.conf before creating the filesystem? If you didn't 4TB is as big as it goes and can't be changed after the fact. If the device is already larger than 4TB when you create the filesystem, mkfs does the right then and silently enables 64bit.


man ext4



From: ceph-users <ceph-users-bounces@xxxxxxxxxxxxxx> on behalf of Götz Reinicke <goetz.reinicke@xxxxxxxxxxxxxxx>
Sent: Saturday, January 26, 2019 8:10 AM
To: Ceph Users
Subject: Re: Rezising an online mounted ext4 on a rbd - failed
 


Am 26.01.2019 um 14:16 schrieb Kevin Olbrich <ko@xxxxxxx>:

Am Sa., 26. Jan. 2019 um 13:43 Uhr schrieb Götz Reinicke
<goetz.reinicke@xxxxxxxxxxxxxxx>:

Hi,

I have a fileserver which mounted a 4TB rbd, which is ext4 formatted.

I grow that rbd and ext4 starting with an 2TB rbd that way:

rbd resize testpool/disk01--size 4194304

resize2fs /dev/rbd0

Today I wanted to extend that ext4 to 8 TB and did:

rbd resize testpool/disk01--size 8388608

resize2fs /dev/rbd0

=> which gives an error: The filesystem is already 1073741824 blocks. Nothing to do.


       I bet I missed something very simple. Any hint? Thanks and regards . Götz

Try "partprobe" to read device metrics again.

Did not change anything and did not give any output/log messages. 

/Götz


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux