LinuxQuestions.org
Review your favorite Linux distribution.
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 11-13-2009, 08:02 PM   #1
giyad
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Rep: Reputation: 0
Mounting an NTFS RAID-0 stripe in Ubuntu 9.04 64 bit


Hi, so I have Windows installed and set up a RAID stripe a while back. I've got all my data there and I would like to access it via Ubuntu, mainly because I'd like to share it on my network (and not have to cut everyone in my house off) while I'm in Ubuntu. Both OS's are installed on separate disks.

I can't get the drive to mount. I keep getting this

"NTFS signature is missing.
Failed to mount '/dev/mapper/nvidia_facfcied': Invalid argument
The device '/dev/mapper/nvidia_facfcied' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?"

Here are the steps I've taken (I already created the mount point /media/Z):

Code:
ziyad@DesktopzUbuntu:~$ sudo fdisk -l

Disk /dev/sda: 150.0 GB, 150039945216 bytes
255 heads, 63 sectors/track, 18241 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf9fe0643

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       18242   146521088    7  HPFS/NTFS

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
256 heads, 63 sectors/track, 121126 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      266306  2147483647+  ee  GPT

Disk /dev/sdc: 64.0 GB, 64023257088 bytes
255 heads, 63 sectors/track, 7783 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000df395

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1        7460    59922418+  83  Linux
/dev/sdc2            7461        7783     2594497+   5  Extended
/dev/sdc5            7461        7783     2594466   82  Linux swap / Solaris

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      121602   976762583+  ee  GPT

Disk /dev/sde: 2000.3 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xffa2f4e7

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1      243202  1953512448    7  HPFS/NTFS

ziyad@DesktopzUbuntu:~$ sudo lspci | grep -i raid
00:0e.0 RAID bus controller: nVidia Corporation MCP55 SATA Controller (rev a2)
00:0e.1 RAID bus controller: nVidia Corporation MCP55 SATA Controller (rev a2)
00:0e.2 RAID bus controller: nVidia Corporation MCP55 SATA Controller (rev a2)

ziyad@DesktopzUbuntu:~$ sudo dmraid -r
/dev/sdd: nvidia, "nvidia_facfcied", stripe, ok, 1953525166 sectors, data@ 0
/dev/sdb: nvidia, "nvidia_facfcied", stripe, ok, 1953525166 sectors, data@ 0

ziyad@DesktopzUbuntu:~$ sudo dmraid -ay -v
RAID set "nvidia_facfcied" already active
INFO: Activating stripe raid set "nvidia_facfcied"

ziyad@DesktopzUbuntu:~$ sudo mount -t ntfs-3g /dev/mapper/nvidia_facfcied /media/Z
NTFS signature is missing.
Failed to mount '/dev/mapper/nvidia_facfcied': Invalid argument
The device '/dev/mapper/nvidia_facfcied' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
The drives I've highlighted are the ones that make up the RAID. The only thing that I can see is that Linux is not recognizing which drives make up that RAID...? Theres no mention anywhere that /dev/sdd and /dev/sdb form /dev/mapper/nvidia_facfcied.

