-
 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 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 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   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login

-
- Knowledge base . 
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





-

-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore




 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
News RSS   
Discussion RSS   
Events RSS   

Participate
Groups
Forum
Add Artwork
Public API
About KDE-Look.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.