![]() ![]() I just included them because I already included information about my setup in the question, so this information might be helpful for anyone coming across this post later. It isn't necessary to run the above commands, as ldmtool create all does all the necessary work to create the mappings. To add some further information to this, I used some other ldmtool commands to query my volumes for information: sudo ldmtool scan /dev/sdd line near the end of the file.įull credit for this solution goes to Christian Hudon, the guy who posted it as an answer over on Stack Overflow. Just open the file /etc/init/nf and add the line & ldmtool create all >/dev/null || true immediately before the exec mountall. The linked post includes a suggestion for doing this automatically every boot. That's all I had to do, and I could immediately access them from the file browser! These mappings are located in /dev/mapper/ and can be mounted manually with mount -t ntfs /dev/mapper/mapfilename, but I didn't need to do that - Ubuntu mounted them for me automatically after I ran the above two commands. The first command installs ldmtool, and the second has it automagically create device mappings for all of the connected Windows dynamic disks. All I had to do was execute two commands: sudo apt-get install ldmtool It is not installed by default, but is included in the Ubuntu repositories. It is capable of reading and working with Windows dynamic disks which use LDM (Logical Disk Manager). There's a wonderful tool built specifically for this purpose, called ldmtool. It definitely works for my Windows software RAID 0, though. It took days of searching, and I guess I wasn't finding it because the post makes no mention of RAID, so it wasn't coming up in my search results. It was extremely difficult to uncover this elusive information. I finally got this working thanks to this Stack Overflow post: Windows Spanned Disks (LDM) restoration with Linux? So now, my question is this: what is the proper command for me to enter with my setup, so that I can access both of my Windows RAID 0 partitions from Ubuntu? I hope I've provided enough information here. dev/sdd: Master Boot Record partitioning. dev/sdc1: 1.0 MB, Microsoft LDM metadata. dev/sdc: GUID Partition Table partitioning. dev/sdb1: 1.0 MB, Microsoft LDM metadata. The "Disks" program in Ubuntu displays the following partitions for my drives: /dev/sdb: GUID Partition Table. The relevant output from cat /proc/partitions (for just those three RAID0 drives) is: 8 16 976762584 sdb The relevant output from sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL (for just those three RAID0 drives) is: NAME FSTYPE SIZE MOUNTPOINT LABEL My 500 GB partition has a block size of 4 kb (4096 bytes per cluster), and my 2.3 TB partition has a block size of 64 kb (65536 bytes per cluster). I have no idea if this block size is the same as the chunk size that they mention. I used a non-default block size for at least one of my RAID 0 partitions when I set them up years ago.This means that I need to NOT use the full disks when creating the RAID array, but instead use just part of them. I have two RAID 0 partitions spread across those three drives: one 500 GB and 2.3 TB.I have three 1 TB drives, not two drives (of whatever size they used).This is how my setup differs from their example: I am afraid to break it by doing it wrong, and therefore wish to get the advice of somebody more experienced. My concern is that my setup is different to their example, and I am not sure that the commands should be entered exactly the same for my setup. ![]() ![]() Why? The post includes a warning about how you must not write to it if you enter the wrong chunk size it's understandable how that could cause problems. I have not tried following these instructions yet. According to that user, and the other posters in the thread, it actually does work. The main command used is sudo mdadm -build /dev/md0 -chunk=64 -level=0 -raid-devices=2 /dev/sdd2 /dev/sdc2. The post describes how to get Ubuntu to see a Windows RAID 0 array that is made up of two drives. can I mount my WinXP software RAID 0 array in Ubuntu/Kubuntu?.I have already researched this subject as best as I could, and I managed to find a very helpful post: I need access to this data on Ubuntu, and can't really get anything real done until I have access. However, all of my important data is on Windows software RAID 0 array, and I need it to stay there as I'm also dual booting Windows. I am a new Ubuntu user with a fresh installation, and am eager to get started with it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |