[Bug 365688] Yast avoids to install/upgrade xen systems that used virtual partitions
http://bugzilla.novell.com/show_bug.cgi?id=365688#c22 Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|jfehlig@novell.com | --- Comment #22 from Luiz Angelo Daros de Luca <luizluca@tre-sc.gov.br> 2009-11-16 21:49:48 UTC --- In my case, there is no disks. There is a block device on the commented location: # ls -d /sys/block/xvd??/ /sys/block/xvda1/ /sys/block/xvda2/ but there is no xvda. However, as these partitions are controlled outside of the VM (by dom0), there is really no need to enable the options to change partitions as VM cannot create/resize/delete them. The only option is to format and change disk mount point. If you want to detect if a block device is virtual, check in: cat /sys/block/xvd*/device/devtype vbd I don't know if this is the same in the case of a virtual disk (it might be). And so, I think this is not useful to detect virtual partitions. The only way I found to detect that a device is a virtual partition and not a virtual disk block is by looking for a number at its end. If any /sys/block/xvd[a-z]+[0-9]+/ is found, just tread them as partitions. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com