LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-15-2009, 09:11 AM   #1
wide_load
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Rep: Reputation: 0
dmraid fakeraid unequal volumes


ok i'm sure this has been asked a few times before but i cant seem to find it.

I recently moved to ubuntu from windows and have a nvidia fakeraid volume made up of 2 500GB disks and one 1000GB.

In windows the drivers made this very easy but in Linux with dmraid it only shows up as 1500GB which meens that an error comes up when I try to mount the partition.

I found a few people online saying that it is possible to get it to mount and be used.

This drive has almost all my data on it so re partitioning isn't really an option, it will have to stay as NTFS.

thanks in advance
 
Old 12-15-2009, 09:39 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
If you have two unequal volumes, then I presume you have your disks setup as JBOD. I don't know if your version of dmraid supports JBOD; it seems to have been a recent patch, see http://www.linux-archive.org/device-...aid-sil-c.html

You might want to post the output of dmraid, fstab etc. and specify the version of ubuntu; it's possible that I'm wrong about the above and that the problem is simpler than that...

Last edited by mostlyharmless; 12-15-2009 at 09:44 AM.
 
Old 12-15-2009, 10:00 AM   #3
wide_load
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Original Poster
Rep: Reputation: 0
thanks for replying

dmraid version: 1.0.0.rc15 (2008-09-17) shared
dmraid library version: 1.0.0.rc15 (2008.09.17)
device-mapper version: 4.15.0


ubuntu 9.10


kernel: 2.6.31-16-generic


output of fdisk -l
root@jacek-desktop:~# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xab15f7eb

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

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2850f24c

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

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2e181549

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 59321 476495901 83 Linux
/dev/sdc2 59322 60801 11888100 5 Extended
/dev/sdc5 59322 60801 11888068+ 82 Linux swap / Solaris

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

Device Boot Start End Blocks Id System
/dev/sdd1 1 243197 1953478878+ 7 HPFS/NTFS



output of dmraid -ay
root@jacek-desktop:~# dmraid -ay
RAID set "nvidia_afeahbbe" already active
RAID set "nvidia_jbcaafci" already active
ERROR: dos: partition address past end of RAID device
RAID set "nvidia_jbcaafci1" already active
RAID set "nvidia_jbcaafci5" already active


and dmraid -r
root@jacek-desktop:~# dmraid -r
/dev/sdd: nvidia, "nvidia_afeahbbe", linear, ok, 1953525166 sectors, data@ 0
/dev/sdc: nvidia, "nvidia_jbcaafci", linear, ok, 976773166 sectors, data@ 0
/dev/sdb: nvidia, "nvidia_afeahbbe", linear, ok, 976773166 sectors, data@ 0
/dev/sda: nvidia, "nvidia_afeahbbe", linear, ok, 976773166 sectors, data@ 0



I did come across the update for dmraid you mentioned... perhaps I should update to the latest dmraid
 
Old 12-15-2009, 02:24 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Hmm,
You've got 4 disks /dev/sd{a,b,c,d}, the first 3 are 500G disks and sdd is the 1T.

There are two distinct dmraid signatures nvidia_jbcaafci and nvidia_afeahbbe, suggesting that you setup your RAID more than once in Windows or Linux, or that you have two RAID arrays setup. Looks like you want to use nvidia_afeahbbe, containing sda, sdb and sdd.

sda and sdb are the two 500s in the array, sdc is the boot disk, but sdd has an inconsistent partition table which is odd; it has more cylinders in the partition (243197) than it has on the disk (121601). That *might* be normal given how Windows set this thing up; I'm not sure.

If you look in /dev/mapper, are there any devices like nvidia_afeahbbe1 (note the numeral) in it?

If there are, can you
Code:
mount -t ntfs-3g -o ro /dev/mapper/nvidia_afeahbbe1 /mnt/somewhere
If that doesn't work, it might be helpful to know..
Which version of Windows did you use and how, exactly did you make the RAID device? I realize the thing has drivers, but do you remember how you did it or have access to "Disk Management" under Windows; ie can you still boot Windows and interrogate it?

Last edited by mostlyharmless; 12-15-2009 at 02:26 PM.
 
