LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 05-18-2006, 09:36 AM   #1
aoberoi
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Rep: Reputation: 0
Mounting NTFS partition from SATA RAID


I was having trouble mounting my NTFS partition from the RAID controller on my MB.

I'm still pretty noob.. all ive done in ubuntu is c programming in a text editor like emacs and installed and updated a few packages...

any way... this is what i did..

output of fdisk -l:
Quote:
ankur@ankurpc:~$ sudo fdisk -l

Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 2330 18715693+ 83 Linux
/dev/hdb2 2331 2434 835380 5 Extended
/dev/hdb5 2331 2434 835348+ 82 Linux swap / Solaris

Disk /dev/sda: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

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

Disk /dev/sdb: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 72961 586059201 7 HPFS/NTFS
then i added the last line into my /etc/fstab so it looked like this...
Quote:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdb1 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb5 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdc /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sdb1 /mnt/winpart ntfs users,owner,ro,umask=000 0 0
i created the mountpoint earlier so /mnt/winpart DOES exist.

here is some other info that might help:
im using ubuntu 5.10 amd64
the MD is a ASUS K8V SE Deluxe
the RAID controller is the Promise FastTrack chipset PDC20378
its configured in RAID 0 (striping) and it is bootable with windows installed on the partition
theres one big partition made from 2 300GB seagate disks

if theres any other info needed to help... ill gladly post it up...

i hope someone has an idea and id appreciate any feedback...

thanks
 
Old 05-18-2006, 09:39 AM   #2
aoberoi
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
Im also gonna guess teh problem is related to the fact that there are 2x300GB disks on the RAID array.. and its only seeing it as one 300GB disk in fdisk -l. Also just to clarify, I have an additional 20GB drive in the machine on which ubuntu is installed and its on the motherboard's regular IDE controller. so the complete setup is 2x300GB seagate disks in RAID 0 and 1 20GB disk on the IDE controller.
 
Old 05-18-2006, 10:10 AM   #3
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Since you are using software RAID you need to use dmraid under Linux to deal with this.
 
Old 05-18-2006, 10:30 AM   #4
aoberoi
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
what is dmraid? how would i go about setting it up?
 
Old 05-18-2006, 10:50 AM   #5
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
Morpheus: I'm trying to free your mind, Neo. But I can only show you the door. You're the one that has to walk through it.



Use your package management tool to install it, read dmraid documentation, Google will give you answers to about every question you might have - instantly. If stuck - come back here.
 
Old 05-19-2006, 09:26 PM   #6
aoberoi
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
haha thanks... i appreciate the learners approach

this is as far as i got on my own

Quote:
root@ankurpc:~# dmraid -r
/dev/sda: pdc, "pdc_deihdadhbj", stripe, ok, 586072192 sectors, data@ 0
/dev/sdb: pdc, "pdc_deihdadhbj", stripe, ok, 586072192 sectors, data@ 0
root@ankurpc:~# dmraid -ay
RAID set "pdc_deihdadhbj" already active
RAID set "pdc_deihdadhbj1" already active
root@ankurpc:~# fdisk -l

Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 2330 18715693+ 83 Linux
/dev/hdb2 2331 2434 835380 5 Extended
/dev/hdb5 2331 2434 835348+ 82 Linux swap / Solaris

Disk /dev/sda: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

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

Disk /dev/sdb: 300.0 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 72961 586059201 7 HPFS/NTFS
so my fdisk -l looks the same... ive looked around and havent really understood what to do from here... i didnt even kno what i wanted the dmraid -ay command to do but it just seemed like that was the use that all the sites ive seen had used it in. apparently most ppl are concerned with gettin thier linux distro installed ON the raid which is not the case with me...

so what should my next step be if you dont mind Morpheus?
 
Old 05-19-2006, 10:39 PM   #7
aoberoi
LQ Newbie
 
Registered: Mar 2006
Posts: 17

Original Poster
Rep: Reputation: 0
SUCCESS... it just took a lot of fiddling around... so the problem is i had to run this command....

root@ankurpc:/# mount -t ntfs /dev/mapper/pdc_deihdadhbj1 /mnt/raid/

which mounts the filesystem found on that device to the mountpoint /mnt/raid/

thanks for your help emerson
 
  


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
mounting NTFS SATA RAID-0 drives with knoppix drawagoat Linux - Newbie 2 04-29-2006 04:54 AM
HELP!!! I have a problem mounting my SATA ntfs HDD patatoemasher Debian 3 06-25-2005 07:05 AM
fstab and grub and NTFS partition on SATA Moses Palmér Linux - Newbie 3 02-25-2005 07:24 AM
mount ntfs SATA Raid Youbou Linux - Hardware 1 02-23-2005 07:04 AM
Reading from RAID 0 SATA NTFS Drive fizgigtiznalkie Linux - Hardware 5 08-29-2004 04:18 PM


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