Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th May 2010, 18:34
MattJo. MattJo. is offline
Member
 
Join Date: May 2010
Posts: 40
Thanks: 16
Thanked 0 Times in 0 Posts
Default Ubuntu Server on RAID 1 boot with RAID 1 data array.

Hello,


I would like to install Ubuntu Lucid Perfect Server with ISPConfig 3 onto a RAID 1 boot array and store the data on a secondary array also in RAID 1.

I have seen instructions on how to install the system onto a RAID 1, but not in the about config and also they don't say anything about whether I need to configure the onboard RAID controller (Intel Matrix).

I had originally tried to install onto an array configured with the onboard RAID, but the installation failed.

Any help would be much appreciated

For reference the board I am using in this build is a Supermicro X7SBL-LN2.

thanks,

Matt
Reply With Quote
Sponsored Links
  #2  
Old 31st May 2010, 01:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

These guides might help:
If you use LVM:
http://www.howtoforge.com/how-to-set...n-debian-lenny

If you don't use LVM:
http://www.howtoforge.com/how-to-set...n-debian-lenny
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
MattJo. (31st May 2010)
  #3  
Old 31st May 2010, 15:38
MattJo. MattJo. is offline
Member
 
Join Date: May 2010
Posts: 40
Thanks: 16
Thanked 0 Times in 0 Posts
Default Install ISPconfig 3 on data array

Falko,

I was able to get server up and running with the RAID boot array--I actually was able to install and configure from scratch using the instructions on the main canonical site--initially had some grub errors, but apparently (at least with my system) this is/was solved by disabling the floppy drive/drive A/anything remotely related to floppy drives.

Anyway, I don't have a clue how to proceed with installing ISPConfig and its parts onto the data array. Or rather I would like to ensure that the users data is stored on the data array (ie FTP files, e-mails, web pages, databases, etc.).

Is there a simple command I can input while following your instructions for this or is this a larger endeavor than it would appear?

thanks,

Matt
Reply With Quote
  #4  
Old 1st June 2010, 15:43
MattJo. MattJo. is offline
Member
 
Join Date: May 2010
Posts: 40
Thanks: 16
Thanked 0 Times in 0 Posts
Default RAID running/Directories

OK, apologies for the overlap--I know this isn't the ISPconfig forum, but since this started here.... Also for my complete ignorance.

So, I have the RAID setup on both the boot disk and the data disk with Lucid installed. However, I think the install defaulted to using dmraid instead of mdadm. I know that mdadm by all accounts is preferable to dmraid--how can I tell which is used? If it is dmraid can I use your guide to change over to mdadm--or am I a complete idiot and misconstruing everything?

Second question. When I installed, I configured the DATA array to have the /home directory essentially out of--my ignorant--attempt to make sure that the FTP directories, e-mail database, etc were created on the larger data drive when I installed ISPconfig. So, assuming this was completely noobed-up what should I do to ensure that the databases, FTP, emal, etc.,. end up on the larger data array? Do I have to install and then move particular directories? What/how settings do I have to change assuming this is the case?

thanks much for your help.

Matt
Reply With Quote
  #5  
Old 2nd June 2010, 01:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Can you post the outputs of
Code:
cat /proc/mdstat
and
Code:
mount
? What's in /etc/fstab?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 2nd June 2010, 04:46
MattJo. MattJo. is offline
Member
 
Join Date: May 2010
Posts: 40
Thanks: 16
Thanked 0 Times in 0 Posts
Default

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sdd1[1] sdc1[0]
1953513408 blocks [2/2] [UU]

md0 : active raid1 sdb1[1] sda1[0]
7811008 blocks [2/2] [UU]

md1 : active raid1 sdb2[1] sda2[0]
23453632 blocks [2/2] [UU]

unused devices: <none>


/dev/md1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/md2 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/*______*/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=*______*)

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/md1 during installation
UUID=300c9de9-ed89-4206-b6ab-999x99x99x99 / ext4 errors=remount-ro 0 1
# /home was on /dev/md2 during installation
UUID=238ff430-b67f-48e9-9ebf-999x99x99x99 /home ext4 defaults 0 2
# swap was on /dev/md0 during installation
UUID=25d7a156-a5ff-4304-a04e-999x99x99x99 none swap sw 0 0
Reply With Quote
  #7  
Old 2nd June 2010, 19:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

Looks good. You're using mdadm.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
MattJo. (3rd June 2010)
Reply

Bookmarks

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Email problem 'Cannot set my user or group id.' (using ISPConfig 3 + OpenSuSE 11.2) urosm Installation/Configuration 5 19th June 2010 23:41
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 17:59
The Perfect Setup - Debian Etch (Debian 4.0) some trouble daniel80 HOWTO-Related Questions 26 1st February 2008 17:30
Rejecting outbound mail tristanlee85 General 11 20th May 2007 18:04
The Perfect Setup Suse 9.3 - Postfix problems new_bee05 HOWTO-Related Questions 20 25th November 2005 03:30


All times are GMT +2. The time now is 14:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.