Blew away my partition table

J. Epperson Dell at epperson.homelinux.net
Tue Jun 29 20:53:25 CDT 2010


On Tue, June 29, 2010 21:27, Jefferson Ogata wrote:
> On 2010-06-30 01:13, J. Epperson wrote:
>> I read your posts regularly, and learn from you often.  Does the rest of
>> it look right, or at least plausible?
>
> Gee, thanks. :^)

Thank _you_.  Sincerely intended, from a 25 year systems engineer.

>
> Mostly looks plausible. But:
>
>> Model: MegaRAID LD 0 RAID1 70G (scsi)
>> Disk /dev/sda: 143380480s
>> Sector size (logical/physical): 512B/512B
>> Partition Table: msdos
>>
>> Number  Start       End         Size        Type     File system  Flags
>>  1      63s         401622s     401560s     primary  ext3         boot
>>  2      401625s     139299608s  138897984s  primary  ext3
>>  3      139299616s  143380124s  4080509s    primary               swap
>
> I would say those end sectors on partitions 1 and 2 should be one less
> than the following partition's start sector. The end sector of partition
> 3 looks correct; though the last sector on the disk is 143380479, when
> you round down to a cylinder boundary you end up at 143380124.
>

I was thinking the same thing, but that's what the parted rescue "found",
so I assumed it was correct.  Looking at another F12 system, what you say
is how that one is.  Not sure what to do, try it as is or make the
adjustment.  I do notice from the other system that I should probably mark
the swap as FS type linux-swap(v1).  The other system looks like:

Model: ATA ST3500410AS (scsi)
Disk /dev/sda: 976773168s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start       End         Size        Type     File system     Flags
 1      63s         401624s     401562s     primary  ext3            boot
 2      401625s     958743134s  958341510s  primary  ext3
 3      958743135s  976751999s  18008865s   primary  linux-swap(v1)  swap




More information about the Linux-PowerEdge mailing list