Anyway, if anyone can help in anyway I'd really appreciate it. And honestly, I have the RAID backed up so I'm really willing to try anything at this point (short of formatting it because that wouldn't solve why its doing this in the first place).

Last edited by giyad; 11-13-2009 at 08:28 PM.
 
Old 11-14-2009, 01:03 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.15.5
Posts: 1,497
Blog Entries: 12

Rep: Reputation: 154Reputation: 154
Maybe you need to change this to the following (note the "1")
sudo mount -t ntfs-3g /dev/mapper/nvidia_facfcied1 /media/Z
If that doesn't work could you list the output of ls /dev/mapper?
BTW I take it you're using Vista or 7 given the GPT disk label...
 
Old 11-14-2009, 03:18 PM   #3
giyad
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mostlyharmless View Post
Maybe you need to change this to the following (note the "1")
sudo mount -t ntfs-3g /dev/mapper/nvidia_facfcied1 /media/Z
If that doesn't work could you list the output of ls /dev/mapper?
BTW I take it you're using Vista or 7 given the GPT disk label...
Hi thanks for the reply! You're right I'm using Vista (sorry for not mentioning), I actually plan on installing 7 soon, I've already bought it just want to figure this out first. And nope, I've already tried adding the 1. This is the output

Code:
ziyad@DesktopzUbuntu:~$ sudo mount -t ntfs-3g /dev/mapper/nvidia_facfcied1 /media/Z
ntfs-3g: Failed to access volume '/dev/mapper/nvidia_facfcied1': No such file or directory
Please type '/sbin/mount.ntfs-3g --help' for more information.
Heres is output of /dev/mapper

Code:
ziyad@DesktopzUbuntu:~$ ls /dev/mapper
control  nvidia_facfcied
I'm really stumped... I'm about to try running live cd's of other distros to see if they mount the RAID, I'll let you know if that works.

Last edited by giyad; 11-14-2009 at 03:20 PM.
 
Old 11-14-2009, 08:55 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.15.5
Posts: 1,497
Blog Entries: 12

Rep: Reputation: 154Reputation: 154
What's interesting is that there are no partitions visible in your raid set, which maybe is normal for GPT; I don't know much about it as I'm still strictly 32-bit.

But maybe dmraid is only seeing the so-called protective mbr part of the disklabel. I suppose you could see if you have the latest version of dmraid or whether upgrading that makes any difference. I think 9.04 has rc15 and that you might need rc16.

Last edited by mostlyharmless; 11-14-2009 at 08:59 PM.
 
Old 11-14-2009, 10:36 PM   #5
giyad
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mostlyharmless View Post
What's interesting is that there are no partitions visible in your raid set, which maybe is normal for GPT; I don't know much about it as I'm still strictly 32-bit.

But maybe dmraid is only seeing the so-called protective mbr part of the disklabel. I suppose you could see if you have the latest version of dmraid or whether upgrading that makes any difference. I think 9.04 has rc15 and that you might need rc16.
I'm not sure what you mean by no visible partitions? Is there supposed to be something else in my /dev/mapper folder? The thing is, with mount manager it shows that the two drives are RAID members. I've attached a screen shot.

I have the rc15 version of dmraid, how do I upgrade it? When I go to Synaptics it doesn't allow me to mark for upgrade.
Attached Images
File Type: png Screenshot.png (76.6 KB, 8 views)
 
Old 11-14-2009, 11:14 PM   #6
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
In Linux a storage devices that are going to be mounted have to be mounted based on the partition of the raw device. Mounting a raw device like /dev/sda can not be done. You have state the partition number after the raw device. The raw device is also stated as a device node. Your device node /dev/mapper/nvidia_facfcied is just a raw device. You will need a partition number like /dev/mapper/nvidia_facfcied1. If this is not shown, there could be an incompatible data buried in the RAID array. From what I read from the Internet, if there is space for your label, this can cause a problem. Disk labels with spaces are not valid. Try comply to DOS labels if you can. This means create a label with no more than eleven (11) characters. It is best to start out with a letter if you can.

The device mapper for RAID in Linux does not support all software RAID controllers and the reliability and stability is not good. It is best to not use this type of software RAID and go with hardware RAID. You can do this cheap with out adding software by using a hardware port multiplier from Addonics like the following.

http://www.addonics.com/products/hos...d4sr5hpmus.asp

Do not get the 5 port version because I do not think is not as fast and not compatible with Linux and your controller.

I do not recommend using NTFS if you are switching between Windows and Linux. FAT is better if you are switching between the two. If you need support for than 4 GB of file storage, use EXT2 or EXT3. There is EXT2 IFS that gives EXT2 support to Windows. Since EXT2 is known to the open source community very, very well compared to NTFS, so the chances of data corruption is much lower than using something like ntfs-3g to access NTFS. Nobody will ever know the difference except you will.

If the software RAID array is where Windows is stored, I strongly recommend do not access it in Linux with device mapper and with ntfs-3g. If you are going to use WINE to run Windows programs, it will hurt your Windows installation. Just do not attempt.
 
Old 11-14-2009, 11:38 PM   #7
giyad
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Electro View Post
From what I read from the Internet, if there is space for your label, this can cause a problem. Disk labels with spaces are not valid. Try comply to DOS labels if you can. This means create a label with no more than eleven (11) characters. It is best to start out with a letter if you can.
I have named the volume "Media" on Windows, so it definitely complies with the naming convention. It can't be that.


Quote:
Originally Posted by Electro View Post
The device mapper for RAID in Linux does not support all software RAID controllers and the reliability and stability is not good. It is best to not use this type of software RAID and go with hardware RAID. You can do this cheap with out adding software by using a hardware port multiplier from Addonics like the following.
I'm using my motherboards RAID controller, its not a software RAID. My motherboard is a NVIDIA 680i SLI.


Quote:
Originally Posted by Electro View Post
If you need support for than 4 GB of file storage, use EXT2 or EXT3. There is EXT2 IFS that gives EXT2 support to Windows. Since EXT2 is known to the open source community very, very well compared to NTFS, so the chances of data corruption is much lower than using something like ntfs-3g to access NTFS. Nobody will ever know the difference except you will.
I may just have to do that, but I don't want to resort to it yet, I'd really like to solve this problem.
 
Old 11-15-2009, 05:13 PM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.15.5
Posts: 1,497
Blog Entries: 12

Rep: Reputation: 154Reputation: 154
Quote:
I'm not sure what you mean by no visible partitions? Is there supposed to be something else in my /dev/mapper folder? The thing is, with mount manager it shows that the two drives are RAID members. I've attached a screen shot.
Well, when one mounts a raid set on dev/mapper/gaghajgkghwhatever and that raid set has an mbr instead of gpt, then usually the disk volumes/partitions show up in /dev/mapper as /dev/mapper/gadghdfgjhwhatever1 and 2. You HAVE to have at least one partition on an mbr disk, I presume it's the same for gpt.

Quote:
I have the rc15 version of dmraid, how do I upgrade it? When I go to Synaptics it doesn't allow me to mark for upgrade.
You can go to the source at http://people.redhat.com/~heinzm/sw/dmraid/ It's pretty straightforward to build it from src.
 
Old 11-15-2009, 05:17 PM   #9
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.15.5
Posts: 1,497
Blog Entries: 12

Rep: Reputation: 154Reputation: 154
Quote:
If the software RAID array is where Windows is stored, I strongly recommend do not access it in Linux with device mapper and with ntfs-3g.
Well, it really it works quite well and I've never had a problem, but to each is own, and I can't really argue with your advice, but that's not what the OP is looking for yet.

Quote:
If you are going to use WINE to run Windows programs, it will hurt your Windows installation. Just do not attempt.
I don't think he was going to do that, just wanted to serve up the array. Wine apps need their own install, I agree.
 
Old 11-15-2009, 05:43 PM   #10
giyad
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mostlyharmless View Post
Well, when one mounts a raid set on dev/mapper/gaghajgkghwhatever and that raid set has an mbr instead of gpt, then usually the disk volumes/partitions show up in /dev/mapper as /dev/mapper/gadghdfgjhwhatever1 and 2. You HAVE to have at least one partition on an mbr disk, I presume it's the same for gpt.
That makes sense, but I don't know for sure this is my first time using Linux and in windows it shows up as one volume/partition... One thing I want to remind is that this array has NO operating systems, its strictly a media share.

I found this info here:

"GPT stores all partitions in a single partition table (with backup), so there's no need for extended or logical partitions. By default, 128 partitions are supported, although you can change the partition table size if the partitioning software supports such changes."

Quote:
Originally Posted by mostlyharmless View Post
I don't think he was going to do that, just wanted to serve up the array. Wine apps need their own install, I agree.
In regards to WINE, I'm not even sure what you mean. You're right, all I want to do is serve the array, I don't wish to install anything on it, or run anything from it. Like I said, Windows is not installed on this array, its strictly a media serving partition.

I'm going to install dmraid rc16 and see what happens. If that doesn't work I just found an article here that may be useful. I'll post back with my results, thanks guys for all your help really!! I've been searching left and right for a solution, hopefully we can figure it out

By the way I ran fdisk on the RAID and this is the results:

Code:
ziyad@DesktopzUbuntu:~$ sudo fdisk /dev/mapper/nvidia_facfcied

WARNING: GPT (GUID Partition Table) detected on '/dev/mapper/nvidia_facfcied'! The util fdisk doesn't support GPT. Use GNU Parted.


The number of cylinders for this disk is set to 242252.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Not sure if this is useful or not, but I just installed Gparted and it recognizes the /dev/mapper/nvidia_facfcied partition :-) I think thats good news?

