LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-06-2013, 11:03 AM   #1
Xencored
LQ Newbie
 
Registered: Dec 2013
Distribution: Windows 8 / Debian /Ubuntu
Posts: 4

Rep: Reputation: Disabled
Can't seem to get a raid to auto mount on start up


Howdy all I can't see them get a raid drive to mount on start up, I'm using xbmcbuntu.

Code:
cd /dev/disk/by-uuid
ls -l
total 0
lrwxrwxrwx 1 root root 10 Dec  6 15:39 45444056-629f-48b7-9e30-4ce06ebd1fc0 -> ../../sdc1
lrwxrwxrwx 1 root root 10 Dec  6 15:39 b85a525c-6273-4c6b-8503-21052800a3cd -> ../../dm-0
lrwxrwxrwx 1 root root 10 Dec  6 15:39 bf67eb28-1173-4f1e-92a8-618488ff4bbc -> ../../sdc5

And this is my fstab

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>
# / was on /dev/sdb1 during installation
UUID=45444056-629f-48b7-9e30-4ce06ebd1fc0 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sdb5 during installation
UUID=bf67eb28-1173-4f1e-92a8-618488ff4bbc none            swap    sw              0       0
# Raid Media Drive
UUID=b85a525c-6273-4c6b-8503-21052800a3cd             /Media    ext4              0       2
The problem is it will not mount on reboot, keeps coming up with can't mount /Media.

Has anyone any ideas my linux skill are very poor.

Thanks
 
Old 12-07-2013, 10:15 AM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,102

Rep: Reputation: 181Reputation: 181
what are you trying to do, configure a RAID on startup?

you mean do you want to configure a software RAID?

check out this link: http://www.youtube.com/watch?v=jLF86k2Hfok

IMHO, a hardware RAID is much better than software RAID.

Last edited by JJJCR; 12-07-2013 at 10:17 AM. Reason: edit
 
Old 12-10-2013, 01:15 AM   #3
kapilbajpai88
Member
 
Registered: Jul 2008
Location: Bangalore, India
Distribution: RHEL
Posts: 235

Rep: Reputation: 41
Just put info about your RAiD(mdadm --examine --scan >> /etc/mdadm.conf) in /etc/mdadm.conf and it should be enabled during boot automatically.

However, I was checking the auto-mount for RAID in general, and found this article quite helpful :
http://www.linuceum.com/Server/srvRAIDAuto.php

See if that helps.
 
