* Non-equal sized partitions vs RAID 1
@ 2002-07-01 11:29 Flemming Frandsen
2002-07-01 11:54 ` Danilo Godec
0 siblings, 1 reply; 2+ messages in thread
From: Flemming Frandsen @ 2002-07-01 11:29 UTC (permalink / raw)
To: linux-raid
I have two disks in my box, both are MAXTOR 6L080L4 (80GB IDE) and
physically the same disks, both have 3 partitions, one for /boot one for
swap and one huge one for the rest for the mirrored data.
The mirror works as expected, but somewhere something went slightly
wrong because one disks geometry is:
physical 155114/16/63
logical 155114/16/63
The other disk is:
physical 155114/16/63
logical 9732/255/63
Now, this has the annoying sideeffect of making it impossible for me to
partition them exactly the same way, so I ended up creating the mirror
on disk 1 (which has a slightly smaller partition for mirroring than
disk 2) and then adding disk 2 later.
This will get me in trouble (I tested it) when disk 1 fails and I need
to replace it, because then I have to make that partition slightly
larger than the disk 2 partition so it can be added to the mirror.
Now for the questions:
* Is there a way to change the logical geometry of disk 2, so I can
partition correctly (well if there is then this post is OT)?
* Is there a way to force the array to keep being the same size, even
after the smaller partition has failed?
* Why does the BIOS think that it's cool to translate similar disks
differently, are BIOS writers crackheads or was I just unlucky?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Non-equal sized partitions vs RAID 1
2002-07-01 11:29 Non-equal sized partitions vs RAID 1 Flemming Frandsen
@ 2002-07-01 11:54 ` Danilo Godec
0 siblings, 0 replies; 2+ messages in thread
From: Danilo Godec @ 2002-07-01 11:54 UTC (permalink / raw)
To: Flemming Frandsen; +Cc: linux-raid
On Mon, 1 Jul 2002, Flemming Frandsen wrote:
> Now for the questions:
> * Is there a way to change the logical geometry of disk 2, so I can
> partition correctly (well if there is then this post is OT)?
You can use 'hdx=c,h,s' kernel parameter on boot. You can also use fdisk's
expert menu to change the geometry while creating the partitions. I don't
know if the later alone is enough, I prefer to use the kernel parameter
and only use the fdisk trick to skip one reboot.
Remember to replace 'hdx' with your actual device name... :)
> * Is there a way to force the array to keep being the same size, even
> after the smaller partition has failed?
After the array is created, it doesn't (shouldn't) change.
> * Why does the BIOS think that it's cool to translate similar disks
> differently, are BIOS writers crackheads or was I just unlucky?
All BIOSes seem to do that: Disks, connected to the primary IDE interface
show 'correct' geometry, while disks, connected to the secondary interface
don't. I hoped it would go away with recent bioses, but I'm affraid I'll
just have to get used to it... :/
D.
--
___________________________________________________________________
| Danilo Godec | Agenda d.o.o. | ISP for business |
| jr. Syst. Admin | Gosposvetska 84 | WAN networks |
| danci@agenda.si | si-2000 Maribor | Internet/Intranet |
| tel:+386.2.2340860 | Slovenija | Application servers |
| fax:+386.2.2340854 | http://www.agenda.si | Caldera OpenLinux |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-01 11:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-01 11:29 Non-equal sized partitions vs RAID 1 Flemming Frandsen
2002-07-01 11:54 ` Danilo Godec
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.