Jump to content











Photo
- - - - -

DevIO read only?


  • Please log in to reply
2 replies to this topic

#1 valhaal1

valhaal1
  • Members
  • 1 posts
  •  
    Ukraine

Posted 30 September 2018 - 01:08 AM

Greetings.

 

I have a remote Ubuntu server and I'd like to create a virtual disk image there and use it with IMDISK on a windows machine.

For that I tried using DEVIO. I created an empty file, created a partition inside it (with fdisk), then formatted it into ntfs (with mkfs). Then I start DEVIO

/devio_Linux_i686 -r 666 /dev/image1.img

Successfully opened 'image1.img'.
Image size used: 268435456 bytes.
No master boot record detected. Using entire image.
Total size: 268435456 bytes. Using 268435456 bytes from offset 0.
Required alignment: 1 bytes.
Buffer size: 2097152 bytes.
Waiting for connection on port 666. Press Ctrl+C to cancel.

Then I run IMDISK on Windows machine

C:\Windows\system32>imdisk -a -t proxy -o ip -f xx.xx.xx.xx:666 -m Z: -b 264192 -s 134217728

Creating device...
Created device 6: Z: -> 94.177.224.72:666
Notifying applications...
Done.

But the drive, created by IMDISK is unformatted. And I cannot format it from Windows machine, because

Cannot format.  This volume is write protected.
Format failed.

Where am I wrong? Should I create better image file with some specific tool?

Thank you for your help.


Edited by valhaal1, 30 September 2018 - 01:09 AM.


#2 Olof Lagerkvist

Olof Lagerkvist

    Gold Member

  • Developer
  • 1448 posts
  • Location:Borås, Sweden
  •  
    Sweden

Posted 30 September 2018 - 07:17 AM

Hi. The -r switch you use at devio command line means read-only. Just remove that and it should become writable.


  • Brito likes this

#3 Olof Lagerkvist

Olof Lagerkvist

    Gold Member

  • Developer
  • 1448 posts
  • Location:Borås, Sweden
  •  
    Sweden

Posted 01 October 2018 - 01:28 PM

Also, after a closer look, you could also omit the -b 264192 and -s 134217728 switches. Your image does not need an offset, particularly if you have formatted it from start offset and the size will be automatically calculated from what devio end reports to ImDisk.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users