<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><![if mso 9]><style>p.MsoNormal
        {margin-left:3.0pt;}
</style><![endif]><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR-CA" link="blue" vlink="purple" style="margin-left:3.0pt;margin-top:3.0pt;margin-right:3.0pt;margin-bottom:.75pt">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks a lot for you example. <o:p>
</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">For me it’s a new installation, so I’ve just create a new partition and change the NSSDROPBOX_BASE_DIR<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><br>
Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR-CA"><img width="340" height="70" id="_x0000_i1026" src="cid:image001.jpg@01CC6E0C.CD877010" alt="Description : Description : Description : Description : Signature-1-300-01"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="color:#005DA3;mso-fareast-language:FR-CA">Mathieu Chartier<o:p></o:p></span></b></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#005DA3;mso-fareast-language:FR-CA">Technicien en informatique classe principale<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#005DA3;mso-fareast-language:FR-CA">Services administratifs<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="color:#005DA3;mso-fareast-language:FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;color:#005DA3;mso-fareast-language:FR-CA"><a href="mailto:mmchartier@cegepsth.qc.ca"><span style="color:#005DA3">mchartier@cegepsth.qc.ca</span></a><o:p></o:p></span></i></b></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#005DA3;mso-fareast-language:FR-CA">(450)773-6800 ou (514)875-4445 (Montréal et rive-sud), poste 2153<o:p></o:p></span></i></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:FR-CA">De :</span></b><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:FR-CA"> zendto-bounces@zend.to
[mailto:zendto-bounces@zend.to] <b>De la part de</b> Brad Beckenhauer<br>
<b>Envoyé :</b> 8 septembre 2011 09:48<br>
<b>À :</b> Mathieu Chartier; zendto@zend.to<br>
<b>Objet :</b> [ZendTo] Re: Storage location<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Here is the process I used on the CentOS VM system. I have not tested it on a Ubuntun system.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">No Warranty, use at your own risk and take backups!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">How to move the /var/zendto directory where Zendto stores it’s attachments to a separate partition.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">This document shows the process to move the /var/zendto directory to a new partition. The existing /var/zendto directory/partition will deliberately
be left behind until the last step where you can decide if you want to delete the directory or re-use the partition.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">This document was originally written and tested using the Zendto/Centos-64-3.61 vm on a vmware workstation. It is highly recommend that a snapshot
of vm be taken before proceeding to protect your data and provide a recovery path.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">WARNING: The following technique describes how to move a partition(s). Although this technique is designed so that you can "back out" of a failed
partition move, it doesn't protect against user error. In other words, any time that you format partitions or copy large numbers of files, there's a possibility that you will type the wrong thing, causing lots of data to be destroyed. For this reason, it's
highly recommended that you take appropriate steps to back up all critical files before proceeding.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Now that you're prepared, we're ready to start moving /var/zendto. The exact steps taken will depend on whether /var/zendto currently is located
on the root partition or if it resides on its own separate partition. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">If you are moving /var/zendto to a new hard drive, the new drive should be physically installed in your system or added as a new hard drive device
in the vmware environment before starting. This is your change is increase the partition size.
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">1. Create a new partition.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">If you are moving /var/zendto to an existing partition (it doesn't need to be ext3, as long as the target primary or extended partition exists),
you can proceed to step 2.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">If the new partition doesn't exist yet, you'll need to create it in vmware or using fdisk or cfdisk (not covered in this document). If the partition
doesn't reside on your first drive, remember to specify the name of the device as the first argument to cfdisk or fdisk. After creating the appropriate primary or extended partition, you should reboot so that the partition table can be reread correctly. This
is the only time you will need to reboot the system.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">2. Create a file system on the new partition<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">To create a file system on the new partition, first make sure you know the exact device name for the new partition (for example, /dev/sda5). If
you're not sure of the exact device name, stop now and double-check!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">In the below and following code samples, the we will be adding a new partition (sdb) formatted as ext3 file system.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Type the following, as root to format the entire partition as type ext3:<br>
Example of formatting /dev/sdb:<br>
# mkfs.ext3 /dev/sdb<br>
/dev/sdb is entire device, not just one partition!<br>
Proceed anyway? (y,n) y <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">For the remainder of this document, /dev/sdb will be used. Substitute your device where appropriate.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">3. Temporarily mount the new filesystem in /mnt<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"># mkdir /mnt/newpart<br>
# mount /dev/sdb /mnt/newpart<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"><br>
4. Drop to single-user mode<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">I delayed this step as long as possible to maximize system availability, but we now must drop into single-user mode, and copy files from /var/zendto
to /mnt/newpart. You should not have any files open in /var/zendto, and entering single-user mode eliminates this possibility:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"># init 1<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">If prompted, enter the root password to perform system maintenance. You should now have a root shell.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">5. Change directories to /var/zendto and copy files<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"># cd /var/zendto<br>
# cp -ax * /mnt/newpart<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">The cp -ax command recursively copies the contents of /var/zendto to /mnt/newpart, preserving all file attributes, and not crossing any mount
points. After this command finishes, /mnt/newpart will contain an exact copy of all the files and directories currently in /var/zendto.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">5a. Unmount the new partition and remove the temporary directory.<br>
# umount /mnt/newpart<br>
# rm –rf /mnt/newpart<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">6. If the existing /var/zendto directory is part of the root (/) partition and you are moving /var/zendto to a separate partition then skip to
step 6b. If /var/zendto is already a separate partition and you are moving that partition to a new partition ( such as increasing the disk size), then proceed with step 6a.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">6a. Use the new partition (when the current /var/zendto is already a partition).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">These instructions are for systems where the current /var/zendto already exists on its own dedicated partition. If this isn't the case, skip to
item 6b.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Unmount the old partition by typing:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"># cd /<br>
# umount /var/zendto<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Mount the new partition:<br>
# mount /dev/sdb /var/zendto<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Now, the new partition is available at /var/zendto and is ready to be used. Exit single-user mode, so that the system is back up and running,
by pressing CTRL-D.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">IMPORTANT: After the system starts up normally, log in as root and edit /etc/fstab so that /dev/sdb will be mounted automatically at /var/zendto
instead of the old partition. If the line does not exist, you will need to add it the to the fstab file.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">For example, change this line in the /etc/fstab file:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">/dev/hda3 /var/zendto ext3 defaults 1 2<br>
to: <br>
/dev/sdb /var/zendto ext3 defaults 1 2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"><br>
6b. Use the new partition (when the current /var/zendto is a directory on the root partition).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">First rename the existing /var/zendto directory
<br>
# cd /<br>
# mv /var/zendto /var/zendto.old<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Create a new /var/zendto directory and mount the new partition to that directory.<br>
# mkdir /var/zendto<br>
# mount /dev/sdb /var/zendto<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Now, leave single user mode by pressing CTRL-D. ( you may have to log back in as the root user).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">When the system is running, edit /etc/fstab and add a line like the below line in BOLD:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"># device name mount point fs-type options dump-freq pass-num<br>
/dev/sdb /var/zendto ext3 defaults 1 2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Explanation of the above columns are as follows:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">a. The device name or other means of locating the partition or data source.<br>
b. The mount point, where the data is to be attached to the filesystem.<br>
c. The filesystem type, or the algorithm used to interpret the filesystem.<br>
d. Options, including if the filesystem should be mounted at boot.<br>
e. dump-freq adjusts the archiving schedule for the partition (used by dump).<br>
f. pass-num Controls the order in which fsck checks the device/partition for errors at boot time. The root device should be 1. Other partitions should be either 2 (to check after root) or 0 (to disable checking for that partition altogether).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">A value of zero in either of the last 2 columns disables the corresponding feature.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"><br>
Now the new partition will get mounted correctly the next time the system is rebooted.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Reboot the server to make sure everything works as expected.<br>
# reboot<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"><br>
7. Test Zendto by logging using the Web Browser and sending a file attachment and downloading it.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">8. Finishing up<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">The old /var/zendto directory/partition was deliberately left behind, just in case there were problems copying files. After verifying that the
system is running smoothly, you can either use the old /var/zendto partition for something else, or remove the /var/zendto.old directory and reclaim the disk space.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA">Congratulations, you've just moved /var/zendto!<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"> <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Segoe UI","sans-serif";mso-fareast-language:FR-CA"><br>
<br>
>>> On 9/7/2011 at 2:52 PM, Mathieu Chartier <<a href="mailto:mchartier@cegepsth.qc.ca">mchartier@cegepsth.qc.ca</a>> wrote:<o:p></o:p></span></p>
</div>
<table class="MsoNormalTable" border="0" cellpadding="0" style="margin-left:11.25pt;background:#F3F3F3">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<div style="border:none;border-left:solid #050505 1.0pt;padding:0cm 0cm 0cm 5.0pt">
<p class="MsoNormal">I’ve just download and installed the Ubuntun virtual machine of Zendto. Everything is fine but I can’t find how to change the location of the storage for the dropped files….someone can guide me?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR-CA"><img border="0" width="340" height="70" id="Image_x0020_1" src="cid:image001.jpg@01CC6E0C.CD877010" alt="Description : Description : Description : Description : Signature-1-300-01"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="color:#005DA3;mso-fareast-language:FR-CA">Mathieu Chartier<o:p></o:p></span></b></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#005DA3;mso-fareast-language:FR-CA">Technicien en informatique classe principale<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#005DA3;mso-fareast-language:FR-CA">Services administratifs<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="color:#005DA3;mso-fareast-language:FR-CA"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><i><span style="font-size:12.0pt;color:#005DA3;mso-fareast-language:FR-CA"><a href="mailto:mmchartier@cegepsth.qc.ca"><span style="color:#005DA3">mchartier@cegepsth.qc.ca</span></a><o:p></o:p></span></i></b></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#005DA3;mso-fareast-language:FR-CA">(450)773-6800 ou (514)875-4445 (Montréal et rive-sud), poste 2153<o:p></o:p></span></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p><o:p> </o:p></p>
</div>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR-CA"><o:p> </o:p></span></p>
</div>
<p><br /></p>
</body>
</html>