From: Kefu Chai Date: Tue, 28 Nov 2017 06:42:31 +0000 (+0800) Subject: qa/ceph-disk: enlarge the simulated SCSI disk X-Git-Tag: v13.0.1~81^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19199%2Fhead;p=ceph.git qa/ceph-disk: enlarge the simulated SCSI disk 100MB will be allocated for journal, and the remaining 100MB is for data device. taking the inode into consideration, there will be approximately 87988 kB available for the activated OSD. and it will complain with a "nearfull" state. Fixes: http://tracker.ceph.com/issues/22136 Signed-off-by: Kefu Chai --- diff --git a/qa/workunits/ceph-disk/ceph-disk-test.py b/qa/workunits/ceph-disk/ceph-disk-test.py index 411cd77fe871d..d4a82c090a84f 100644 --- a/qa/workunits/ceph-disk/ceph-disk-test.py +++ b/qa/workunits/ceph-disk/ceph-disk-test.py @@ -112,7 +112,7 @@ class CephDisk: LOG.debug(self.unused_disks('sd.')) if self.unused_disks('sd.'): return - modprobe = "modprobe scsi_debug vpd_use_hostno=0 add_host=1 dev_size_mb=200 ; udevadm settle" + modprobe = "modprobe scsi_debug vpd_use_hostno=0 add_host=1 dev_size_mb=300 ; udevadm settle" try: self.sh(modprobe) except: