Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion to allocate collection on specified disk device

Received: by 10.42.81.84 with SMTP id y20mr7749724ick.8.1351059122007;
        Tue, 23 Oct 2012 23:12:02 -0700 (PDT)
X-BeenThere: mongodb-user@googlegroups.com
Received: by 10.42.98.148 with SMTP id s20ls3206191icn.6.gmail; Tue, 23 Oct
 2012 23:11:50 -0700 (PDT)
Received: by 10.43.71.18 with SMTP id yi18mr7861244icb.21.1351059110169;
        Tue, 23 Oct 2012 23:11:50 -0700 (PDT)
Received: by 10.43.71.18 with SMTP id yi18mr7861243icb.21.1351059110140;
        Tue, 23 Oct 2012 23:11:50 -0700 (PDT)
Return-Path: <tom...@nexcel.vn>
Received: from mail-ia0-f169.google.com (mail-ia0-f169.google.com [209.85.210.169])
        by gmr-mx.google.com with ESMTPS id s9si222841igw.0.2012.10.23.23.11.48
        (version=TLSv1/SSLv3 cipher=OTHER);
        Tue, 23 Oct 2012 23:11:48 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.210.169 is neither permitted nor denied by best guess record for domain of tom...@nexcel.vn) client-ip=209.85.210.169;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.210.169 is neither permitted nor denied by best guess record for domain of tom...@nexcel.vn) smtp.mail=tom...@nexcel.vn
Received: by mail-ia0-f169.google.com with SMTP id h37so125240iak.28
        for <mongodb-user@googlegroups.com>; Tue, 23 Oct 2012 23:11:48 -0700 (PDT)
        d=google.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:x-gm-message-state;
        bh=rs6Qo6O/mN3ucrunxxY5cex2Hba/yfyLqcDIfQwWbCA=;
        b=odTSp/XSLfa85S1gMOTOVy0uDCv5E8H0zsqjxDiB4wKl8qjiO1PWs/tpaK29nIp5ar
         jHjSxs4PElJc9YMl9xgCueDy2a2fmz3Q2/cT2B+NT4R1py+Qq54sRHJbROeQF+hPooaq
         XWrdC8n9hugqB1ZE2aYpBcfBJ0s1p7EE2dkMdo6u1Boa+bz5He0b4TK8ihVoJ92iwp7F
         SKfkDBCBhQ9HUuZo9TP4pL4HAp24klDptrb81wHtNzCA/bf9KaWhpVJmS2NQ6PSVHgpR
         at2cSbP13ZUS1ZyIuxseRNupeLdLHJV4gToQPs1a9PmwLF1QwN5d+YZv2ElQqq2KiQnx
         CZlg==
MIME-Version: 1.0
Received: by 10.50.217.225 with SMTP id pb1mr1442226igc.46.1351059107976; Tue,
 23 Oct 2012 23:11:47 -0700 (PDT)
Received: by 10.64.39.14 with HTTP; Tue, 23 Oct 2012 23:11:47 -0700 (PDT)
In-Reply-To: <0f4db698-3f09-4f28-a3a6-2bec0de9916f@googlegroups.com>
References: <45985fe7-ee91-4ef8-869a-dbfe78790d13@googlegroups.com>
	<f39d58af-6af4-4c1b-95d1-027674a3ec0a@googlegroups.com>
	<CALOM=qhME7xp8Cc9jFBpT+GMcwFC=03Yk0ZKTaLX-FW2OSi...@mail.gmail.com>
	<706419f5-391d-4b9c-b15e-c70a7551b8fc@googlegroups.com>
	<CALOM=qifzEW8GbzDEif=HierwLdFq5xPYO83KQmKQzpr7ud...@mail.gmail.com>
	<0f4db698-3f09-4f28-a3a6-2bec0de9916f@googlegroups.com>
Date: Wed, 24 Oct 2012 13:11:47 +0700
Message-ID: <CANscxGhbUSEA8_QYgh8kThn0gtUtGk2Q2ndVcHw+CkKdDs7...@mail.gmail.com>
Subject: Re: [mongodb-user] Re: to allocate collection on specified disk device
From: Tom Vo <tom...@nexcel.vn>
To: mongodb-user@googlegroups.com
Content-Type: multipart/alternative; boundary=14dae93411ed3395b204ccc7f649
X-Gm-Message-State: ALoCoQmbtc2NJXyt8aHsnWcMItaL0k2ubxpUvP5fNDb7LVSD/S4JXCAoAErULaRJhSSsT7QiIsVG

--14dae93411ed3395b204ccc7f649
Content-Type: text/plain; charset=ISO-8859-1

Hi Gowest

I think you should make directory "db2" in "/home/mongo" . And you could
start your database by command: /opt/mongodb/bin/mongod --dbpath
/home/mongo/db2 --directoryperdb

Thanks.

On Wed, Oct 24, 2012 at 11:56 AM, gowest <
yukihiro01.nishik...@g.softbank.co.jp> wrote:

