> > On SNV90 HVM DomU at SNV92 Dom0 :
> > # xm block-attach
> file:/export/home/images/disk1.img hdc w (at Dom0)
> 
> Is that disk1.img file an empty raw disk image file
> that
> you just created with mkfile (or dd)?
************************
Yes, created with dd.
***********************
> 
> 
> > format>
> > fdisk
> ...
> >      Partition   Status    Type          Start
>   End   Length    %
> =========   ======    ============  =====   ===
>   ======   ===
> 1                  Solaris2          1  2047
>    2047    100
> did you use format's "partition" menu, do define
> slices / a partition table for the disk; and did you
> write a SunOS disk label to the new disk using
> format's "label" command?
************************************************************
No, i didn't consult manuals.  I realize that managed
not the best way. Block attached device is a nice option
to learn stuff you wrote above  completely safely.  
*************************************************************
> 
> > Attempted newfs ,which worked fine at SNV90 PV DomU
> 
> > now at SNV90 HVM DomU reports for any slice :
> > bash-3.2# newfs /dev/rdsk/c1d0s0
> > /dev/rdsk/c1d0s0: No such device or address
> 
> Seems that you skipped the step to partition / label
> the
> new disk.  In this case the kernel constructs a
> default
> disk label, which has the "s2" slice that maps the
> whole
> Solaris fdisk partition. All other slices are empty.
*********************************************************************
Yes, that's what exactly happened . Been doing loop search
of right slice i found s2 slices
**********************************************************************
> 
> You can print the current active partition
> information with the
> prtvtoc command:
> 
>     # prtvtoc  /dev/rdsk/c1d0s2
>     # prtvtoc  /dev/rdsk/c1d0p0
Thank you.
 
 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to