[PATCH] dynamic addition of virtual disks on PPC64 iSeries

Andrew Morton akpm at osdl.org
Mon May 24 16:29:20 EST 2004


Stephen Rothwell <sfr at canb.auug.org.au> wrote:
>
> This patch allows us to dynamically add virtual disks to an iSeries
>  partition. It works like this: after you have created the virtual disk
>  file on OS/400 and attached it to the Linux partition, you need to read
>  /sys/bus/vio/drivers/viodasd/probe.  This will do the probe and list any
>  new disks discovered.
>
>  This was the nicest way I could think of doing this as the interface to
>  the hypervisor is polled ...

Is it possible to present all the virtual disks as partitions of a single
disk, use the "partition table" to query what is present?

Or to generate a hotplug event when a disk is added?  Even if there's no
notification to the kernel, it should be possible to generate the hotplug
events in response to a /proc-based trigger.

It's a shame you didn't cc linux-kernel on this - the blockdev police would
have better ideas than I.

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/




More information about the Linuxppc64-dev mailing list