Old 12-15-2009, 02:50 PM   #5
wide_load
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mostlyharmless View Post
Hmm,
You've got 4 disks /dev/sd{a,b,c,d}, the first 3 are 500G disks and sdd is the 1T.

There are two distinct dmraid signatures nvidia_jbcaafci and nvidia_afeahbbe, suggesting that you setup your RAID more than once in Windows or Linux, or that you have two RAID arrays setup. Looks like you want to use nvidia_afeahbbe, containing sda, sdb and sdd.

sda and sdb are the two 500s in the array, sdc is the boot disk, but sdd has an inconsistent partition table which is odd; it has more cylinders in the partition (243197) than it has on the disk (121601). That *might* be normal given how Windows set this thing up; I'm not sure.
I found that too when I first started trying to get this to work... i think its something along the lines of the nvidia driver (for windows only) makes the disk show up as 2TB, whereas here dmraid only sees it as 1.5TB

Quote:
Originally Posted by mostlyharmless View Post
If you look in /dev/mapper, are there any devices like nvidia_afeahbbe1 (note the numeral) in it?

If there are, can you
Code:
mount -t ntfs-3g -o ro /dev/mapper/nvidia_afeahbbe1 /mnt/somewhere
The following are in /dev/mapper
control nvidia_afeahbbe nvidia_jbcaafci nvidia_jbcaafci1 nvidia_jbcaafci5

Quote:
Originally Posted by mostlyharmless View Post
If that doesn't work, it might be helpful to know..
Which version of Windows did you use and how, exactly did you make the RAID device? I realize the thing has drivers, but do you remember how you did it or have access to "Disk Management" under Windows; ie can you still boot Windows and interrogate it?
I used 7 to install the driver but the actuall array was created using nvidia's raid tool in the BIOS.

also the other nvidia_ thing is probably a remnant from before i expanded the array (added the 1TB disk)

here is the output from the mount commond you speccified
jacek@jacek-desktop:~$ sudo mount -t ntfs-3g -o ro /dev/mapper/nvidia_afeahbbe1 /media/media
ntfs-3g: Failed to access volume '/dev/mapper/nvidia_afeahbbe1': No such file or directory

might be worth mentioning that System -> admin > disk utillity does see the disk as 2TB unallocated space

oh and I don't have windows any more, i was hoping not to have to install it again
 
Old 12-15-2009, 05:51 PM   #6
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
OK you don't have ntfs-3g, just use the kernel ntfs driver for now; drop the "-3g"

and also try "5" instead of "1"

mount -t ntfs -o ro /dev/mapper/nvidia_afeahbbe5 /media/media

BTW, you still have your Windows partition at /sdd1, so what does

mount -t ntfs -o ro /dev/sdd1 /mnt/somewhere

show?

Last edited by mostlyharmless; 12-15-2009 at 07:00 PM. Reason: ntfs for ntfs-3g
 
Old 12-15-2009, 08:01 PM   #7
wide_load
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mostlyharmless View Post
OK you don't have ntfs-3g, just use the kernel ntfs driver for now; drop the "-3g"

and also try "5" instead of "1"

mount -t ntfs -o ro /dev/mapper/nvidia_afeahbbe5 /media/media
jacek@jacek-desktop:~$ sudo mount -t ntfs -o ro /dev/mapper/nvidia_afeahbbe5 /media/media
ntfs-3g: Failed to access volume '/dev/mapper/nvidia_afeahbbe5': No such file or directory

ntfs-3g 2009.4.4 external FUSE 27 - Third Generation NTFS Driver

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2009 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=, syncio.
Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information: http://ntfs-3g.org


Quote:
Originally Posted by mostlyharmless View Post
BTW, you still have your Windows partition at /sdd1, so what does

mount -t ntfs -o ro /dev/sdd1 /mnt/somewhere

show?
jacek@jacek-desktop:~$ sudo mount -t ntfs -o ro /dev/sdd1 /media/media
ntfs-3g: Failed to access volume '/dev/sdd1': No such file or directory

ntfs-3g 2009.4.4 external FUSE 27 - Third Generation NTFS Driver