UPDATE:

ACTUALLY VERY GOOD NEWS... when I opened up Gparted, it like I said it shows /dev/mapper/nvidia_facfcied partition, but when I click on it, it shows (see attachment photo) two partition! However, i still ran into problems mounting, here are my results:

Code:
ziyad@DesktopzUbuntu:~$ sudo mount -t ntfs-3g /dev/mapper/nvidia_facfcied2 /media/Z
ntfs-3g: Failed to access volume '/dev/mapper/nvidia_facfcied2': No such file or directory
Please type '/sbin/mount.ntfs-3g --help' for more information.
Now whats wrong???
Attached Images
File Type: png Screenshot.png (44.9 KB, 8 views)

Last edited by giyad; 11-15-2009 at 06:50 PM.
 
Old 11-16-2009, 06:50 AM   #11
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
I believe the problem here is GPT. I have once tried to use an Ubuntu LiveCD. (not sure which version) to mount a GPT partitioned disk. I found that the kernel that shipped with Ubuntu did not have GPT support compiled in at all. The symptom is exactly like yours, the device node for the raw disk was created, but not for the GPT partitions.

I gave up at this point & used my CentOS system instead which worked fine. I do remember reading somewhere that I could use the Ubuntu server kernel. (it was some time ago, so check this out first)

