LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-22-2007, 11:02 AM   #1
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

Rep: Reputation: 15
Raid 0 not being read corectly???


I'm trying to mount an ntfs partion that is raid 0 with two 40GB drives. My Linux partitions are on a seperate 40GB drive. I'm not sure if the partitions are being read correctly on the raid. When use the command "fdisk -l" I see the following:
root@darkstar:~# fdisk -l

Disk /dev/hdg: 40.0 GB, 40020664320 bytes
16 heads, 63 sectors/track, 77545 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Disk /dev/hdg doesn't contain a valid partition table
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table 5
Warning: invalid flag 0xfffff313 of partition table 5 will be corrected by w(rite)

Disk /dev/hde: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hde1 2 4717 37881270 f W95 Ext'd (LBA)
/dev/hde2 * 4718 9730 40266922+ 7 HPFS/NTFS
/dev/hde5 ? 141386 166269 199875215+ be Solaris boot

Disk /dev/hdc: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 141 1132551 5 Extended
/dev/hdc2 142 750 4891792+ 83 Linux
/dev/hdc3 751 3183 19543072+ 83 Linux
/dev/hdc4 3184 3427 1959930 82 Linux swap
/dev/hdc5 1 13 104359+ 83 Linux
/dev/hdc6 14 136 987966 83 Linux
 
Old 03-22-2007, 01:56 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
I'm not even sure if that can be done with NTF$ (RAID + NTF$). Do you have support for it in the kernel ?
 
Old 03-22-2007, 02:49 PM   #3
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
I don't know. How would I go about finding out? I'm a newbie some I'm still in the learning stage.
 
Old 03-22-2007, 03:17 PM   #4
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
The software RAID how-to says you can run any filesystem on it. (I hope so)

Check here for the improved driver for NTF$ and more on the topic.

Are you actually going to be writing to an NTF$ partition ? I don't recommend it. AFAIK writing to NTF$ is not well supported and you may get data corruption if you try to write to it too often.
 
Old 03-22-2007, 03:40 PM   #5
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by H_TeXMeX_H
The software RAID how-to says you can run any filesystem on it. (I hope so)

Check here for the improved driver for NTF$ and more on the topic.

Are you actually going to be writing to an NTF$ partition ? I don't recommend it. AFAIK writing to NTF$ is not well supported and you may get data corruption if you try to write to it too often.
I just want to be able to read from it.
 
Old 03-22-2007, 03:45 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,136

Rep: Reputation: 106Reputation: 106
What controller are you using? From the way you phrase your question, I'm guessing it's one of the FakeRaid controllers. If it is, you'll need to run "dmraid -ay". Then, you'll need to mount the device that's under /dev/mapper. It'll be something strange looking like /dev/mapper/sil_bhebhtij1. Let me know which controller and I'll help if I can.
 
Old 03-22-2007, 03:49 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Ok, which kernel are you using ? Check the 'config' file (there should be a 'config.gz' available in '/proc', extract it somewhere) for "NTFS" support. Just search it and see if it says something like:

Code:
#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_NTFS_FS=y
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
 
Old 03-23-2007, 11:51 AM   #8
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Quakeboy02
What controller are you using? From the way you phrase your question, I'm guessing it's one of the FakeRaid controllers. If it is, you'll need to run "dmraid -ay". Then, you'll need to mount the device that's under /dev/mapper. It'll be something strange looking like /dev/mapper/sil_bhebhtij1. Let me know which controller and I'll help if I can.
It's a onboard highpoint controller. Soyo dragon kt 400 motherboard.
 
Old 03-23-2007, 01:50 PM   #9
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,136

Rep: Reputation: 106Reputation: 106
Quote:
It's a onboard highpoint controller. Soyo dragon kt 400 motherboard.
Now, I think we're getting somewhere. Like I said, that is what is called a FakeRaid. Can you please install the dmraid package and run "dmraid -tay" and let me see the response?
 
