LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 12-06-2005, 11:49 AM   #1
daemon_14
Member
 
Registered: Jul 2003
Location: Mesa, AZ
Distribution: CentOS 5 (Cisco Apps), Ubuntu Server (8.10), Ubuntu Desktop (8.10)
Posts: 46

Rep: Reputation: 15
Non-booting RAID1


ok...here's my dilemma....
I'm running an FTP box for my school district using ProFTP. I have my configuration exactly the way i want it. There is no anonymous login and each user is chrooted into their home directory. I have a 15GB hard drive (/dev/hda) that is my boot drive, and houses a few local users home directories (basically its insurance to login if my RAID fails). All FTP users have home directories on the /mnt/ftp-raid folder, which is created from two IBM SCSI drives (9.1GB each) in a RAID1 meta-drive setup. However, when booting the linux box, i lose my RAID devices. I can recreate them using mdadm, but i would like them to be created at boot.
Before we beat the obvious to death:
- I have given RAID support to the kernel
- The device has been added to fstab
- When booting, i get an error regarding a bad superblock on the device. I have zeroed the superblocks on both drives several times.
- I am using ext2 as the filesystem on /dev/md1, but it gives me errors (at boot) saying there is no ext2 filesystem found.
- I have created my /etc/mdadm/mdadm.conf file using mdadm --detail --scan >> /etc/mdadm/mdadm.conf
- mdadm is running at boot-up as defined by /etc/rcS.d
- After booting and logging in, i can manually create the device using mdadm and naming the drives manually, but i cannot start the device up as a service and the existing configs.

Code:
RVHTC-Debian-FTP:/etc/mdadm# cat mdadm.conf
DEVICE /dev/sda* /dev/sdb*
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=17a455f0:892ec477:49dc5bff:013eb74a
   devices=/dev/sda,/dev/sdb
Code:
RVHTC-Debian-FTP:/etc/mdadm# cat /proc/mdstat
Personalities : [raid1]
read_ahead 1024 sectors
md1 : active raid1 scsi/host0/bus0/target6/lun0/disc[1] scsi/host0/bus0/target4/lun0/disc[0]
      8958080 blocks [2/2] [UU]

unused devices: <none>
Code:
RVHTC-Debian-FTP:/etc/mdadm# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/hda10       /home           ext3    defaults        0       2
/dev/hda8       /tmp            ext3    defaults        0       2
/dev/hda5       /usr            ext3    defaults        0       2
/dev/hda9       /usr/local      ext3    defaults        0       2
/dev/hda6       /var            ext3    defaults        0       2
/dev/hda7       none            swap    sw              0       0
/dev/md1        /mnt/ftp-raid   ext2    defaults        0       2
/dev/hdd        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
I can post more code if needed. I just figured that this would get the wheels turning. I've been looking and trying a few new things. Any help would be greatly appreciated.

Thanks,
Quinn Snyder
 
Old 12-08-2005, 12:10 AM   #2
daemon_14
Member
 
Registered: Jul 2003
Location: Mesa, AZ
Distribution: CentOS 5 (Cisco Apps), Ubuntu Server (8.10), Ubuntu Desktop (8.10)
Posts: 46

Original Poster
Rep: Reputation: 15
moderator,
can i possibly get this post bumped to the hardware forum...? I don't want to repost this under the hardware forum, and i feel that might be a better home for this question.

Thanks,
q.
 
  


Reply


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
Booting Slackware 9.1 from VIA VT8237 SATA RAID1 array thefiddler Slackware 3 06-20-2009 08:06 AM
Suse 9.3 and Raid1 Donald1000 Linux - Hardware 1 07-28-2005 08:07 AM
Raid1 setup spitfire999 Linux - Newbie 1 03-27-2005 10:50 PM
delete raid1 toneys Linux - General 2 09-22-2004 12:38 AM
RAID1 Problem DrTebi Linux - General 0 11-26-2003 07:36 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration