Incompatible logical volume sector size (4096 > 512)!

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
tomf
Posts: 1
Joined: Sun Mar 26, 2023 10:02 pm

Sun Mar 26, 2023 10:13 pm

Hi!

I downloaded VSAN, and started playing around. I've an ESXi server with 3 NVMe disk attached which I passthrough to the VM Starwind OVF image. In the webconsole I created a raid 5 with those 3 discs (512KiB block size) and created a logical volume, and a VDO.
In the Starwind Management Console I want to add a device. But at the step "Creating device" it fails. In the log I see the problem: ImageFile_BuildInquiry: C:\StarWind\storage\mnt\disk1\Storage1\Storage1.img: Incompatible logical volume sector size (4096 > 512)!

Any idea what I should do?

Regards,
Tom

Here is the full log

Code: Select all

3/26 23:28:46.889272 3f IMG: ImageFile_CreateRawFile: File 'C:\StarWind\storage\mnt\disk1\Storage1\Storage1.img', size: 512000 MB, flags 0x240...^M
3/26 23:28:46.889685 3f IMG: *** ImageFile_CreateRawFile: GetVolumeInformation(C:\StarWind\storage\mnt\disk1\) failed (err 144)^M
3/26 23:28:46.890045 3f IMG: ImageFile_CreateRawFile: Using SetFileValidData...^M
3/26 23:28:46.890707 3f IMG: ImageFile_CreateRawFile: Zero out only the first and the last 1MB of the image.^M
3/26 23:28:46.890719 3f IMG: ImageFile_CreateRawFile: WARNING: This can damage security if the file image is exported directly to untrusted clients!^M
3/26 23:28:46.891699 3f IMG: ImageFile_CreateRawFile: Progress: 99.9% (511999 MB, elapsed 0 sec, remain ~0 sec)...^M
3/26 23:28:46.912365 3f IMG: ImageFile_CreateRawFile: File 'C:\StarWind\storage\mnt\disk1\Storage1\Storage1.img' created. Total elapsed time = 0 sec.^M
3/26 23:28:46.915817 3f Common: *** sw_common::Sw_Disk_Header::create: (file: C:\StarWind\storage\mnt\disk1\Storage1\Storage1.swdsk, cached: no).^M
3/26 23:28:46.915914 3f Common: *** sw_common::Sw_Disk_Header::create: creation parameters:
                - device name: (null);
                - plugin name: imagefile;
                - storage path: VSA Storage\mnt\disk1\Storage1\Storage1.img;
                - device LUN: 0;
                - device size: 512000;
                - storage offset: 0;
                - serial Id: (null);
                - EUI-64: (null);
                - vendor id: STARWIND;
                - product id: STARWIND        ;
                - revision level: 0001.
        L1 cache parameters:
                - mode: none;
                - size: 128;
                - flags: 0;
                - expiration time: 0;
                - high watermark: 0;
                - low watermark: 0.
        L2 cache parameters:
                - mode: (null);
                - storage: (null);
                - size: 0;
                - flags: 0;
                - expiration time: 0;
                - high watermark: 0;
                - low watermark: 0.^M