> Hi, Scott.
>
> Its been a while.
>
> Now, I need your addvise.
>
> I made 2 databases under same directory like this,
> (under /var/db/mongo)
>
> db1 col1.0 col1.1 col1.ns
> db2 col2.0 col2.1 col2.ns
>
> I want to move db2 database to other directory(/home/mongo).
>
> So, I do the mongod command like this
>
> /opt/mongodb/bin/mongod --dbpath /home/mongo/col2.0 --directoryperdb
>
> But it didn't work well.
>
> How do I write the command?
>
> --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to mongodb-user@googlegroups.com
> To unsubscribe from this group, send email to
> mongodb-user+unsubscribe@googlegroups.com
> See also the IRC channel -- freenode.net#mongodb
>



-- 

Thanks and Best Regards
-------------------------------------------------------------------------------------------------------------
*Vo Tan Hau* (*TOM*)
*Senior Database Administrator*
NEXCEL SOLUTIONS LTD
*SMS Tower,Lot 40, Quang Trung Software City, District 12, HCMC, Vietnam.*
*Tel*:+84-8-37154278 *-* *Fax*:+84-8-37154279 www.nexcel.vn*
Messenger *(*Skype+Yahoo+Live*): Vohau2002

--14dae93411ed3395b204ccc7f649
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi=A0<span name=3D"gowest" class=3D"gD" style=3D"font-size:13px;white-space=
:nowrap;display:inline;vertical-align:top;color:rgb(34,34,34);font-family:a=
rial,sans-serif;background-color:rgb(255,255,255)">Gowest</span><span style=
=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;white-s=
pace:nowrap;background-color:rgb(255,255,255)">=A0</span><div>
<font color=3D"#222222" face=3D"arial, sans-serif"><span style=3D"white-spa=
ce:nowrap"><br></span></font></div><div><font color=3D"#222222" face=3D"ari=
al, sans-serif"><span style=3D"white-space:nowrap">I think you should make =
directory &quot;db2&quot; in &quot;/home/mongo&quot; . And=A0</span></font>=
<font color=3D"#222222" face=3D"arial, sans-serif"><span style=3D"white-spa=
ce:nowrap">you could start your database by command:=A0</span></font><span =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;ba=
ckground-color:rgb(255,255,255)">/opt/mongodb/bin/mongod --dbpath /home/mon=
go/db2 --directoryperdb</span></div>
<div><font color=3D"#222222" face=3D"arial, sans-serif"><br></font></div><d=
iv><font color=3D"#222222" face=3D"arial, sans-serif">Thanks.<br></font><di=
v><br><div class=3D"gmail_quote">On Wed, Oct 24, 2012 at 11:56 AM, gowest <=
span dir=3D"ltr">&lt;<a href=3D"mailto:yukihiro01.nishik...@g.softbank.co.j=
p" target=3D"_blank">yukihiro01.nishik...@g.softbank.co.jp</a>&gt;</span> w=
rote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>Hi, Scott.</div><div><br></div><div>Its=
 been a while.</div><div><br></div><div>Now, I need your addvise.</div><div=
>
<br></div><div>I made 2 databases under same directory like this,</div><div=
>(under /var/db/mongo)</div><div><br></div><div>db1 col1.0 col1.1 col1.ns</=
div><div>db2 col2.0 col2.1 col2.ns</div><div><br></div><div>I want to move =
db2 database to other directory(/home/mongo).</div>
<div><br></div><div>So, I do the mongod command like this</div><div><br></d=
iv><div>/opt/mongodb/bin/mongod --dbpath /home/mongo/col2.0 --directoryperd=
b</div><div><br></div><div>But it didn&#39;t work well.</div><div><br></div=
>
<div>How do I write the command?</div><div class=3D"HOEnZb"><div class=3D"h=
5">

<p></p>

-- <br>
You received this message because you are subscribed to the Google<br>
Groups &quot;mongodb-user&quot; group.<br>
To post to this group, send email to <a href=3D"mailto:mongodb-user@googleg=
roups.com" target=3D"_blank">mongodb-user@googlegroups.com</a><br>
To unsubscribe from this group, send email to<br>
<a href=3D"mailto:mongodb-user%2Bunsubscribe@googlegroups.com" target=3D"_b=
lank">mongodb-user+unsubscribe@googlegroups.com</a><br>
See also the IRC channel -- <a href=3D"http://freenode.net#mongodb" target=
=3D"_blank">freenode.net#mongodb</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<br>Thanks and Best Regards<br>--------------------------------------------=
-----------------------------------------------------------------<br><b>Vo =
Tan Hau</b> (<i><b><span style=3D"color:rgb(0,0,153)">TOM</span></b></i>)<b=
r>
<b>Senior Database Administrator</b><br><font size=3D"4"><span style=3D"col=
or:rgb(153,0,0)">N</span><span style=3D"background-color:rgb(255,255,255);c=
olor:rgb(153,0,0)">EX</span><span style=3D"color:rgb(153,0,0)">CEL SOLUTION=
S LTD</span></font><br>
<i>SMS Tower,Lot 40, Quang Trung Software City, District  12, HCMC, Vietnam=
.</i><br><b>Tel</b>:+84-8-37154278 <b>-</b> <b>Fax</b>:+84-8-37154279 <a hr=
ef=3D"http://www.nexcel.vn" target=3D"_blank">www.nexcel.vn</a><b><br>Messe=
nger </b>(<i><b>S</b>kype+<b>Y</b>ahoo+<b>L</b>ive</i>): Vohau2002<br>
<br><br>
</div></div>

--14dae93411ed3395b204ccc7f649--