BTW, don't ever interact with GPT partitions using fdisk. You should only use parted when it comes to GPT.
 
Old 11-16-2009, 07:17 AM   #12
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mandriva, CentOS, Ubuntu
Posts: 456

Rep: Reputation: 69
Quote:
Originally Posted by giyad View Post
I'm using my motherboards RAID controller, its not a software RAID. My motherboard is a NVIDIA 680i SLI.
BTW, just wanted to clarify this point of why people call this software raid. A raid controller is considered hardware only if there is a physical dedicated controller chip performing all RAID operations in hardware without using the PCs CPU for anything.

Most motherboard RAID controllers are actually controllerless, and they implement RAID in software, using a software interface in the BIOS, drivers in the OS and the CPU to perform the RAID operations. They seem to function like hardware RAID (by having a BIOS interface) but is in fact software RAID. Some like to call this "BIOS RAID" or "quasi-hardware RAID" but they are a form of software RAID where some parts of the interface are embeded in the hardware.

Sorry about that, just had to get that off my chest.

Last edited by ongte; 11-16-2009 at 07:21 AM.
 
Old 11-16-2009, 09:23 AM   #13
giyad
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ongte View Post
BTW, just wanted to clarify this point of why people call this software raid. A raid controller is considered hardware only if there is a physical dedicated controller chip performing all RAID operations in hardware without using the PCs CPU for anything.

Most motherboard RAID controllers are actually controllerless, and they implement RAID in software, using a software interface in the BIOS, drivers in the OS and the CPU to perform the RAID operations. They seem to function like hardware RAID (by having a BIOS interface) but is in fact software RAID. Some like to call this "BIOS RAID" or "quasi-hardware RAID" but they are a form of software RAID where some parts of the interface are embeded in the hardware.

Sorry about that, just had to get that off my chest.
Thanks for clearing that up

So I guess I'm not going to have any luck mounting this thing then
 
Old 11-16-2009, 09:52 AM   #14
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.15.5
Posts: 1,497
Blog Entries: 12

Rep: Reputation: 154Reputation: 154
Quote:
So I guess I'm not going to have any luck mounting this thing then
Don't give up yet.

Quote:
when I opened up Gparted, it like I said it shows /dev/mapper/nvidia_facfcied partition, but when I click on it, it shows (see attachment photo) two partition!
Well, this is good, you do need to mount partition 2 using mount, but the device hasn't been made yet by dmraid, which is why you need dmraid rc16, which I *think* supports GPT.

Opening up /dev/mapper/aghajkhgdwhatever with gparted doesn't create the /dev/mapper/ghadkghlksdhwhatever2, and as the message says, fdisk doesn't support GPT, but that doesn't matter, you don't neeed fdisk as long as the kernel is compiled to support GPT.

I'm pretty sure GPT/EFID is compiled into Ubuntu 9.04 c64 bit, so that isn't a worry, though clearly it would have been with the older ubuntu liveCD.

Last edited by mostlyharmless; 11-16-2009 at 09:54 AM.
 
Old 11-16-2009, 09:59 AM   #15
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware -current (multilib) with kernel 3.15.5
Posts: 1,497
Blog Entries: 12

Rep: Reputation: 154Reputation: 154
Actually I was reading about this some more, you can apparently try this:

Quote:
dmraid is not going to support GPT partitioning.
Please use "kpartx -a /dev/mapper/pdc_cbbgheicjb" instead.
to make your correct partition appear....so you may not need to update dmraid at all.

quoted from https://bugzilla.redhat.com/show_bug.cgi?id=500322

Last edited by mostlyharmless; 11-16-2009 at 10:00 AM.
 
  


Reply

Tags
dmraid, ntfs, raid, ubuntu


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 raid??? rcgoodfellow Linux - Hardware 2 04-23-2007 11:55 AM
Mounting NTFS partition from SATA RAID aoberoi Linux - Hardware 6 05-19-2006 09:39 PM
raid-0 XFS stripe size and stripe width ganja_guru Linux - Software 1 09-04-2005 08:15 AM
NTFS, dynamic disk, stripe sanok General 8 02-20-2004 08:32 AM
Having a bit of trouble mounting a NTFS partition... Can anyone help? drumlinuxuser Linux - Hardware 1 10-22-2003 09:01 PM


All times are GMT -5. The time now is 09:25 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