Can WIN2003 boot on 64K clusters?
#1
Posted 18 January 2010 - 08:36 PM
#2
Posted 18 January 2010 - 10:05 PM
#3
Posted 18 January 2010 - 11:02 PM
#4
Posted 18 January 2010 - 11:21 PM
So...I decided to set the Windows partition and the storage partition both to 64K, and align both to the 64k stripe element size of the PERC5 controller. But I've been stuck between a rock and two hard places, because I need WinPE with both the PERC5 drivers, and the Recovery Console. It's a been a bass-ad bear of a time flipping CD's back & forth, but I finally have what I need. I tried finding some 3rd-party utilities to do what I need, but no partition manager software that I found allowed the granularity of partition starting offset needed to do this.
I was able to boot the WinPE with the injected RAID drivers, arrange the partitions with DISKPART, but then when I installed Windows 2003, it couldn't find the boot loader on the first reboot. I assumed I hosed the MBR along the way, so I tried FIXMBR, but that didn't quite work. Also, the Dell Utility Partition probably got mixed in & messed up along the way, as that wouldn't boot up either.
Tonight I decided to drop it and come back tomorrow with a fresh head and look at it all more carefully. I'm prolly just going to have to play switch-a-roo and experiment until I get it right. If I can make this work on the PE2850 SQL Server that our whole business runs on, it would be pretty darn sweet. Especially if I can demonstrate to the CTO that our overall array efficiency has increased by double-digit percentage points.
#5
Posted 18 January 2010 - 11:23 PM
cluberti, on Jan 19 2010, 12:02 AM, said:
Ok, explain this paged-pool restraint. They didn't mention anything about that in the whitepaper.
#6
Posted 18 January 2010 - 11:25 PM
#7
Posted 19 January 2010 - 09:21 AM
cluberti, on Jan 19 2010, 12:25 AM, said:
Sorry to pop your balloon. =-)
But srsly - what's the paged-pool thing? It sounds like a VM issue. We have all Dell-gear here and I was going to do it to the other servers too, because they all need work. I've been pimping them out with more ram, disks, & cpu's, and I was going to do this cluster-alignment thing on our file-servers, too...
#8
Posted 19 January 2010 - 11:05 AM
#9
Posted 19 January 2010 - 04:38 PM
But... Without completely understanding what you're saying, I think I see where it's leading. And in fact I already had an idea for this, which I might be able to modify: add another partition just for the swap file. The plan was to keep the swap file by itself to keep it from getting fragmented with Windows & program files; I do this on my own PC at home.
But, I was originally going to make it 64k clusters like the rest. What if I make it the NTFS default 4k...? Would this lessen the paged-pool depletion you spoke of in your previous post?
#10
Posted 19 January 2010 - 05:06 PM
spinjector, on Jan 19 2010, 05:38 PM, said:
But... Without completely understanding what you're saying, I think I see where it's leading. And in fact I already had an idea for this, which I might be able to modify: add another partition just for the swap file. The plan was to keep the swap file by itself to keep it from getting fragmented with Windows & program files; I do this on my own PC at home.
But, I was originally going to make it 64k clusters like the rest. What if I make it the NTFS default 4k...? Would this lessen the paged-pool depletion you spoke of in your previous post?
Note that a paging file (virtual memory pages on disk) is in no way related to a kernel memory pool (paged pool or nonpaged pool). In a 10,000 ft view, a kernel memory pool is a location that drivers and other kernel modules can allocate (and hopefully de-allocate when finished) chunks of address space. The only real difference between the paged pool and the nonpaged pool (other than size - paged pool is always much larger than nonpaged pool) is the fact that the paged pool can all be paged to disk if the memory manager deems it necessary, but nonpaged pool MUST always reside in RAM (hence "paged pool" and "nonpaged pool").
As to the paging file on a SQL server, I believe the SQL performance whitepapers discuss this subject, and I would strongly suggest following that guidance.
#11
Posted 19 January 2010 - 05:53 PM
Here is my guess based on the samples from the article.
Quote
list disk
select disk 0
create partition primary align=1,048,576
assign letter=C:
format fs=ntfs unit=64K label="Local Disk" nowait
If you are having troubles with WinPE support of your drivers, back in the day before Bart Lagerweij, we used to actually have to take a spare IDE drive, plop down a full OS (W2K3 trial version is fine), install your RAID drivers and run diskpart that way. Once in alignment, then you can unplug that HDD from the machine, and reboot to begin your real installation. Just an idea.
#12
Posted 19 January 2010 - 05:55 PM
#13
Posted 19 January 2010 - 06:00 PM
The only reason you would need a paging file at all is to make sure you have enough paging file configured on the Windows volume in the event there's a system crash that needs to generate a memory dump (so paging file == RAM + 64MB, give or take) - it shouldn't matter at all how large it is, where on the disk it is, etc (you most certainly are NOT placing your databases, logfiles, etc on the Windows \ Program Files volume, right? They're all going on separate volumes for DB, logfiles, etc...... right?????
#14
Posted 27 January 2010 - 09:46 PM
MrJinje, on Jan 19 2010, 06:53 PM, said:
If you are having troubles with WinPE support of your drivers, back in the day before Bart Lagerweij, we used to actually have to take a spare IDE drive, plop down a full OS (W2K3 trial version is fine), install your RAID drivers and run diskpart that way. Once in alignment, then you can unplug that HDD from the machine, and reboot to begin your real installation. Just an idea.
Oh I've worked out my script. I just tweaked it some more and I was just about to give it the full run through, but I'm taking a break and checking messages because my head is about to explode. Again. It's been happening around this time every night for the past week.5... =-)
SELECT DISK 0 CREATE PARTITION PRIMARY SIZE=63 ALIGN=1024 ASSIGN LETTER=C CREATE PARTITION PRIMARY SIZE=16000 ALIGN=65536 ASSIGN LETTER=D CREATE PARTITION PRIMARY SIZE=8000 ALIGN=16449536 ASSIGN LETTER=E CREATE PARTITION PRIMARY ALIGN=32833536 ASSIGN LETTER=F SELECT VOLUME C FORMAT FS=FAT LABEL=DELLUTIL QUICK REMOVE LETTER=C ATTRIBUTES VOLUME SET HIDDEN SET ID=DE OVERRIDE SELECT VOLUME D FORMAT FS=NTFS LABEL=WINDOWS UNIT=4K QUICK ASSIGN LETTER=C ACTIVE SELECT VOLUME E FORMAT FS=NTFS LABEL=SWAPFILE UNIT=4K QUICK ASSIGN LETTER=D SELECT VOLUME F FORMAT FS=NTFS LABEL=DATA UNIT=64K QUICK ASSIGN LETTER=E
Followed by writing the custom Dell MBR for the Utility Partition:
DSFI \\.\PHYSICALDRIVE0 0 446 DELLNOPT.MBR
The part that's been killing me the past couple days is I got a bad piece of this nasty cake: KB931761, with KB931760 and KB919529 as frosting & sprinkles. What they boil down to is that Windows 2003 doesn't like partitions created with the WinPE 2.0 Diskpart command. So, as per the KB articles, I've spent the day upgrading the BIOS and four firmwares in the system, modified the registry in the WinPE2, and re-slipstreamed my Win2K3 CDR with the additional hotfix WindowsServer2003-KB931761-x86-ENU.exe from the KB.
So... I'm just about to test this all the way through. I'll let you know what happens.
#15
Posted 27 January 2010 - 09:55 PM
It seems I need to modify my script somewhat with NOERR commands because DISKPART keeps trying to access a volume that isn't there. Then I have to figure out why the one Attribute command is hiding ALL the partitions at the same time.
I'll get back to you tomorrow. I swore I'd leave at 9pm, and here it is 11pm already.
#16
Posted 27 January 2010 - 10:18 PM
If I do this, either by script or typing in the commands at the prompt...
SELECT VOLUME 2 ATTRIBUTES VOLUME SET HIDDEN
...it hides ALL the partitions at the same time..!!!
And if I do this...
SELECT VOLUME 2 ATTRIBUTES VOLUME CLEAR HIDDEN
...it UNHIDES them all...!!!
Am I losing my mind...?
#17
Posted 28 January 2010 - 09:20 AM
#18
Posted 28 January 2010 - 11:01 AM
cluberti, on Jan 28 2010, 10:20 AM, said:
Nope. No matter what I do, Diskpart is hiding/unhiding ALL of the partitions/volumes at the same time as one group.
Either I'm missing some fundamental concept or command, or something is goofy in my setup.
I've copied/pasted the entire sequence below.
I typed all my commands in lowercase so they could be differentiated better.
Towards the end, you'll see the hide/list and everything is hidden, then unhide/list and everything is unhidden. Arrrghh!!!
N:\>diskpart Microsoft DiskPart version 6.0.6000 Copyright (C) 1999-2007 Microsoft Corporation. On computer: MININT-64IFCHO DISKPART> select disk 0 Disk 0 is now the selected disk. DISKPART> list partition Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Primary 63 MB 1024 KB Partition 2 Primary 16 GB 64 MB Partition 3 Primary 7552 MB 18 GB Partition 4 Primary 656 GB 27 GB DISKPART> select partition 1 Partition 1 is now the selected partition. DISKPART> list volume Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 M CD_ROM CDFS DVD-ROM 189 MB Healthy * Volume 1 DELLUTIL FAT Partition 63 MB Healthy Volume 2 C WINDOWS NTFS Partition 16 GB Healthy Volume 3 D SWAPFILE NTFS Partition 7552 MB Healthy Volume 4 E DATA NTFS Partition 656 GB Healthy Volume 5 N USBDRIVE FAT32 Removable 1937 MB Healthy DISKPART> attributes volume set hidden Volume attributes set successfully. DISKPART> list volume Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 M CD_ROM CDFS DVD-ROM 189 MB Healthy * Volume 1 DELLUTIL FAT Partition 63 MB Healthy Hidden Volume 2 WINDOWS NTFS Partition 16 GB Healthy Hidden Volume 3 SWAPFILE NTFS Partition 7552 MB Healthy Hidden Volume 4 DATA NTFS Partition 656 GB Healthy Hidden Volume 5 N USBDRIVE FAT32 Removable 1937 MB Healthy DISKPART> attributes volume clear hidden Volume attributes cleared successfully. DISKPART> list volume Volume ### Ltr Label Fs Type Size Status Info ---------- --- ----------- ----- ---------- ------- --------- -------- Volume 0 M CD_ROM CDFS DVD-ROM 189 MB Healthy * Volume 1 DELLUTIL FAT Partition 63 MB Healthy Volume 2 C WINDOWS NTFS Partition 16 GB Healthy Volume 3 D SWAPFILE NTFS Partition 7552 MB Healthy Volume 4 E DATA NTFS Partition 656 GB Healthy Volume 5 N USBDRIVE FAT32 Removable 1937 MB Healthy DISKPART> exit Leaving DiskPart... N:\>
#19
Posted 28 January 2010 - 02:08 PM
#20
Posted 28 January 2010 - 04:41 PM
cluberti, on Jan 28 2010, 03:08 PM, said:
Volume 1 is selected by default when SEL PART 1 is issued.
In fact, it states in the documentation, that if you SEL VOL X, it automatically selects the disk & partition that volume is on.
If you look just before the SET HIDDEN, under LIST VOL, there is an asterisk next to Volume 1 to indicate it's selected.
I also thought the same thing, and I tried various combinations of SELECT commands to make certain the right object was selected. But the outcome was the same every time.



Help


Back to top










