Giter Club home page Giter Club logo

Comments (7)

akiradeveloper avatar akiradeveloper commented on June 16, 2024

@tchwpkgorg

Thanks for reporting. I will ask you some questions on behave of @kazuhisya .

  1. What is your OS? Please give me uname -a
  2. Is /dev/sda5 is normal HDD? Please give me blockdev --getsz /dev/sda5
  3. The caching device looks NVMe device. Please give me blockdev --getsz /dev/nvme0n1?

from dm-writeboost-rpm.

kazuhisya avatar kazuhisya commented on June 16, 2024

@tchwpkgorg
Hi, Thank you for the report.

Could you please give me the following results and results of @akiradeveloper 's question?

  1. rpm -qa | grep kernel | sort
  2. rpm -qa | grep write | sort

from dm-writeboost-rpm.

akiradeveloper avatar akiradeveloper commented on June 16, 2024

and the result of lsblk would help too.

from dm-writeboost-rpm.

tchwpkgorg avatar tchwpkgorg commented on June 16, 2024

Here is is. The system in OpenVZ 7, based on CentOS/RHEL.

/dev/sda5 is part of a hardware RAID (adaptec).

# uname -a
Linux sogo 3.10.0-327.36.1.vz7.20.18 #1 SMP Tue Dec 20 13:52:43 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux

# blockdev --getsz /dev/sda5
15504236544

# blockdev --getsz /dev/nvme0n1
781422768

# rpm -qa | grep kernel | sort
abrt-addon-kerneloops-2.1.11-36.vl7.1.x86_64
kernel-tools-3.10.0-514.2.2.vl7.x86_64
kernel-tools-libs-3.10.0-514.2.2.vl7.x86_64
readykernel-7-22.vl7.noarch
readykernel-scan-0.7-1.vl7.noarch
vzkernel-3.10.0-327.36.1.vz7.20.18.x86_64
vzkernel-debug-devel-3.10.0-327.36.1.vz7.20.18.x86_64
vzkernel-devel-3.10.0-327.36.1.vz7.20.18.x86_64
vzkernel-headers-3.10.0-327.36.1.vz7.20.18.x86_64

# rpm -qa | grep write | sort
dm-writeboost-dkms-2.2.6-1dkms.el7.centos.noarch
dm-writeboost-tools-1.0.0-1.git90fd362.el7.centos.x86_64
writeboost-1.20160718-1.git37dc927.el7.centos.noarch

# lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda       8:0    1   7.3T  0 disk
├─sda1    8:1    1     1M  0 part
├─sda2    8:2    1  1023M  0 part /boot
├─sda3    8:3    1    32G  0 part [SWAP]
├─sda4    8:4    1    24G  0 part /
└─sda5    8:5    1   7.2T  0 part
  └─vz  252:0    0   7.2T  0 dm   /vz
nvme0n1 259:0    0 372.6G  0 disk
└─vz    252:0    0   7.2T  0 dm   /vz

I was able to create the device with writeboost from here: https://gitlab.com/onlyjob/writeboost (it's a simple shell script).

from dm-writeboost-rpm.

akiradeveloper avatar akiradeveloper commented on June 16, 2024

@tchwpkgorg Thanks. I see. As the error message tells parsing the size of sda5 failed because the result type is i32, which only covers up to 1TB. It's a simple bug.

I will fix the program later. Thanks for reporting.

from dm-writeboost-rpm.

akiradeveloper avatar akiradeveloper commented on June 16, 2024

Another good finding is that dm-writeboost can work with nvme device. It's recognized as a normal block device.

from dm-writeboost-rpm.

kazuhisya avatar kazuhisya commented on June 16, 2024

Thank you for the details.

I will ship a new dm-writeboost-tools package when upstream is finished working.
btw, I have never tried the operation in the OpenVZ kernel with dm-writeboost. I will try later.

from dm-writeboost-rpm.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.