Old 03-26-2007, 03:26 PM   #10
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Quakeboy02
Now, I think we're getting somewhere. Like I said, that is what is called a FakeRaid. Can you please install the dmraid package and run "dmraid -tay" and let me see the response?
I know how extract the file but I don't know where they would go.
 
Old 03-26-2007, 04:07 PM   #11
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,136

Rep: Reputation: 106Reputation: 106
Quote:
I know how extract the file but I don't know where they would go.
What exactly are you trying to say to me, here? What files do you know how to extract? I don't know how to install programs in slackware, but you want to install "dmraid-1.0.0.rc13" or whatever the exact name is for the rc13 version on slack.

If you know how to install from source, then the source is here: http://people.redhat.com/~heinzm/sw/...0.rc13.tar.bz2

If you don't know, then download the file, put it somewhere where you want it to reside and run:
Code:
tar -j -xf dmraid-1.0.0.rc13.tar.bz2
After that, go into the untarred directory and run:
Code:
make clean
make
Then, su and run:
Code:
make install
dmraid -tay
And give me the results.
 
Old 03-26-2007, 04:18 PM   #12
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,136

Rep: Reputation: 106Reputation: 106
I've just remembered that this will probably be unsuccessful if you don't have the kernel headers or kernel source installed on your system. If there is an installable slackware dmraid, that's the one that will be the least aggravating to get going; even if it's not the latest version.
 
Old 03-27-2007, 10:03 AM   #13
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Quakeboy02
I've just remembered that this will probably be unsuccessful if you don't have the kernel headers or kernel source installed on your system. If there is an installable slackware dmraid, that's the one that will be the least aggravating to get going; even if it's not the latest version.
It didn't work. I haven't been able to find a slackware version

root@darkstar:/home/kenton/downloads/dmraid-1.0.0.rc13# make clean
make: *** No rule to make target `clean'. Stop.
root@darkstar:/home/kenton/downloads/dmraid-1.0.0.rc13# make
make: *** No targets specified and no makefile found. Stop.
root@darkstar:/home/kenton/downloads/dmraid-1.0.0.rc13#
 
Old 03-27-2007, 01:29 PM   #14
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,136

Rep: Reputation: 106Reputation: 106
I should have looked. You need to run "./configure" first for dmraid. Give that a try and then try rerunning the various make commands.

NOTE: Whenever you want to install a package from source, if there's a file called "configure" in the package, then you need to run "./configure" as your first step. The configure step checks to see that all the prerequisites for the package, such as make, gcc, kernel-headers, etc, are installed. If any are missing, it will print a short descriptive message and you will have to install whatever it is that's missing. For example, you're going to need both libdevmapper and libdevmapper-dev. Sorry that I can't give you an exact list of what needs to be done. You just have to deal with the prerequisites as they are noted.
 
Old 03-29-2007, 09:36 AM   #15
jerzeejerome
Member
 
Registered: Aug 2006
Location: Jersey, USA
Distribution: Fedora 6, Slackware
Posts: 66

Original Poster
Rep: Reputation: 15
Tried it this is the result:

root@darkstar:/home/kenton/downloads/dmraid-1.0.0.rc13# ./configure
-su: ./configure: No such file or directory
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
View NTFS Partition with Greek Filenames corectly (UBUNTU) thothoneos Linux - Newbie 2 10-29-2005 09:18 AM
NEEDED NOW : How to read Linux RAID partitions ? johnlefevre Mandriva 19 10-10-2005 05:31 AM
NEEDED NOW : How to read Linux RAID partitions ? johnlefevre Linux - Newbie 4 10-08-2005 06:41 PM
Starting RAID devs - Superblocks NOT read... tahiche Linux - Software 2 09-03-2005 04:25 PM
why my DNS is not working corectly genie Linux - Security 2 03-09-2004 01:05 PM


All times are GMT -5. The time now is 10:01 PM.

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
Open Source Consulting | Domain Registration