GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a RAID 1 array (hardware RAID, I believe) which contains a single NTFS partition. I plan on triple booting this machine, so would like to create a total of three partitions within the RAID 1 array. I booted the gparted liveCD, to see what it would make of the drives, and it saw both drives as sda and sdb (they're SATA II drives), each with a single NTFS partition on it.
Can I safely resize the NTFS partition on each disk to the same size, and create two new partitions in the freed space? Or will the RAID 1 baulk at the changes when I try and boot back into Windows XP, for example?
Secondly, is it wise/OK to have multiple partitions on a single RAID array? I have another disk in the machine which stores all of my data (this is my work machine), so the RAID array really doesn't get used much. I didn't build/choose the components, which is why I have a RAID in the first place; given the choice, I'd rather have not had it!
I booted the gparted liveCD, to see what it would make of the drives, and it saw both drives as sda and sdb
Makes me wonder if it's really hardware raid, as opposed to firmware. The question of course is: what's the SATA controller?
Quote:
Can I safely resize the NTFS partition on each disk to the same size, and create two new partitions in the freed space? Or will the RAID 1 baulk at the changes when I try and boot back into Windows XP, for example?
That would probably be a really bad idea. I would break the mirror under Windows, resize the partitions using Windows and rebuild the mirror, make new partitions (actually "volumes") with Windows, and then use them with Linux.
Quote:
Secondly, is it wise/OK to have multiple partitions on a single RAID array?
Shouldn't be a problem for one OS and multiple partitions, especially for RAID 1, but different OS's using the different partitions, that I would recommend against. While Linux can certainly read and write to Windows RAID, I'd give it it's own partition and let it do it's own RAID and vice versa. Safer that way. Keep Windows out of your Linux filesystem as much as possible.
Thanks for replying! I was going to bump this today
Quote:
Originally Posted by mostlyharmless
Makes me wonder if it's really hardware raid, as opposed to firmware. The question of course is: what's the SATA controller?
Using the Intel Matrix Storage Console (which sees the individual drives and their RAID setup, as well as giving me the option of changing the RAID type etc.), it says the controller is: Intel(R) 631xESB/632xESB SATA RAID Controller.
Quote:
Originally Posted by mostlyharmless
That would probably be a really bad idea. I would break the mirror under Windows, resize the partitions using Windows and rebuild the mirror, make new partitions (actually "volumes") with Windows, and then use them with Linux.
Is the Windows Disk Management tool capable of resizing? I thought it could only create and destroy, not resize partitions (or volumes)?
Quote:
Originally Posted by mostlyharmless
Shouldn't be a problem for one OS and multiple partitions, especially for RAID 1, but different OS's using the different partitions, that I would recommend against. While Linux can certainly read and write to Windows RAID, I'd give it it's own partition and let it do it's own RAID and vice versa. Safer that way. Keep Windows out of your Linux filesystem as much as possible.
I would "like" to try and use Vista 64bit (work software demands Windows, and 32bit is starting to show its age, for me at least), so how would dual booting XP and Vista on the same RAID 1 array go? I've fired up the Vista installer to see what it makes of the RAID, and it sees a single NTFS partition, which it doesn't give the option to resize. Thus my original question of resizing the NTFS and creating a second NTFS partition, into which I'd install Vista.
There is an alternative which I could explore for the Linux install: I have another disk in my machine which currently has 3 partitions on it, two of which are being used, one not. I think Windows dislikes being installed on anything other than the first partition of the master disk, but I'm pretty certain Linux has no qualms about it. Is that correct?
The Intel Storage Matrix is a fake RAID/firmware device; you'll need to use dmraid under Linux. There's a few threads about dmraid and Slackware here at LQ.
The Windows Disk Management can resize volumes (or at least extend them) under some circumstances but not others. From what I understand, it depends on whether the RAID was a "basic" disk converted to "dynamic" or created "dynamic". Dynamic disks under XP are a different structure than under Vista. Vista uses a GPT label. But you're probably right: you'll probably have to destroy and rebuild - gives you an opportunity to test your bare metal recovery tools! The nice thing about doing that on 1/2 the broken mirror is that if it doesn't work, you still have the functional system to boot off the other 1/2.
I don't know much about Vista, let alone Vista 64 bit, so can't help you much. I suspect that if it sees one NTFS partition, it sees the RAID 1 properly but won't resize it because it isn't a native Vista dynamic disk. I would therefore redo all the volumes/partitions under XP, if you go that route. There's an excellent chance of losing everything during the process, so make sure you have your bare metal recovery ready.
It would be saner and easier to use a separate disk for Linux if you have one, especially if it is set up as a "basic" disk with normal partitions. You're right, Linux has no qualms about being anywhere.
Disregard the 2nd and 3rd paragraphs; I was a little distracted by the cat throwing up and my mom calling me and buying a kegerator...multitasking feh!
Vista and XP install a driver for the ISM, so they see it as one drive just like hardware RAID.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.