Hi,
On 11 Apr 2007, at 00:18, Kazz wrote:
> Hey, sorry I didn't respond earlier, but I've been pretty busy lately
> and I just got this.
No problem.
> Yes, I am still interested, however I was forced to change my planned
> setup somewhat due to LDM not being a working option at the time, so I
> would have to risk making all of my partitions (windows and Linux)
> inaccessible to really try it right now.
>
> I'm not sure when I'll get a chance, but if I can clear off another
> hard
> drive to test it on then I'll give it a shot as soon as I can.
>
> Just to be sure, if it does work on one drive (probably an old
> PATA/100), there should be no problems with my other SATA2 drives,
> right?
Yes. The type of disk does not matter at all.
> The way I understand it, it reads the partition table or it
> doesn't, and
> there shouldn't be a reason for it to fail on one if it works on
> another, ...
Correct.
> One more question since if anyone can answer it, you probably can. I
> planned to use windows software RAID 0 and RAID 5 on different
> partitions since I'd read that Linux was capable of using those
> too, but
> when I finally went to set it up, I discovered that vista "ultimate"
> wasn't quite so ultimate when it came to software RAID, and it had no
> options for RAID 5 or even RAID 1.
Really? /me tries it.. Yes you are right! Even using the command
line I get (note disk 1 is contains a single simple volume):
<quote>
DISKPART> select disk=1
Disk 1 is now the selected disk.
DISKPART> add disk=2
The command you selected is not available with this version of Windows.
</quote>
And I get the same error message trying to create a RAID 5 set...
However, I thought of a cool trick. Boot with the Vista installation
CD and then when you have started the installer (it does not need to
be installing yet, the CD just needs to have booted into the full
installation environment, i.e. you can for example do it at the
screen where it asks to enter the CD Key) press SHIFT+F10. You then
get a command prompt up running with full administrative privileges.
Then type "diskpart" and you are now running diskpart command line
utility. You can now create both RAID 5 and Mirror sets! (-:
Use "help" and "help create volume raid" and "help create volume
simple" and "help select" and help add" to see how to do it...
Basically for a raid 5 you need to do for example:
create volume raid disk=1,2,3,...
Where 1,2,3,... are the disk numbers of the dynamic disks you want to
use.
To see which disk has which number use "list disk"...
If the disks are not dynamic yet use "select disk=1" where 1 is the
disk you want then "convert dynamic" to convert the select disk to be
a dynamic disk.
To create a mirror you need to first create a simple volume using
"create volume simple disk=1" where 1 is the disk to do it on, then
to add a dynamic disk with sufficient free space to it as a mirror
using the command "select volume=1" followed by "add disk=2" where 1
is the existing simple volume (use "list volume" to see which number
you need) and 2 is the disk which you want to have the mirror created
on.
When you are done, type "exit" to exit diskpart then again "exit" to
exit the command prompt. Then shutdown your computer and start it
from the HD and presto you are running Vista Ultimate with a RAID5
and a Mirror set. (-:
I am doing this right now to see whether it works... I will let you
know when I have finished whether it worked or not...
> Since they can be read in Linux, do you know if there is any way to
> *create* those types of arrays in Linux (or anywhere else) and get
> windows to use them? If not I'll just use RAID 0 in windows, but I am
> very annoyed (and unfortunately not surprised) that they are keeping
> redundant arrays from home users who probably need it the most since
> servers are usually backed up externally and most home computers
> aren't.
No there is no way that I know to write to LDM from Linux.
You should remember that redundant RAID is no substitute for back
up! We have had many RAID-5 sets fail because 2 disks failed at the
same time for example...
> Enough ranting I guess, I'll let you know when I have a chance to test
> the patch, and please let me know if someone else tests it first. :)
Ok, great, thanks! And will do.
Best regards,
Anton
> Thanks again!
> Kazz
>
> On Fri, 2007-03-30 at 22:24 +0100, Anton Altaparmakov wrote:
>> Hi,
>>
>> Are you still interested in getting Vista LDM to work on Linux?
>>
>> I have investigated the Vista LDM and have come up with a new patch
>> that may well work. It is attached to this email. To apply it save
>> the patch in your home directory (or wherever) then "cd" into the
>> kernel sources directory (the patch is against the latest 2.6.20
>> kernel, actually against the current kernel git tree but I have
>> tested that it applies cleanly to the 2.6.20 kernel also) and then
>> do:
>>
>> patch -p1 < ~/ldm-vista.diff
>>
>> Obviously if it is not in your home directory you need to replace
>> "~/" with the path to the patch...
>>
>> You should see this output:
>>
>> $ patch -p1 < ~/ldm-vista.diff patching file Documentation/ldm.txt
>> patching file fs/partitions/Kconfig
>> patching file fs/partitions/ldm.c
>> patching file fs/partitions/ldm.h
>>
>> Then recompile the kernel with LDM enabled and try it again with the
>> Vista LDM. Hopefully it will now work.
>>
>> If you (or anyone) tries it please let me know how it works out. If
>> it works I will submit it to Linus for inclusion into mainline...
>>
>> Best regards,
>>
>> Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/
|