hi Jason

the data won't be lost if i resize the filesystem in the image? 

thanks



[email protected]
 
From: Jason Dillaman
Date: 2018-01-03 20:57
To: [email protected]
CC: ceph-users
Subject: Re: [ceph-users] question on rbd resize
You need to resize the filesystem within the RBD block device.
 
On Wed, Jan 3, 2018 at 7:37 AM, [email protected] <[email protected]> wrote:
> hi
>
> a rbd image is out of space (old size is 1GB), so i resize it to 10GB
>
> # rbd info rbd/test
> rbd image 'test':
> size 10240 MB in 2560 objects
> order 22 (4096 kB objects)
> block_name_prefix: rbd_data.1169238e1f29
> format: 2
> features: layering
> flags:
>
> and then i remap and remount the image on the client, but the size of the
> image is still 1GB, and it is full !
> /dev/rbd0      1014M 1014M   20K 100% /mnt
>
> how i can resize the image without lost the data in the image?
>
> thanks
>
> ________________________________
> [email protected]
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
 
 
 
-- 
Jason
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to