LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2017, 09:33 AM   #1
rizwan65
LQ Newbie
 
Registered: Jan 2011
Posts: 9

Rep: Reputation: 0
Dedicated server with 2 drives as RAID1


Hi
I am sort of newbie to linux, using hit & trial method to learn something new

Anyways I have just aquired dual drive (250GB each) Pre-Configured dedicated server which was installed using the install link provided in panel.

I have installed webmin/virtualmin to easyfy things

I want to use the 2 drives for RAID1

Below is the output of few commands I know

Quote:

[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg-root 225G 25G 189G 12% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sda1 243M 68M 162M 30% /boot
/dev/mapper/vg-tmp 976M 4.1M 921M 1% /tmp
[root@server ~]# mount
/dev/mapper/vg-root on / type ext4 (rw,noatime,grpquota,discard,usrquota)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext2 (rw)
/dev/mapper/vg-tmp on /tmp type ext4 (rw,noatime,discard)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
 
Old 04-03-2017, 05:14 AM   #2
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Location: Horgau, Germany
Distribution: Manjaro KDE, Win 10
Posts: 2,195

Rep: Reputation: 164Reputation: 164
Usually, yo have to setup the drives with RAID during installation.
 
Old 04-03-2017, 04:18 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,512

Rep: Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014Reputation: 3014
I might be not reading what you have but if you have lvm you could move stuff around maybe and add the second drive to the array. Pretty sure I recall that from lvm stuff read long ago.
 
Old 04-04-2017, 04:45 AM   #4
rizwan65
LQ Newbie
 
Registered: Jan 2011
Posts: 9

Original Poster
Rep: Reputation: 0
@Keruskerfuerst
Actually this server is pre-configured and is installed by clicking the link

@jefro
I think it is LVM and there is one virtual group in it named 'vg' which is 232.81GB in size. But I don't know how to move stuff, should I have to create another virtual group oe what else.



Rizwan
 
Old 04-04-2017, 04:54 AM   #5
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
So is there a /dev/sdb? I'd check that. If there is then both disks are being presented to the OS.

madam would probably be the facility that you are after but it is definitely easier to set-up during installation, rather than post installation. Alternative if the physical box supports it, you could set-up the RAID1 on a hardware or embedded RAID. My personal preferences tends to be hardware -> software -> embedded. I'd only use embedded as a last resort, since they tend to be flaky from experience.
 
Old 04-05-2017, 04:45 AM   #6
rizwan65
LQ Newbie
 
Registered: Jan 2011
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by r3sistance View Post
So is there a /dev/sdb? I'd check that. If there is then both disks are being presented to the OS.

madam would probably be the facility that you are after but it is definitely easier to set-up during installation, rather than post installation. Alternative if the physical box supports it, you could set-up the RAID1 on a hardware or embedded RAID. My personal preferences tends to be hardware -> software -> embedded. I'd only use embedded as a last resort, since they tend to be flaky from experience.
Well there are 2 Drives there
/dev/sdb 239GB
/dev/sda 243MB /root

Below is the outupt of df -h

[root@server ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg-root 225G 44G 170G 21% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sda1 243M 68M 162M 30% /boot
/dev/mapper/vg-tmp 976M 4.1M 921M 1% /tmp
 
  


Reply

Tags
dedicated, raid1


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dual dedicated hard drives jmepisman Linux - Newbie 3 01-15-2013 08:49 AM
Replacing RAID1 drives to new ones GasPipe Slackware 3 01-13-2012 06:39 AM
RAID1 with 3 live drives? GregIthaca Linux - Newbie 2 06-16-2010 06:25 PM
Adding 2 new SATA drives as RAID1 danimalz Debian 1 02-08-2009 12:54 PM
Changing to bigger drives Raid1 DigiCrime Linux - Software 0 09-26-2008 07:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration