Re: Rbd resize, refresh rescan

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

 



  
Yes, I think you are right, after I saw this in dmesg, I noticed with 
fdisk the block device was updated
 rbd21: detected capacity change from 5368709120 to 6442450944

Maybe this also works (found a something that refered to a /sys/class, 
which I don’t have) echo 1 > /sys/devices/rbd/21/refresh

(I am trying to online increase the size via kvm, virtio disk in win 
2016)


-----Original Message-----
From: David Turner [mailto:drakonstein@xxxxxxxxx] 
Sent: maandag 18 september 2017 22:42
To: Marc Roos; ceph-users
Subject: Re:  Rbd resize, refresh rescan

I've never needed to do anything other than extend the partition and/or 
filesystem when I increased the size of an RBD.  Particularly if I 
didn't partition the RBD I only needed to extend the filesystem.

Which method are you mapping/mounting the RBD?  Is it through a 
Hypervisor or just mapped to a server?  What are you seeing to indicate 
that the RBD isn't already reflecting the larger size?  Which version of 
Ceph are you using?

On Mon, Sep 18, 2017 at 4:31 PM Marc Roos <M.Roos@xxxxxxxxxxxxxxxxx> 
wrote:



	Is there something like this for scsi, to rescan the size of the 
rbd
	device and make it available? (while it is being used)
	
	echo 1 >  /sys/class/scsi_device/2\:0\:0\:0/device/rescan
	
	
	
	
	_______________________________________________
	ceph-users mailing list
	ceph-users@xxxxxxxxxxxxxx
	http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
	


_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux