LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-21-2010, 04:34 AM   #1
silent2k
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Rep: Reputation: 0
Question install server,configure samba and raid1


<silent-> my company gave me a small project do in linux , i need you to give me some advice.
<silent-> basically its will be a file server and something like 5 users will need to access a shared folder
<silent-> 1- first i will need to install an os, i guess i will install centos
<silent-> 2- i will need to share a folder i guess with samba give it full control, then the user from windows machines can accept the shar through a mapped drive , example t:
<silent-> 3- i will need to configure raid 1
<silent-> 4- i wanted to know what are my recovery options, how do i do do backup, if something happend can i recover my system to another day ? is there a tool i can install that create an image and then when i want i can restore back the image.
<silent-> for step 2, and 3 i think i need a how to toturial step by step cause i never done that.

thanks a lot
 
Old 12-21-2010, 05:24 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
What you want to do is not too difficult a task. You should first plan your installation and RAID configuration. Now that you want RAID 1, you can see here http://www.firstpr.com.au/web-mail/CentOS-5.1-RAID-1/ assuming that you are looking at software raid and not the hardware part. If it is a hardware raid, procedure is going to be different entirely. And possibly you can configure raid at installation. It will save you time later.
THIS LINK will help you with samba configuration.
You need to have a backup at any cost if your server is a production server. There is a saying, he who had a last laugh probably has backups. There are a lot of options for backup. You will need to decide on yourself how big your backups are going to grow and what you want and how important the data is going to be.
RSYNC is one of the best for backups even incremental as well. There are GUI front end tools for rsync if you are not familiar with it.
There are other backup softwares like Amanda, Bacula among others.
You can have a image of your installation as well. You can use CloneZilla for the same.
 
Old 12-26-2010, 11:50 PM   #3
silent2k
LQ Newbie
 
Registered: Aug 2008
Posts: 5

Original Poster
Rep: Reputation: 0
chaitanya thanks for the useful reply.

From your first link there is an explanation how to do a clone of raid1 to a third disk.

MY 2 raid1 Disks are 1 Terra. The third disk is 500 gb.

When i did cp /dev/sda /dev/sdb , i got cp writing /dev/sdb : no space left on device.

I dont get this i just installed centos gui server, and nothing on it.
Now i tried to a disc to disc clone through clonezilla it said not enough space.
I am doing now a an image backup to a third disc and now the status is 450gb and its growing... i cancelled it

I really dont get this..what is taking the space..whats going on here..

i shut down the third disc...plugged in again the the raid1 second disc..

[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 895G 2.4G 847G 1% /
/dev/md0 190M 18M 163M 10% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm

as u can see i used 2.4 gigs, so why when i try to do an image or disk to disk clone to a 500 gigs it says no space..
or if i do to a bakcup to image it was getting 430 gigs so i canceled it.

thanks

Last edited by silent2k; 12-27-2010 at 02:14 AM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure a samba server? skanthsuku Linux - Newbie 7 05-30-2010 03:41 AM
How to configure Raid1? Rahul Kolan Linux - Software 1 11-25-2009 03:40 AM
[SOLVED] How do I install GRUB on both MBRs of a two disk RAID1 array (Ubuntu server)? Woozle Linux - Newbie 8 08-09-2008 04:34 PM
newbie - need help to configure RAID1 xdragon Fedora 7 07-19-2006 01:06 AM
Want to configure Samba Server Lahore Linux - Enterprise 1 06-05-2006 01:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:05 PM.

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