3/26 23:28:46.934184 3f Common: sw_common::Sw_Disk_Header::open: (file: C:\StarWind\storage\mnt\disk1\Storage1\Storage1.swdsk, readonly: no).^M
3/26 23:28:46.934813 3f Common: sw_common::Sw_Disk_Header::open: (file: C:\StarWind\storage\mnt\disk1\Storage1\Storage1.swdsk, readonly: no).^M
3/26 23:28:46.935360 2a SCSI: : parameter 'DeviceHeaderPath', value 'VSA Storage\mnt\disk1\Storage1\Storage1.swdsk'.^M
3/26 23:28:46.935401 2a IMG: SscPort_Create: Parsing parameters from control connection: ^M
3/26 23:28:46.935424 2a IMG: SscPort_Create: Header path parsed to 'C:\StarWind\storage\mnt\disk1\Storage1\Storage1.swdsk'.^M
3/26 23:28:46.935439 2a IMG: addParameter: Parameter processed (add): DeviceHeaderPathPhysical = "C:\StarWind\storage\mnt\disk1\Storage1\Storage1.swdsk"^M
3/26 23:28:46.935449 2a Common: sw_common::Sw_Disk_Header::open: (file: C:\StarWind\storage\mnt\disk1\Storage1\Storage1.swdsk, readonly: no).^M
3/26 23:28:46.935912 2a IMG: SscPort_Create: Parsing the Device Header File 'C:\StarWind\storage\mnt\disk1\Storage1\Storage1.swdsk':^M
3/26 23:28:46.936044 2a IMG: addParameter: Parameter processed (add): file = "VSA Storage\mnt\disk1\Storage1\Storage1.img"^M
3/26 23:28:46.936119 2a IMG: addParameter: Parameter processed (add): asyncmode = "yes"^M
3/26 23:28:46.936205 2a IMG: addParameter: Parameter processed (add): SerialId = "9CF4E058CF1BBC28"^M
3/26 23:28:46.936222 2a IMG: addParameter: Parameter processed (add): eui64 = "9CF4E058CF1BBC28"^M
3/26 23:28:46.936254 2a IMG: addParameter: Parameter processed (update): SerialId = "9CF4E058CF1BBC28" -> "9CF4E058CF1BBC28"^M
3/26 23:28:46.936264 2a IMG: addParameter: Parameter processed (update): eui64 = "9CF4E058CF1BBC28" -> "9CF4E058CF1BBC28"^M
3/26 23:28:46.936323 2a IMG: SscPort_Create: Opening device 'imagefile1', image file 'VSA Storage\mnt\disk1\Storage1\Storage1.img', buffering=0, async=1, readonly=0.^M
3/26 23:28:46.936369 2a debug: Swn_CreateFile: opening 'C:\StarWind\storage\mnt\disk1\Storage1\Storage1.img' -> '/opt/StarWind/StarWindVSA/dosdevices/c:/StarWind/storage/mnt/disk1/Storage1/Storage1.img' (flags 0x44002)...^M
3/26 23:28:46.936401 2a debug: Swn_GetFileSize: File size: 536870912000, Blocks: 1048576008, blksize: 4096 bytes^M
3/26 23:28:46.936556 2a debug: Swn_GetVolumeProperties: fd 99 - base dev 0xfd03 (/dev/dm-3)^M
3/26 23:28:46.936589 2a debug: Swn_GetVolumeProperties: fd 99 - block device (0xfd03): rotate 0, discard_zeroes 1, sect_sz 4096, blk_sz 4096, min_io_sz 4096^M
3/26 23:28:46.936600 2a IMG: *** ImageFile_BuildInquiry: C:\StarWind\storage\mnt\disk1\Storage1\Storage1.img: Incompatible logical volume sector size (4096 > 512)!
3/26 23:28:46.936613 2a func: >>> iScsiServer::sendNotification^M
3/26 23:28:46.936626 2a func: >>> CEventDataBase::AddRecord^M
3/26 23:28:46.936636 2a EventDB: CEventDataBase::AddRecord: Code 512, severity 3, additional strings: 1^M
3/26 23:28:46.936671 2a func: <<< CEventDataBase::AddRecord^M
3/26 23:28:46.936681 2a Srv: iScsiServer::sendNotification: Send reaction start (reaction type 2, msg code 512).^M
3/26 23:28:46.936696 2a Srv: iScsiServer::sendNotification: Send reaction finish.^M
3/26 23:28:46.936706 2a Srv: iScsiServer::sendNotification: Send reaction start (reaction type 1, msg code 512).^M
3/26 23:28:46.936953 2a Srv: iScsiServer::sendNotification: Send reaction finish.^M
3/26 23:28:46.936967 2a func: <<< iScsiServer::sendNotification^M
3/26 23:28:46.936978 2a func: >>> sw_common::scheduler::TaskScheduler::stop^M
3/26 23:28:46.936988 2a Common: sw_common::scheduler::TaskScheduler::stop: stopping manager thread...^M
3/26 23:28:46.937025 2a debug: *** panicMiniDumpFilter: Unhandled exception: C0000005^M
3/26 23:28:46.937043 2a debug: *** SaveCrashDump: The program encountered a serious error and may be closed. Crash dump will be created.^M
Please, save the log file and the crash dump and report the problem to support@starwindsoftware.com^M
...
yaroslav (staff)
Staff
Posts: 2361
Joined: Mon Nov 18, 2019 11:11 am

Mon Mar 27, 2023 3:25 am

Hi,

Please make sure to follow the recommendations outlined here https://www.starwindsoftware.com/resour ... iguration/.
Also, please make sure to create a device with 512b sector size rather than 4k. If you are using StarWind VSAN Trial, please consider contacting support@starwind.com
Post Reply