I have a xen guest machine running ubuntu 10.04 with a disk device marked as read only.
Now if while the xen guest is running I mark the device as read-write how can I tell the guest it can now write to it?
The obvious mount -o rw doesn't work it still says it's write protected. Restarting udev doesn't do anything, I also tried hdparm -r 0 /dev/xvdd then remounting which appears to work until the device is unmounted and remounted which then causes all written data to disappear.
Anyone know how to achieve this without rebooting the guest?