On Mar 2, 2010, at 12:26 PM, Yacine Kheddache wrote:

> Nathaniel,
> 
> What this command report ?:
> fdisk -l /dev/etherd/e0.0
> 
> You should see a device for each partition.


hmm... ok well this is where it might get tricky, it is a NetBSD formatted 
disk. 

disklabel produces:
homer# disklabel /dev/xbd0
# /dev/xbd0d:
type: unknown
disk: homer
label: 
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 2048
total sectors: 4194304
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:   2228224     65536     4.2BSD   2048 16384     0  # (Cyl.     32 -   1119)
 b:    262144   2293760       swap                     # (Cyl.   1120 -   1247)
 c:   4194304         0     unused      0     0        # (Cyl.      0 -   2047)
 d:   4194304         0     unused      0     0        # (Cyl.      0 -   2047)
 e:    958464   2555904     4.2BSD   1024  8192     0  # (Cyl.   1248 -   1715)
 f:    204800   3514368     4.2BSD   1024  8192     0  # (Cyl.   1716 -   1815)
 g:    409600   3719168     4.2BSD   1024  8192     0  # (Cyl.   1816 -   2015)
 h:     65536         0 Linux Ext2      0     0        # (Cyl.      0 -     31)


hmm.. this led me down a slightly different direction, I now realize that I 
will need UFS support in my kernel, which doesn't appear to be compiled in, and 
I am not sure that I want to put in that much effort ;)

-Nathaniel



> 
> PS: It will be more convenient to use lvm LVs instead of partitions.
> 
> Regards,
> Yacine.
> 
> On mar, 2010-03-02 at 11:52 -0500, Nathaniel Madura wrote:
>> Hey all, sorry if this is a stupid question, I am working on getting
>> xen working and I exported a block device with AOE and passed it to
>> xen directly as a physical device, and partitioned it from the domU
>> installer. I was wondering if I can mount one of the partitions from
>> dom0?
>> 
>> 
>> to dom0 the device just shows up as /dev/etherd/e0.0 but doesn't show
>> any of the actual partitioned parts of the drive. I know
>> that /dev/etherd/e0.0 has 5 partitions is there anyway to access them
>> directly?
>> 
>> 
>> Thanks,
>> Nathaniel
>> 
>> -----
>> 
>> Nathaniel Madura
>> 
>> Engineer in Research
>> 
>> UMTRI - Biosciences
>> 
>> 734-936-1109
>> 
>> nmad...@umich.edu
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________ Aoetools-discuss mailing 
>> list Aoetools-discuss@lists.sourceforge.net 
>> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
> -- 
> Yacine Kheddache     Tel: +33 (0)6 60 66 81 53    
> http://www.alyseo.com/ - http://www.coraid.fr/
> 

-----
Nathaniel Madura
Engineer in Research
UMTRI - Biosciences
734-936-1109
nmad...@umich.edu

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss

Reply via email to