can't recognize the harddisk size

Doug doug at hacks.perl.sh
Sun Apr 21 01:03:43 UTC 2013


> AFAIK 2TB is at the limit for an msdos-labelled disk and using a
gpt-label might be better

How to use a gpt-label for this disk? thanks.


2013/4/20 Tom H <tomh0665 at gmail.com>

> On Fri, Apr 19, 2013 at 11:14 PM, Doug <doug at hacks.perl.sh> wrote:> Hello,
> >
> > I try to add a new 2T SATA disk to my ubuntu system.
> > After the disk is installed, I run fdisk to format the whole disk as a
> > partion.
> >
> > Command (m for help): p
> >
> > Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
> > 255 heads, 63 sectors/track, 243201 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> > Sector size (logical/physical): 512 bytes / 4096 bytes
> > I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> > Disk identifier: 0x00000000
> >
> >    Device Boot      Start         End      Blocks   Id  System
> > /dev/sda1               1      243201  1953512001   83  Linux
> > Partition 1 does not start on physical sector boundary.
> >
> > Command (m for help): w
> > The partition table has been altered!
> >
> > Calling ioctl() to re-read partition table.
> >
> > WARNING: Re-reading the partition table failed with error 16: Device or
> > resource busy.
> > The kernel still uses the old table. The new table will be used at
> > the next reboot or after you run partprobe(8) or kpartx(8)
> >
> > Then I run mkfs to make the filesystem:
> >
> > root at xiaopeng:~# mkfs.ext4 /dev/sda1
>
> Did you reboot or run kpartx or partprobe before running mkfs?
>
> AFAIK 2TB is at the limit for an msdos-labelled disk and using a
> gpt-label might be better (CAN SOMEONE CONFIRM - OR INFIRM - THIS?)
> but I think that your problem comes from the kernel no knowing about
> the partition that you've created.
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130421/3658a342/attachment.html>


More information about the ubuntu-users mailing list