LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-29-2012, 01:44 AM   #1
sunveer
Member
 
Registered: Jul 2012
Posts: 139

Rep: Reputation: Disabled
How to Store Files Safely?


Like in Windows, we mostly use two drives one to install windows and other to save important data so that if windows crash, our data is saved.

So, where to store data in linux so that it is safe, if in case linux crashes and re-installation is required.
 
Old 07-29-2012, 01:55 AM   #2
roger_heslop
Member
 
Registered: Oct 2009
Location: Leander, TX
Distribution: Fedora 20
Posts: 97

Rep: Reputation: 35
In linux, you can use LVM (or Logical Volume Management) store all the files in your /home directory, if you prefer to simply use seperate partitions, you can do that too. If you have extra hardisks, Linux supports software RAID, to ensure data would survive a disk failure as well.

http://tldp.org/HOWTO/LVM-HOWTO/benefitsoflvmsmall.html
http://tldp.org/HOWTO/Software-RAID-HOWTO.html
 
Old 07-29-2012, 07:34 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by sunveer View Post
Like in Windows, we mostly use two drives one to install windows and other to save important data so that if windows crash, our data is saved.
I notice you are trying to apply your fears, uncertainties and doubts regarding the Other Operating System to Linux. Linux is not Windows and in more than one aspect. When it does crash it doesn't bring down the whole system like Windows does. If your browser crashes you still have your Desktop Environment. If your Desktop Environment crashes you still have all services running. If one of the services crashes it doesn't necessarily affect others. Only when the kernel can't deal with things (hardware instability, overclocking, unstable software or avoidable configuration settings, driver or kernel development, exposed vulnerabilities or any OOPSes caused by the alignment of your machine with Mars and Giedi Prime) you may suffer data loss as a result of a total system crash.


Quote:
Originally Posted by sunveer View Post
So, where to store data in linux so that it is safe, if in case linux crashes and re-installation is required.
On your external backup media and by using a verifiable, usable backup scheme.
Only when you need to recover from (or cannot afford) data loss you will realize if it is a general misconception that LVM or RAID act as safety nets or not.
 
Old 07-29-2012, 11:51 AM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
We still use tape backups made remotely and stored in a fire resistant container. Sometimes we make the tape locally and then move it.

Last edited by jefro; 07-29-2012 at 11:53 AM.
 
Old 07-30-2012, 12:11 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
If you want the same setup as in Windows, you can use your second disk for data (my documents) and mount it on /home.

Having said that, if your second HD crashes or if user mistakes happen, you may assume that with both Windows and Linux your data is lost. So backups are important.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Trying to safely migrate files from Windows to Linux. Syllinger Linux - Newbie 3 12-24-2011 06:33 PM
LXer: Learning How to Delete Files Safely in Linux LXer Syndicated Linux News 0 05-11-2011 08:11 PM
How safely encrypted are my files? make Linux - Security 4 11-04-2006 05:02 AM
can you apply 2.6.x kernel config to 2.4.x safely/somewhat safely? silex_88 Linux - Software 3 12-09-2005 11:38 PM
what files can be safely deleted to save disk space? rohan208 Linux - General 9 05-27-2004 08:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration