Hi All, We''ve limitation of 500 GB per server as per ServerLoft. we are needing to store word/pdf files. We are planning to use following setup. /dev/sda1 - boot - ext2 /dev/sda2 - swap /dev/sda3 - dom0 - ext3 /dev/sda4 - LVM - one LV for each domU, We''re planning 3 DomUs. /dev/sda5 - FreeNAS. Is that possible? Can it be in one of the LVs under 4th partition? Currently, one problem I am facing is that there are only 4 primary partitions allowed. The 4th partition being LVM. gparted is not letting me create 5th partition at all. I''ll try creating this with fdsk/parted and see if that helps! Have anyone tried this kind of setup before? Thanks in advance. Regards Rajan _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
francisco javier funes nieto
2009-Oct-27 10:34 UTC
Re: [Xen-users] LVM+Xen+FreeNAS possible?
You can create 3 primary partitions and all the rest must be logic (including LVM too). J. 2009/10/27 rajan chandi <chandi.rajan@gmail.com>:> Hi All, > > We''ve limitation of 500 GB per server as per ServerLoft. > we are needing to store word/pdf files. We are planning to use following > setup. > > /dev/sda1 - boot - ext2 > /dev/sda2 - swap > /dev/sda3 - dom0 - ext3 > /dev/sda4 - LVM - one LV for each domU, We''re planning 3 DomUs. > /dev/sda5 - FreeNAS. Is that possible? Can it be in one of the LVs under 4th > partition? > > Currently, one problem I am facing is that there are only 4 primary > partitions allowed. > The 4th partition being LVM. > > gparted is not letting me create 5th partition at all. I''ll try creating > this with fdsk/parted and see if that helps! > > Have anyone tried this kind of setup before? > > Thanks in advance. > > Regards > Rajan > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- _____________________________________________ Francisco Javier Funes Nieto [esencia@gmail.com] CANONIGOS Servicios Informáticos para PYMES. Cl. Cruz 2, 1º Oficina 7 Tlf: 958.536759 / 661134556 Fax: 958.521354 GRANADA - 18002 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Oct 27, 2009 at 5:03 PM, rajan chandi <chandi.rajan@gmail.com> wrote:> /dev/sda1 - boot - ext2 > /dev/sda2 - swap > /dev/sda3 - dom0 - ext3 > /dev/sda4 - LVM - one LV for each domU, We''re planning 3 DomUs. > /dev/sda5 - FreeNAS. Is that possible? Can it be in one of the LVs under 4th > partition? > > Currently, one problem I am facing is that there are only 4 primary > partitions allowed. > The 4th partition being LVM.How do you plan to run FreeNAS? If on dualboot setup, then you have to reorganize your partitions somehow. If you want to run FreeNas as Xen domU, you cold use an LV instead of a partition. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks Fazar. After researching online, We''ve decided to use a storage server with 2 drives without RAID. There will be 2 DomUs both will act as storage servers of MogileFS. Each DomU will be on a separate drive-partition to make sure redundancy and availability. MogileFS sounds to be a better option than FreeNAS due to scalability reasons. Regards Rajan On Wed, Oct 28, 2009 at 11:40 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Tue, Oct 27, 2009 at 5:03 PM, rajan chandi <chandi.rajan@gmail.com> > wrote: > > > /dev/sda1 - boot - ext2 > > /dev/sda2 - swap > > /dev/sda3 - dom0 - ext3 > > /dev/sda4 - LVM - one LV for each domU, We''re planning 3 DomUs. > > /dev/sda5 - FreeNAS. Is that possible? Can it be in one of the LVs under > 4th > > partition? > > > > Currently, one problem I am facing is that there are only 4 primary > > partitions allowed. > > The 4th partition being LVM. > > How do you plan to run FreeNAS? > If on dualboot setup, then you have to reorganize your partitions > somehow. If you want to run FreeNas as Xen domU, you cold use an LV > instead of a partition. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Oct 28, 2009 at 1:23 PM, rajan chandi <chandi.rajan@gmail.com> wrote:> MogileFS sounds to be a better option than FreeNAS due to scalability > reasons.Are you sure? From http://www.danga.com/mogilefs/ "MogileFS is not: * POSIX Compliant -- you don''t run regular Unix applications or databases against MogileFS. It''s meant for archiving write-once files and doing only sequential reads. (though you can modify a file by way of overwriting it with a new version) Notes: o Yes, this means your application has to specifically use a MogileFS client library to store and retrieve files. The steps in general are 1) talk to a tracker about what you want to put or get, 2) read/write to one of the places it told you you could (it''ll pick storage node(s) for you as part of its load balancing), using HTTP GET/PUT o We''ve prototyped a FUSE binding, so you could use MogileFS without application support, but it''s not production-ready. " Now if you simply want to use those 2x500GB disk as RAID0 and have redundancy in another server with exact disk setup, I''d say you should install crossover cable between the servers and install drbd. I''m using drbd83-8.3.2-6.el5_3 from centos-testing. It works great in general on my testing environment. There were some issues earlier though (e.g. when using an earlier version, one node panic when the other node restarts), so I''m still rather reluctant to do widescale deployment. Oh and be SURE to have network/serial console access ready (I use HP''s ILO) if you plan on deploying drbd :D -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
MogileFS takes care of replication, availability etc. We are storing doc/pdfs. e.g. first drive - /dev/sda3 - first MogilFS domU second drive - /dev/sda4 - second MogilFS domU MogileFS will replicate the files across these drives. So, RAIDs are not needed. We are not intending to update the files at all. So, don''t need POSIX compliance. There exist MogileFS-Clients for Java/Ruby and we are going to use that one. The File Servers won''t need the redundancy I think. Let me know if you think otherwise! Regards Rajan On Wed, Oct 28, 2009 at 12:05 PM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, Oct 28, 2009 at 1:23 PM, rajan chandi <chandi.rajan@gmail.com> > wrote: > > > MogileFS sounds to be a better option than FreeNAS due to scalability > > reasons. > > Are you sure? From http://www.danga.com/mogilefs/ > > "MogileFS is not: > > * POSIX Compliant -- you don''t run regular Unix applications or > databases against MogileFS. It''s meant for archiving write-once files > and doing only sequential reads. (though you can modify a file by way > of overwriting it with a new version) Notes: > o Yes, this means your application has to specifically use a > MogileFS client library to store and retrieve files. The steps in > general are 1) talk to a tracker about what you want to put or get, 2) > read/write to one of the places it told you you could (it''ll pick > storage node(s) for you as part of its load balancing), using HTTP > GET/PUT > o We''ve prototyped a FUSE binding, so you could use MogileFS > without application support, but it''s not production-ready. > " > > Now if you simply want to use those 2x500GB disk as RAID0 and have > redundancy in another server with exact disk setup, I''d say you should > install crossover cable between the servers and install drbd. > > I''m using drbd83-8.3.2-6.el5_3 from centos-testing. It works great in > general on my testing environment. > There were some issues earlier though (e.g. when using an earlier > version, one node panic when the other node restarts), so I''m still > rather reluctant to do widescale deployment. Oh and be SURE to have > network/serial console access ready (I use HP''s ILO) if you plan on > deploying drbd :D > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> MogileFS will replicate the files across these drives. So, RAIDs are not > needed. > We are not intending to update the files at all. So, don''t need POSIX > compliance. > > There exist MogileFS-Clients for Java/Ruby and we are going to use that one.If you like the looks of MogileFS, I recommend having a look at GlusterFS. Gluster is more of a real filesystem (POSIX and such) but does the some replication and auto-consistency things that may be of interest. It''s then all exposed to clients via FUSE, no special APIs required. John -- John Madden Sr UNIX Systems Engineer Ivy Tech Community College of Indiana jmadden@ivytech.edu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
John, Thanks for the information. I just checked their site. GlusterFS sounds more like enterprise solution than a web 2.0 solution. We are building a SAAS based web utility hireplug.com (not live yet!) which will help connect recruiters world-wide and exchange resumes etc. LiveJournal.com(Alexa #76) also uses MogileFS. Regards Rajan On Wed, Oct 28, 2009 at 7:26 PM, John Madden <jmadden@ivytech.edu> wrote:> MogileFS will replicate the files across these drives. So, RAIDs are not >> needed. >> We are not intending to update the files at all. So, don''t need POSIX >> compliance. >> >> There exist MogileFS-Clients for Java/Ruby and we are going to use that >> one. >> > > If you like the looks of MogileFS, I recommend having a look at GlusterFS. > Gluster is more of a real filesystem (POSIX and such) but does the some > replication and auto-consistency things that may be of interest. It''s then > all exposed to clients via FUSE, no special APIs required. > > John > > > > -- > John Madden > Sr UNIX Systems Engineer > Ivy Tech Community College of Indiana > jmadden@ivytech.edu >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users