How do I setup Windows Spanned Dynamic Disks to be used in Linux?
I setup two hard drives in Windows Vista to be spanned together. I want to be able to access them from my Linux, but I cannot figure out how. So far the first thing I have done is setup my kernel with the following options:
Code:
[*] Multiple devices driver support (RAID and LVM) I have Device-Mapper 1.02.22 installed The first volume in my span is /dev/sdb1 The second volume in my span is /dev/sdd1 This is the output from "$ dmesg | grep ldm" loading the disk /dev/sdb: Code:
sdb:<7>ldm_validate_partition_table(): Found W2K dynamic disk partition type. Code:
sdd:<7>ldm_validate_partition_table(): Found W2K dynamic disk partition type. I run "$ fdisk -lu /dev/sdb" which outputs: Code:
Disk /dev/sdb: 320.0 GB, 320072933376 bytes Code:
Disk /dev/sdd: 320.0 GB, 320072933376 bytes Code:
# Offset into Size of this Raid type Device Start sector Code:
device-mapper: reload ioctl failed: Invalid argument Code:
device-mapper: table: device /dev/sdb1 too small for target |
can you post an
ls of your /dev for me |
Sure, thanks for responding, :) I've been messin with this for the past 5 days and I'm getting a little discouraged. Here is the output,
Code:
1-3 fd0u1680 ppp sg7 tty37@ usbdev1.4_ep87 |
right now I need a copy of your /etc/fstab
|
Here you go, just so you know, I used to have /dev/sdb1 as a basic disk, so the line I commented out is like that because of how it was previously setup
Code:
/dev/sdc3 swap swap defaults 0 0 |
do you have a /dev/mapper directory? if yes can you post what is in it
|
Yeah, inside there is just /dev/mapper/control
|
this may take me some time I need to refresh my knowledge of windows first. it may take me a day to get it to work.
once I have it working I will message you with how I did it. OK? |
Cool, thank you very much :), Waiting a little longer won't hurt me any
|
It might take me a bit longer I have just got an assignment from college and I will be spending most of my time on this.
It should only take a few days but Don't be too surprised if it takes me a week. I will keep you posted with an update on my progress each day. If this is important I can make it a higher priority if you like but that will cause some strains on my time. Is that ok? Tim/Hoodedmanwithsythe |
No problem, definitely take care of what you need to before you worry about this. My problem isn't critical, it's just for my own personal pc.
|
question is the dynamic disk partition ntfs?
|
Yes it is,
|
have you any data on it?
|
Yeah, I do, more than would fit on just one drive.
|
damn even if I can get the drive to be seen by the linux it is going to be a bitch to get linux to write the ntfs read yes but write is a big no
|
is that even with ntfs-3g? Right now my main concern is letting Linux read it.
|
I don't know yet.
|
Hi there its me again I don't think I can get it to work and my time demands are growing.
So I decided to share my line of research which is in Fake raid I will continue to look in to this as well. but I will be going to Australia this winter and so I really need to get 2 weeks ahead on my college work as I will be leaving 2 weeks before the end of term and so can't see my self having time to find your solution before I leave. If I am right the solution is to be found within the Fake Raid or Software raid setups. I will have a lot more free time after I get back so if you haven't found the solution by then I will get back to it. once I can get the Linux to see it I Know there will be problems with the NTFS - there always is. but this can be overcome. Hope I have been of help, Tim(Hoodedmanwithsythe) |
I understand, thanks for looking into it so much already though. I'll continue to experiment with it, and if I get it to work, I'll post it back in this thread. Thanks again for trying.
|
Eureka!
I finally figured it out, I had all the steps correct, but my device sizes were setup wrong in the /etc/newdevice1 file that I setup. I used a program called LdmDump which gave me the same sector sizes for my logical disk which I had already taken from fdisk: 625140337. When I first saw that I thought it confirmed that I was using the right sizes. Later I realized it also showed another size in that program; the size was for the volume on the dynamic disks: 1250276993 sectors. Well if you divide that by two you get: 625138496.5 which even though I didn't get a whole number, which I would need, I could see that it was less than the sizes my devices were setup for. After experimenting some more with setting the devices as so: Code:
# Offset into Size of this Raid type Device Start sector Code:
# Offset into Size of this Raid type Device Start sector Nothing would work... Finally, after looking around some more, I came across a program which gave me the correct device sizes ... Code:
$ blockdev --getsize /dev/sdb1 |
That's brilliant,
Well done, thanks for sharing the info I am sure this will help others. Perhaps you should write up your notes on how you made it work and submit it as a linux answer ing the tutorials section of this site. Thanks for Sharing, Tim(HoodedManWithSythe) |
nLEyETn, I wanted to thank you though it's been 11 years haha! This is still relevant in Ubuntu 18.04, so thank you for the information. I found that I had to reboot my system for the drive to show up in Caja (Mate's file manager). Thanks again!
|
All times are GMT -5. The time now is 07:57 PM. |