Re: [ceph-users] Rezising an online mounted ext4 on a rbd - failed
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 on behalf of Götz Reinicke Sent: Saturday, January 26, 2019 8:10 AM To: Ceph Users Subject: Re: [ceph-users] Rezising an online mounted ext4 on a rbd - failed Am 26.01.2019 um 14:16 schrieb Kevin Olbrich mailto:k...@sv01.de>>: Am Sa., 26. Jan. 2019 um 13:43 Uhr schrieb Götz Reinicke mailto:goetz.reini...@filmakademie.de>>: 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@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] Rezising an online mounted ext4 on a rbd - failed
> Am 26.01.2019 um 14:16 schrieb Kevin Olbrich : > > Am Sa., 26. Jan. 2019 um 13:43 Uhr schrieb Götz Reinicke > : >> >> 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 smime.p7s Description: S/MIME cryptographic signature ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] Rezising an online mounted ext4 on a rbd - failed
Am Sa., 26. Jan. 2019 um 13:43 Uhr schrieb Götz Reinicke : > > 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. > ___ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] Rezising an online mounted ext4 on a rbd - failed
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 smime.p7s Description: S/MIME cryptographic signature ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com