Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

[Azure on Freebsd] Error while doing 'dd' on cd drive connected to VM

$
0
0

Hi,

I created customized Freebsd VHD with Azure Agent installed (with all required steps mentioned in blog: http://azure.microsoft.com/blog/2014/05/22/running-freebsd-in-azure/).

Now when I create a VM using the prepared VHD (with option Images present on Azure portal). I am facing below two problems:

1) For that VM, Azure Portal is showing status "Running(Provisioning Timed out)"

2) When I try to do 'dd' on cd drive it is throwing error "Device not configured".

 >> dmesg detects cd drive 

----

cd0 at ata1 bus 0 scbus0 target 0 lun 0
cd0: <Msft Virtual CD/ROM 1.0> Removable CD-ROM SCSI-5 device
cd0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes)
cd0: cd present [1568 x 2048 byte records]

---

dmesg also shows error:

g_vfs_done():cd0[READ(offset=32768, length=2048)]error = 6
g_vfs_done():cd0[READ(offset=65536, length=8192)]error = 6

>> when I execute below command with root privilages

    dd bs=2048 count=33 skip=295 if='/dev/cd0' of='/var/ovf-env.xml'

I am getting below error

----

dd: /dev/cd0: Device not configured
0+0 records in
0+0 records out
0 bytes transferred in 0.000136 secs (0 bytes/sec)
---

Can you please help me in this regard?

Thanks,

Akshay


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>