[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 3rd new wheezy install



On Sunday 08 February 2015 06:29:00 Gene Heskett wrote:
> On Sunday, February 08, 2015 12:59:11 AM Bob Proulx wrote:
> > Gene Heskett wrote:
> > > The alignment seems to be bad on every partition if you do it by hand,
> > > but if you just let it use the whole disk, the first parttition is
> > > good, but the swap seems out of kilter and probably slow if and when I
> > > ever get into swap.
> >
> > But your swap was aligned just fine.  You showed:
> > > /dev/sda5      1919979520  1953523711    16772096   82  Linux swap /
> > > Solaris
> >
> > That is aligned okay.  No need to complain about it.  Use it.  It is
> > aligned okay.
> >
> > Bob
>
> Then why is fdisk complaining?:
>
> root@coyote:/home/amanda/amanda-3.3.6# fdisk -l /dev/sda
>
> Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
> 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disk identifier: 0x000657ed
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *        2048  1919977471   959987712   83  Linux
> /dev/sda2      1919979518  1953523711    16772097    5  Extended
> Partition 2 does not start on physical sector boundary. <------here
> /dev/sda5       1919979520  1953523711    16772096   82  Linux swap /
> Solaris
>
> But do the math, and it is aligned.  fdisk is lying? IDK.
>
> Thanks Bob.

Partition 2 IS NOT SWAP.  Partition *5* is swap.

Lisi


Reply to: