LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2013, 02:49 PM   #1
Vodkaholic1983
Member
 
Registered: May 2010
Distribution: Windows / Debian
Posts: 163

Rep: Reputation: 0
Auto mount raid help


Hello all

I have this raid

Code:
 fdisk -l

Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149168 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: 0x000d58ec

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048  1448374271   724186112   83  Linux
/dev/sda2      1448376318  1465147391     8385537    5  Extended
Partition 2 does not start on physical sector boundary.
/dev/sda5      1448376320  1465147391     8385536   82  Linux swap / Solaris

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 / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

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

Disk /dev/sdg: 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 / 51
I/O size (minimum/optimal): 512 bytes / 512 by
Disk identifier: 0x00000000

Disk /dev/sdg doesn't contain a valid partitio

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

Disk /dev/sdh doesn't contain a valid partitio

Disk /dev/mapper/isw_bachbeddec_Media: 6001.2
255 heads, 63 sectors/track, 729602 cylinders,
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 40
I/O size (minimum/optimal): 131072 bytes / 393
Disk identifier: 0x00000000

Disk /dev/mapper/isw_bachbeddec_Media doesn't
But am new to linux and am not sure if this is all right?

I am trying to mount the 6tb raid to /media

I am running xbmcbuntu

Thanks
 
Old 05-03-2013, 03:30 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
You have 3 unpartitioned disks /dev/sdb, /dev/sdg and /dev/sdh which you have combined somehow into a 6G RAID.

It isn't clear how you are doing the RAID. The 4 common choices are a RAID card, md, BIOS RAID, or LVM RAID.
I'm sure that there is a case where BIOS RAID is OK, but I don't know what it might be.

At any rate, what happens when you issue the commands?
Code:
mkdir /bettername
mount /dev/mapper/isw_bachbeddec /bettername
Don't use /media, because that name is for, well, media.
If you are using md raid, you should use partitioned disks so you can label them.
If the mount works, then just add an entry in /etc/fstab for the RAID to be automounted.
 
Old 05-03-2013, 03:36 PM   #3
Vodkaholic1983
Member
 
Registered: May 2010
Distribution: Windows / Debian
Posts: 163

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smallpond View Post
You have 3 unpartitioned disks /dev/sdb, /dev/sdg and /dev/sdh which you have combined somehow into a 6G RAID.

It isn't clear how you are doing the RAID. The 4 common choices are a RAID card, md, BIOS RAID, or LVM RAID.
I'm sure that there is a case where BIOS RAID is OK, but I don't know what it might be.

At any rate, what happens when you issue the commands?
Code:
mkdir /bettername
mount /dev/mapper/isw_bachbeddec /bettername
Don't use /media, because that name is for, well, media.
If you are using md raid, you should use partitioned disks so you can label them.
If the mount works, then just add an entry in /etc/fstab for the RAID to be automounted.
But it is for media

forgot to say when I run

Code:
 mount -t auto /dev/mapper/isw_bachbeddec_Media /media
it mounts and shows in xbmc as a full drive.

the raid was made via intel matrix if that helps.
 
  


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
Hardware RAID refuses to auto mount after reboot jsniper Linux - Hardware 5 07-05-2012 03:46 PM
[SOLVED] Auto-mount Software Raid Array paulkc Linux - Software 3 07-04-2012 08:28 AM
[SOLVED] How to auto-mount a NTFS RAID partition? giyad Linux - Hardware 15 02-03-2010 07:49 PM
unable to auto mount /dev/md0 RAID 1 TheMatrix64 Linux - Newbie 4 04-09-2007 07:49 PM
autofs enabled in kernel but auto.mount and auto.master are NOT in /etc! Alybyzrp Linux - General 0 11-11-2003 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 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
Open Source Consulting | Domain Registration