LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-14-2009, 09:10 AM   #1
Chiyo
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Rep: Reputation: 0
Mounting a Raid 0 with truecrypt on it Ubuntu


Hi,
First of all let me say that I am a total noob when it comes to linux. I am sick of windows, and decided to install ubuntu on my system. I can get everything to work, I was even able to mount 2 of my drives with Truecrypt, but Ubuntu does not want to mount my raid drives. I really need help, and will really appreciate it!

My system:
15 hard disks:
1 WD 32 gb (10000RPM) this is my windows drive and Ubuntu drive
14 other drives are all 500GB

I have a pretty old motherboard. this motherboad has 8 sata ports allready on it. although 4 of these are NVIDIA sata raid chipset. Then I have 2 sil 3114 SATARaid cards.

System setup:

4 sata (non-raid)
1. 32gb windows xp (partitioned into windows and linux!)
2. 500gb
3. 500gb
4. 500gb

4 sata Nvidia raid controllor (on the motherboard)
these don't actually use a raid. They are individual drives. but they will require to be mounted.
1. 500gb
2. 500gb
3. 500gb
4. 500gb

Sil raid card #1:
1. 500gb, 2. 500gb, 3. 500gb = 1500gb raid 0 (windows this mounts just fine)
Sil raid card #2:
1. 500gb, 2. 500gb = 1000GB raid 0 (mounts fine in windows)
3. 500gb, 4. 500gb = 1000GB raid 0 (mounts fine in windows)

Ubuntu detects all the hard drives in device manager! I installed truecrypt and truecrypt can successfully mount all the encrypted disks from the (MOBO 4 sata non-raid)

BUT THAT IS ALL THAT WILL WORK!

I have been trying to figure out, searching for hours on end on how to mount the other drives. BUT I am getting nowhere. If someone don't help me, I am going to have to go back to windows which would be a real shame!

The problem is that linux will not read the SATA raid as 1 big drive. It shows them individually. So I think i will have to mount the drives with dmraid, and then I can just use truecypt to mount them. But I have had no success. I need someone to really help me out here. Step by step what I have to do.

Thanks in advance
Chiyo

Last edited by Chiyo; 12-14-2009 at 09:14 AM.
 
Old 12-14-2009, 09:22 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Do you need to use fake raid at all? Is going LVM an option? I'd do that if I were you. LVM is much better than RAID 0 and RAID 1.
 
Old 12-14-2009, 09:28 AM   #3
Chiyo
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Nope Those drives are almost completely filled. + I need the data to be accessible on both windows and linux.
The thing I don't get though... why won't it just mount? I mean cmon... raid? that should be in linux by now shouldn't it? I could change distro's though. That is an alternative. If there is a Distro that will solve my problem I am switching in 3 seconds. Cause its so confusing. I don't even know if I have to mount the fake raid as NTFS or something else. I tried mounting it as ntfs but then it says not possible. Well even WINDOWS realizes that it is not ntfs, only when the drive is mounted in truecrypt will it show up as ntfs. And thats the biggest thing that is confusing me.
 
Old 12-14-2009, 09:41 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
The command is:
Code:
sudo dmraid -ay
That should activate all your fake raid devices.
If that does not work,
Code:
sudo dmraid -s
will print some information about the raid devices it found.

Then you can use the /dev/mapper/nvidia_dgicebef device and mount /dev/mapper/nvidia_dgicebefn
 
Old 12-14-2009, 09:49 AM   #5
Chiyo
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Original Poster
Rep: Reputation: 0
First of all Thank you so much Agrouf for helping me
Yeh I have already gotten to this point before.
However I have no idea to get beyond this point.

chiyo@chiyo:~$ sudo dmraid -ay
[sudo] password for chiyo:
RAID set "sil_afababaaabab" already active
RAID set "sil_afababaaaacg" already active
RAID set "sil_afababaaaaca" already active
RAID set "sil_afababaaaaag" already active
RAID set "sil_afabababcbba" already active
RAID set "sil_afabababcaca" already active
RAID set "sil_afabababafce" already active
RAID set "sil_afababaaabab1" already active
RAID set "sil_afababaaaacg1" already active
RAID set "sil_afababaaaaca1" already active
RAID set "sil_afababaaaaag1" already active
RAID set "sil_afabababcbba1" already active
RAID set "sil_afabababcaca1" already active
RAID set "sil_afabababafce1" already active