Copyright (C) 2005-2007 Yura Pakhuchiy
Copyright (C) 2006-2009 Szabolcs Szakacsits
Copyright (C) 2007-2009 Jean-Pierre Andre
Copyright (C) 2009 Erik Larsson

Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point>

Options: ro (read-only mount), remove_hiberfile, uid=, gid=,
umask=, fmask=, dmask=, streams_interface=, syncio.
Please see the details in the manual (type: man ntfs-3g).

Example: ntfs-3g /dev/sda1 /mnt/windows

Ntfs-3g news, support and information: http://ntfs-3g.org


ls /dev/mapper
jacek@jacek-desktop:~$ ls /dev/mapper
control nvidia_afeahbbe nvidia_jbcaafci nvidia_jbcaafci1 nvidia_jbcaafci5


that seems a little odd to me :s
 
Old 12-16-2009, 10:28 AM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Odd indeed; seems like ntfs-3g is incorporated as ntfs in the latest Ubuntu - I did not know that - and the error message fooled me into thinking the "file not found" was ntfs-3g. Hmm.

Well, dmraid completely aside, it's very odd that fdisk reports the presence of sdd1 as an NTFS partition but that ntfs-3g refuses to see it. There's something else going on here but I'm not sure what it is.

I'll have to think about that/google it to see if I can come up with any other suggestions.
 
Old 12-16-2009, 01:15 PM   #9
wide_load
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mostlyharmless View Post
Odd indeed; seems like ntfs-3g is incorporated as ntfs in the latest Ubuntu - I did not know that - and the error message fooled me into thinking the "file not found" was ntfs-3g. Hmm.

Well, dmraid completely aside, it's very odd that fdisk reports the presence of sdd1 as an NTFS partition but that ntfs-3g refuses to see it. There's something else going on here but I'm not sure what it is.

I'll have to think about that/google it to see if I can come up with any other suggestions.

thank you soo much i have spent hours trying to work this out...

I have a bit of free time tonight so ill try with the latest dmraid version just to see if it makes any difference at all.
 
Old 12-30-2009, 12:24 PM   #10
wide_load
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wide_load View Post
thank you soo much i have spent hours trying to work this out...

I have a bit of free time tonight so ill try with the latest dmraid version just to see if it makes any difference at all.

hi again, sorry if i am dragging up an old topic, but i just did some googleing on this problem (which still isnt fixed) and this topic came up on the first page.

Does anyone have any ideas, i tried upgrading to dmraid RC16 as that has some bug fixes related to JBOD, but it seems to be incompatible with almost everything. As i wasnt even sure if the upgrade would fix the problem i gave up on that

anyone at all, i really miss all my files ...

thanks in advance
 
Old 12-30-2009, 12:51 PM   #11
fusedbulb
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
thanks for the help
 
Old 12-30-2009, 02:13 PM   #12
wide_load
LQ Newbie
 
Registered: Dec 2009
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fusedbulb View Post
thanks for the help

... what ?
 
Old 12-30-2009, 02:21 PM   #13
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Sorry, I don't know why fdisk shows an ntfs partition on sdd1 while ntfs-3g doesn't. Unless the partition isn't really an ntfs partition but you just used fdisk to change the type! Maybe the ntfs-3g.org forum could help you; I've asked them a question directly with good results.
 
Old 12-30-2009, 02:29 PM   #14
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Try running "sudo /sbin/fdisk -l <device>" for each of the devices involved, hd, partitions & dm devices. It often will produce valuable information.
 
Old 12-30-2009, 02:30 PM   #15
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
He/she did that, I think, see post #3

Last edited by mostlyharmless; 12-30-2009 at 02:31 PM.
 
  


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
Quick DD unequal size drive question pentalive Linux - General 8 04-30-2010 12:49 AM
bash: how to split a text file in two unequal parts Humbro Programming 7 11-23-2007 07:15 AM
Which distros are fakeraid ready ? micod2000 Linux - General 0 11-05-2007 07:41 AM
Another FakeRaid question Quakeboy02 Linux - Kernel 6 03-07-2007 04:57 AM
Unequal load balancing on two interfaces mpeg4codec Linux - Networking 3 08-22-2005 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:35 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
Open Source Consulting | Domain Registration