Re: Alpha no longer recognises certain partition tables (v2.6.38)

From: Linus Torvalds
Date: Wed Mar 16 2011 - 11:04:34 EST


On Wed, Mar 16, 2011 at 12:40 AM, Michael Cree <mcree@xxxxxxxxxxxx> wrote:
>
> OK, I've fallen for that and created too many partitions on my system disk.
>  When using your patch dmesg reports:
>
> [    7.511714] sd 1:0:0:0: [sdb] 2930277168 512-byte logical blocks: (1.50
> TB/1.36 TiB)
> [    7.551753] sd 1:0:0:0: [sdb] Write Protect is off
> [    7.572261] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
> [    7.591792] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled,
> doesn't support DPO or FUA
> [    7.633785] OSF: 10 partitions
> [    7.654292]  sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6 sdb7 sdb8
> [    7.675777] sd 1:0:0:0: [sdb] Attached SCSI disk

Ok, no problem.

I'll increase the value of OSF_MAX_PARTITIONS to 18 (which is what
fits in a 512 byte sector), and mark it for back-porting into stable
too.

Thanks for testing.

> I could get it back to eight partitions but it will require copying the
> largest partition to another disk and back again as that partition does not
> meet the conditions for resizing.

Oh, no need for that. There really isn't any real technical limit for
the "limit to 8 partitions", and we don't cause regressions.

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html