Port-i386 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: problem with wedges
On Sat, May 01, 2010 at 03:05:37PM +0300, Jukka Marin wrote:
> What should I do? Can I add wedge support to domU kernel and would that
> allow me to access the data again?
I added
options DKWEDGE_AUTODISCOVER # Automatically add dk(4) instances
options DKWEDGE_METHOD_GPT # Supports GPT partitions as wedges
pseudo-device drvctl
to my domU kernel config and dk0 now appears on domU:
xbd0: 208 GB, 512 bytes/sect x 437498880 sectors
xbd1: 4705 GB, 512 bytes/sect x 9867174912 sectors
xbd1: GPT GUID: c1349a02-e045-11dc-96ed-003048928bca
dk0 at xbd1: c1349a16-e045-11dc-96ed-003048928bca
dk0: 9867174845 blocks at 34, type: ffs
However, I can't access dk0:
# gpt show dk0
gpt: unable to open device ': No such process
# dkctl dk0 listwedges
dkctl: dk0: listwedges: Inappropriate ioctl for device
# disklabel dk0
disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device
-jm
Home |
Main Index |
Thread Index |
Old Index