Displaying 4 results from an estimated 4 matches for "write_dev".
Did you mean:
write_adv
2013 Jan 19
9
pygrub/hvm boot with alternate script= for block devices
...arget=image=ubuntu-test'' ]
In the pygrub log:
OSError: [Errno 2] No such file or directory: ''image=ubuntu-test''
and there is a similar error trying an HVM boot.
My block-rbd script parses the value passed after target= to
dynamically rbd map the image and then call the write_dev function from
block-common.sh to save the corresponding /dev name in xenstore.
According to the logging that I have in my block-rbd script this isn''t
even called before pygrub is executed.
Is there a good reason that the block devices aren''t connected before
pygrub is called so t...
2011 May 31
3
Hotplug scripts not working
...hotplug-status.
> [2011-05-31 14:28:41 1894] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/55/51712/hotplug-status.
... and then dies, removes the vif devices and spawns the "hotplug scripts not working" errors.
When I run my code separately it runs ok, write_dev "$dev" returns the correct path. The Xen scripts should be able to go from there but they don''t.
Last resort I''ve even created a minimalistic, hard coded block script containing this:
> case $t in
> debug)
> write_dev /dev/md/blockdevice
>...
2010 Jul 08
0
Bug#588406: xen-utils-common: /etc/xen/scripts/block not driving helper scripts; XEN_SCRIPT_DIR not properly set
...ev link does not exist."
fi
test -e "$dev" || fatal "$dev does not exist."
test -b "$dev" || fatal "$dev is not a block device."
claim_lock "block"
check_device_sharing "$dev" "$mode"
write_dev "$dev"
release_lock "block"
exit 0
;;
file)
# Canonicalise the file, for sharing check comparison, and the mode
# for ease of use here.
file=$(readlink -f "$p") || fatal "$p does not exist."
test -f "$file&...
2013 Apr 24
7
[PATCH] hotplug/Linux: add iscsi block hotplug script
This hotplug script has been tested with IET and NetBSD iSCSI targets,
without authentication.
This hotplug script will only work with PV guests not using pygrub.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@citrix.com>
---
Changes due to 4.3 release freeze:
* We can no longer provide a