Re: question on rbd resize

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

 



hi Jason

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

thanks


13605702596@xxxxxxx
 
From: Jason Dillaman
Date: 2018-01-03 20:57
To: 13605702596@xxxxxxx
CC: ceph-users
Subject: Re: question on rbd resize
You need to resize the filesystem within the RBD block device.
 
On Wed, Jan 3, 2018 at 7:37 AM, 13605702596@xxxxxxx <13605702596@xxxxxxx> 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
>
> ________________________________
> 13605702596@xxxxxxx
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
 
 
 
--
Jason
_______________________________________________
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