I'm not that familiarized with the code myself and can't tell you without looking
into it and debugging it.
What I would do is - for any command I'd like the internal flow of - start at the top
(All vds commands are listed when you type vdsClient, without the need to actually run
something).
You can then search the specific command you're interested in in the code, and see the
flow there.
You can obviously run a specific command if you have the correct setup and follow through
with the vdsm.log to see the exact flow. You can, of course, add your own debug messages
to make things clearer for you, as the vdsm log is logged to very frequently.
----- Original Message -----
From: "bigclouds" <bigclouds(a)163.com>
To: "Vered Volansky" <vered(a)redhat.com>
Cc: engine-devel(a)ovirt.org, "users" <users(a)ovirt.org>,
vdsm-devel(a)lists.fedorahosted.org
Sent: Sunday, April 28, 2013 1:25:55 PM
Subject: Re: [Engine-devel] Fwd: the procedure of storage-related
hi,
maybe i do not make you understand me fully. i am reading vdsm code, but it
is hard for me to understand StorageDomain,StoragePool. before stoargeD(P)
can work, engine must prepare many things.
i want to know the call flow (process) which must be done to make
storageS(P) work.
1.for example, what funcitons you should call if make a stoargeDomain
work.
poolConnectStorageServer->poolCreate->poolConnect->domainCreate->domainActivate.
thanks
At 2013-04-28 17:40:29,"Vered Volansky" <vered(a)redhat.com> wrote:
>
>
>----- Forwarded Message -----
>> From: "Vered Volansky" <vered(a)redhat.com>
>> To: "bigclouds" <bigclouds(a)163.com>
>> Sent: Sunday, April 28, 2013 12:39:31 PM
>> Subject: Re: [Engine-devel] the procedure of storage-related
>>
>> Hi,
>>
>> Find my answers below.
>>
>> Best Regards,
>> Vered
>>
>> ----- Original Message -----
>> > From: "bigclouds" <bigclouds(a)163.com>
>> > To: "engine-devel" <engine-devel(a)ovirt.org>
>> > Sent: Saturday, April 27, 2013 8:40:56 AM
>> > Subject: [Engine-devel] the procedure of storage-related
>> >
>> > hi,all
>> > 1.i am now not very familar with the right procedure of storage,
>> > please give me a simply introduction of their concept and relation.
>> > help
>> > me out
>> >
>> > StoragePool,StorageDomain
>> > image,volume
>>
>> You should find the following link helpful:
>>
http://www.ovirt.org/Vdsm_Storage_Terminology
>>
>> As per your other questions, you might find the following guide helpul:
>>
http://www.ovirt.org/Quick_Start_Guide#Configure_Storage
>>
>> Of not, please rephrase them as they're not clear enough and I'd rather
>> not
>> guess.
>>
>>
>> >
>> >
>> > 2.please help me confirm.
>> > i find only one place call mount command, which is
>> > poolConnectStorageServer.
>> > if poolConnectStorageServer is before create and active
>> > StoragePool,StorageDomain?
>> >
>> > 3.if attach is just modify metadata, not anything else?
>> >
>> > 4.sp.py, deactivateSD
>> > if i deactivate ISO storage,it finally umount masterDir, why ?
>> > if masterDir is not mastersd?
>> > thanks
>> >
>> >
>> >
>> > _______________________________________________
>> > Engine-devel mailing list
>> > Engine-devel(a)ovirt.org
>> >
http://lists.ovirt.org/mailman/listinfo/engine-devel
>> >
>>
>_______________________________________________
>Engine-devel mailing list
>Engine-devel(a)ovirt.org
>http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel