----- Original Message ----- > 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
The setup flow is: 1. connectStorageServer (this connects the host to storage. i.e. either performs a 'mount' or iscaiadm command) 2. createStorageDomain (only required once) 3. createStoragePool (only required once) Once you have the pool, on all hosts you perform: 1. connectStorageServer 2. connectStoragePool And on one (and only one) of the hosts: 1. spmStart > > > > At 2013-04-28 17:40:29,"Vered Volansky" <ve...@redhat.com> wrote: > > > > > >----- Forwarded Message ----- > >> From: "Vered Volansky" <ve...@redhat.com> > >> To: "bigclouds" <bigclo...@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" <bigclo...@163.com> > >> > To: "engine-devel" <engine-devel@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@ovirt.org > >> > http://lists.ovirt.org/mailman/listinfo/engine-devel > >> > > >> > >_______________________________________________ > >Engine-devel mailing list > >Engine-devel@ovirt.org > >http://lists.ovirt.org/mailman/listinfo/engine-devel > > > > _______________________________________________ > vdsm-devel mailing list > vdsm-de...@lists.fedorahosted.org > https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel > _______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel