-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Frugalware-Art.org Artwork for Frugalware Linux 
 Arch-Stuff.org Artwork and Stuff for Arch Linux 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com    Open-PC.com   
Ubuntu-Art.org - Artwork for Ubuntu
Ubuntu-Art.orgUbuntu-Art.org

 Sep 17 2014  
 Not logged in  
Ubuntu-Art.org
 Home    Add Artwork   Forum   Groups   Knowledge   Events   Jobs   Users   Register   Login-

-
- New questions .- Answered question .- Not answered question .- My questions .- Post your question here . 
Go back to the overview page to see other entries
Back to overview

1
votes
click to vote up

How To Add More Drives


ownCloud - Aug 2 2012
answered
Question:Hi Guys,

Please could someone give me some advise or headway on adding internal hard drives to my owncloud server....I am a complete newb to this owncloud....I have already connected the hard drives and partitioned them thru ubuntu, but just dont know how to attach them to owncloud....
Thanks a mill...
OWNCLOUD ROCKS !!!!





Answer:I have the same question for my Ubuntu server 12.04 box.

I found this but i dont know if it works i havent tested it yet:
found here -> http://forum.linuxbasix.com/viewtopic.php?f=20&t=1192

I dont know how it affects security but t works. Im keeping this local for now anyway. Let me know what you think or any input you might have.

Added the the head drive to fstab:



Code:
/dev/sda1 /mnt/owncloud ext4 rw,user 1 1




Created the folder on the new hard drive to store the ownCloud data



Code:
sudo mkdir /mnt/owncloud/owncloud_data
sudo chown www-data:www-data /mnt/owncloud/owncloud_data




The following was done in root because I found it difficult to move around the file system with my normal user account.

I did a tar backup of the data directory structure since I did not have much in my data folder I did not compress the tar backup.



Code:
cd /usr/share/owncloud/data/
tar cf /mnt/owncloud/owncloud_data.tar *




Verified the tar backup



Code:
tar tf /mnt/owncloud/owncloud_data.tar




Deleted the data folder



Code:
cd ..
rm -Rf data/




Created a symbolic link to create to the folder on the hard drive



Code:
ln -s /mnt/owncloud/owncloud_data/ data




Went back into my data directory and put the files back.



Code:
cd data
tar xf /mnt/owncloud/owncloud_data.tar

It would be nice from the owncloud interface to just choose the location of the disk/s add apply finish.

Someones professional detailed answer would be nice.




Edit answer


Back to overview


Add comment

Do you have a question?
Post your question here






-

Copyright 2007-2014 Ubuntu-Art.org Team  Legal Notice
All rights reserved. Ubuntu-Art.org is not liable for any content or goods on this site.
You can find our FAQ here.
All contributors are responsible for the lawfulness of their uploads.
Please send us a notice if you spot an ABUSE of the website.
Information about advertising in Ubuntu-Art.org.
Developers can use our public webservice interface. More information here: public api
For further information or comments on this site, please send us a message
Ubuntu is a registered trademark of Canonical Ltd.
Content RSS   
Events RSS