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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-18-2006, 09:36 AM
|
#1
|
LQ Newbie
Registered: Mar 2006
Posts: 17
Rep:
|
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
|
|
|
05-18-2006, 09:39 AM
|
#2
|
LQ Newbie
Registered: Mar 2006
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
05-18-2006, 10:10 AM
|
#3
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep:
|
Since you are using software RAID you need to use dmraid under Linux to deal with this.
|
|
|
05-18-2006, 10:30 AM
|
#4
|
LQ Newbie
Registered: Mar 2006
Posts: 17
Original Poster
Rep:
|
what is dmraid? how would i go about setting it up?
|
|
|
05-18-2006, 10:50 AM
|
#5
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep:
|
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.
|
|
|
05-19-2006, 09:26 PM
|
#6
|
LQ Newbie
Registered: Mar 2006
Posts: 17
Original Poster
Rep:
|
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?
|
|
|
05-19-2006, 10:39 PM
|
#7
|
LQ Newbie
Registered: Mar 2006
Posts: 17
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 08:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|