Old 12-10-2013, 01:34 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Quote:
Originally Posted by Xencored View Post
keeps coming up with can't mount /Media.
What is the exact error message? Have you created a directory called /Media first (please don't confuse it with /media, which is for a different purpose)?
 
Old 12-10-2013, 04:54 PM   #5
Xencored
LQ Newbie
 
Registered: Dec 2013
Distribution: Windows 8 / Debian /Ubuntu
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JJJCR View Post
what are you trying to do, configure a RAID on startup?

you mean do you want to configure a software RAID?

check out this link: http://www.youtube.com/watch?v=jLF86k2Hfok

IMHO, a hardware RAID is much better than software RAID.
Howdy it is a hardware raid I think (on board intel matrix iirc)

Quote:
Originally Posted by kapilbajpai88 View Post
Just put info about your RAiD(mdadm --examine --scan >> /etc/mdadm.conf) in /etc/mdadm.conf and it should be enabled during boot automatically.
[/url]

See if that helps.
What stuff mate? Linux noob here

Quote:
Originally Posted by TobiSGD View Post
What is the exact error message? Have you created a directory called /Media first (please don't confuse it with /media, which is for a different purpose)?
I get this
http://i.imgur.com/17Fv7Op.jpg
Ive changed the directory to raid/media now. (but the /Media was indeed there.
 
Old 12-10-2013, 08:15 PM   #6
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,102

Rep: Reputation: 181Reputation: 181
Quote:
I get this
http://i.imgur.com/17Fv7Op.jpg
Ive changed the directory to raid/media now. (but the /Media was indeed there.
What's the status right now? You see the media and what?

The link you posted with the picture i'm not able to view.

or check out this link: http://linux.ittoolbox.com/groups/te...-level-4672817

and check out this thread also it might give you an idea: http://www.linuxquestions.org/questi...el-4175411340/

Last edited by JJJCR; 12-10-2013 at 08:16 PM. Reason: edit
 
Old 12-10-2013, 08:31 PM   #7
Xencored
LQ Newbie
 
Registered: Dec 2013
Distribution: Windows 8 / Debian /Ubuntu
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JJJCR View Post
What's the status right now? You see the media and what?

The link you posted with the picture i'm not able to view.

or check out this link: http://linux.ittoolbox.com/groups/te...-level-4672817

and check out this thread also it might give you an idea: http://www.linuxquestions.org/questi...el-4175411340/
lshw -short -C disk gave my command not found

fdisk -l gave em this

Code:
fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 2000.4 GB, 2000397852160 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907027055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sda doesn't contain a valid partition table

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 2000.4 GB, 2000397852160 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907027055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdc: 2000.4 GB, 2000397852160 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907027055 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/mapper/isw_djhbfcbcj_Media: 6001.2 GB, 6001185521664 bytes
255 heads, 63 sectors/track, 729602 cylinders, total 11721065472 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 131072 bytes / 393216 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/isw_djhbfcbcj_Media doesn't contain a valid partition table

Disk /dev/sdd: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117231408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004c611

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *        2048   108845055    54421504   83  Linux
/dev/sdd2       108847102   117229567     4191233    5  Extended
/dev/sdd5       108847104   117229567     4191232   82  Linux swap / Solaris
root@XBMC:/home/xbmc#
 
Old 12-10-2013, 09:28 PM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,102

Rep: Reputation: 181Reputation: 181
Do you have external devices connected to your box?

From the fdisk result it looks like you haven't configured partition on those devices.

So you want all those devices to be available on startup?

Make a partition, and configure fstab to mount those devices.

check out this link to make a partition:

http://www.ibm.com/developerworks/op...4-1/index.html
 
Old 12-10-2013, 09:30 PM   #9
Xencored
LQ Newbie
 
Registered: Dec 2013
Distribution: Windows 8 / Debian /Ubuntu
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by JJJCR View Post
Do you have external devices connected to your box?

From the fdisk result it looks like you haven't configured partition on those devices.

So you want all those devices to be available on startup?

Make a partition, and configure fstab to mount those devices.

check out this link to make a partition:

http://www.ibm.com/developerworks/op...4-1/index.html
I'm running a 6tb raid and it's working fine. But it just will not mount startup.
No there are not external drives

60gbSSD running xbmcbuntu
and 3x 2TB drives in a 6TB
 
Old 12-10-2013, 10:14 PM   #10
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,102

Rep: Reputation: 181Reputation: 181
Cool

Quote:
Originally Posted by Xencored View Post
I'm running a 6tb raid and it's working fine. But it just will not mount startup.
No there are not external drives

60gbSSD running xbmcbuntu
and 3x 2TB drives in a 6TB
it will not mount on startup but if you mount it manually is it okay?

what is the file system ext3?

you might have hit the limit of the file system.

check out this thread: http://www.linuxquestions.org/questi...limits-620346/
 
  


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
Auto mount raid help Vodkaholic1983 Linux - Software 2 05-03-2013 04:36 PM
Hardware RAID refuses to auto mount after reboot jsniper Linux - Hardware 5 07-05-2012 04:46 PM
[SOLVED] Auto-mount Software Raid Array paulkc Linux - Software 3 07-04-2012 09:28 AM
[SOLVED] How to auto-mount a NTFS RAID partition? giyad Linux - Hardware 15 02-03-2010 08:49 PM
unable to auto mount /dev/md0 RAID 1 TheMatrix64 Linux - Newbie 4 04-09-2007 08:49 PM


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