Closed knitin closed 11 years ago
OS: CentOS Linux release 6.0 (Final) 32 bit
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 6.0 (Final)
Kernel: 3.7.10
[root@localhost ~]# uname -r
3.7.10
Steps:
When trying to create cache, I am getting following error
[root@localhost ~]# eio_cli create -d /dev/sdc -s /dev/sdb -p fifo -m wt -b 4096 -c CACHE
Traceback (most recent call last):
File "/sbin/eio_cli", line 457, in
main()
File "/sbin/eio_cli", line 390, in main
cache.create()
File "/sbin/eio_cli", line 271, in create
src_sz.get_device_size_info(self.src_name)
File "/sbin/eio_cli", line 327, in get_device_size_info
buf = ioctl(fd, IOC_BLKGETSIZE64, buf)
IOError: [Errno 22] Invalid argument
Fixed in the commit 1d99161530758a601c084f64743dc26a742508e9
OS: CentOS Linux release 6.0 (Final) 32 bit
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 6.0 (Final)
Kernel: 3.7.10
[root@localhost ~]# uname -r
3.7.10
Steps:
When trying to create cache, I am getting following error
[root@localhost ~]# eio_cli create -d /dev/sdc -s /dev/sdb -p fifo -m wt -b 4096 -c CACHE
Traceback (most recent call last):
File "/sbin/eio_cli", line 457, in
File "/sbin/eio_cli", line 390, in main
File "/sbin/eio_cli", line 271, in create
File "/sbin/eio_cli", line 327, in get_device_size_info
IOError: [Errno 22] Invalid argument