chiyo@chiyo:~$ sudo dmraid -s
*** Active Set
name : sil_afababaaabab
size : 976771630
stride : 0
type : linear
status : ok
subsets: 0
devs : 1
spares : 0
*** Active Set
name : sil_afababaaaacg
size : 976771630
stride : 0
type : linear
status : ok
subsets: 0
devs : 1
spares : 0
*** Active Set
name : sil_afababaaaaca
size : 976771630
stride : 0
type : linear
status : ok
subsets: 0
devs : 1
spares : 0
*** Active Set
name : sil_afababaaaaag
size : 976771630
stride : 0
type : linear
status : ok
subsets: 0
devs : 1
spares : 0
*** Active Set
name : sil_afabababcbba
size : 1953542144
stride : 128
type : stripe
status : ok
subsets: 0
devs : 2
spares : 0
*** Active Set
name : sil_afabababcaca
size : 1953542144
stride : 128
type : stripe
status : ok
subsets: 0
devs : 2
spares : 0
*** Active Set
name : sil_afabababafce
size : 2926118784
stride : 128
type : stripe
status : ok
subsets: 0
devs : 3
spares : 0
chiyo@chiyo:~$

But what do I do now? what command do i use? Also don't forget that they are encrypted with truecrypt
 
Old 12-14-2009, 10:06 AM   #6
Chiyo
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Agrouf would it maybe be possible for you to log into my computer. Since you live in france you aren't that far from belgium, should work fine. Trying to set up vino now. but it only says that local is available for some reason. Must be that the ports are blocked in my router
 
Old 12-14-2009, 10:23 AM   #7
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Actually you have nothing to do then. dmraid is already active it seems.
Just mount /dev/mapper/sil_afababaaabab1 to wherever you want with truecrypt.
 
Old 12-14-2009, 10:30 AM   #8
Chiyo
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Well the problem is that when i try to mount it with truecrypt, that it just wont work! it only finds 2 hard drives to mount. do I have to manually select them? I think the reason why it won't work is because it sees the raids as seperate drives. Although it does something like this 1000gb, then underneith it 500gb. I think I have to combine these 2 into one raid, and then truecrypt will be able to detect it. Or am I completely misunderstanding something? hmpf i am at a point where i am willing to pay people to fix this. Its so frustrating, i just want the drives mounted! I will pay anyone 10usd via paypal if they can fix this problem for me!
 
Old 12-14-2009, 10:48 AM   #9
Chiyo
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Original Poster
Rep: Reputation: 0
I have gotten my VNC to work. Anyone willing to help me set this up through vnc? I would be so gratefull
 
Old 12-14-2009, 11:01 AM   #10
Chiyo
LQ Newbie
 
Registered: Dec 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Agrouf you are my new hero! you were correct. ALl i had to do was select them with truecrypt. The automount wouldn't work. I have to do them each individually. BUT OMG I am so happy. Thank you so much!
 
Old 12-15-2009, 12:44 AM   #11
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
I'm happy to see you're happy.
 
  


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
[SOLVED] Mounting an NTFS RAID-0 stripe in Ubuntu 9.04 64 bit giyad Linux - Hardware 17 05-28-2010 01:58 PM
Mounting a RAID-0 Ubuntu 9.10 [Windows 7 as dual boot] thursday Linux - Hardware 2 11-24-2009 05:45 PM
Truecrypt NTFS filesystem mounting read only in Incognito Esop Incognito 5 07-28-2009 01:53 PM
TrueCrypt graphical user interface problem with mounting franz_70 Linux - Software 1 06-15-2009 04:40 PM
Problems mounting Truecrypt volume in Suse 10 Leslie Mackeen Linux - Security 2 06-16-2006 01:23 PM


All times are GMT -5. The time now is 03:06 AM.

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