Re: fdisk issues - external drive.

2009-05-12 Thread Bryn M. Reeves
On Mon, 2009-05-11 at 17:09 -0600, Kevin Kempter wrote:
 I have a new Lacie 1TB external drive. When I plug it in via USB or
 eSATA cable it's instantly recognized by Fedora. However I want the
 drive to contain an ext3 filesystem. So I do this:
 
 
 
 1) # fsisk device

You ran fdisk on /dev/sdc1 - that's a partition, not the whole disk
device. Try running it on /dev/sdc instead.

 Disk /dev/sdc1: 10 MB, 10484736 bytes


This shows fdisk is operating on the partition sdc1, not the whole disk
(sdc). You want to see something like this instead:

  # fdisk /dev/sdc

  Command (m for help): p

  Disk /dev/sdc: 65 MB, 65517568 bytes
  3 heads, 42 sectors/track, 1015 cylinders
  Units = cylinders of 126 * 512 = 64512 bytes

 Device Boot  Start End  Blocks   Id  System
  /dev/sdc1   11015   63924   83  Linux


 Device Boot Start End Blocks Id System
 /dev/sdc1p1 1 1 8001 83 Linux

Again, you're getting this funny sdc1p1 naming style because you are
creating a nested partition table (partitioning a partition) rather than
partitioning the whole disk device.

Regards,
Bryn.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


Re: fdisk issues - external drive.

2009-05-12 Thread Bryn M. Reeves
On Tue, 2009-05-12 at 11:16 +1200, Clint Dilks wrote:
 I think FDisk is known to have issues with a single partition of this 
 size.  Try using parted to partition the disk instead.
 

That's not true - it's a limitation of the MSDOS partition table format,
not fdisk. The MBR partition table format cannot support devices or
partitions 2TiB in size due to the representation used for partition
offsets but since this disk is only 1TiB in size there isn't a problem
here.

For devices that do exceed the 2TiB limit you should use the GPT disk
label which is supported by parted.

Regards,
Bryn.


-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines


fdisk issues - external drive.

2009-05-11 Thread Kevin Kempter
Hi All;

I'm running Fedora 10  KDE 4.2

I have a new Lacie 1TB external drive.  When I plug it in via USB or eSATA 
cable it's instantly recognized by Fedora.  However I want the drive to 
contain an ext3 filesystem.  So I do this:

1) # fsisk device
2) delete all existing partitions
3) create a new primary partition
4) I'm prompted for the partition number - I choose 1
5) Im prompted for the First cylinder - again I choose 1

then Fdisk goes back to the main menu, I'm never prompted for the size.  If I 
print the partition table I see this:

Command (m for help): p

Disk /dev/sdc1: 10 MB, 10484736 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x73736572

 Device Boot  Start End  Blocks   Id  System
/dev/sdc1p1   1   18001   83  Linux


Start and end both at 1 I suspect is wrong. How do I make fdisk change the 
ending value so the size is the full size of my 1TB disk?


Thanks in advance
-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: fdisk issues - external drive.

2009-05-11 Thread Clint Dilks

Kevin Kempter wrote:

Hi All;


I'm running Fedora 10  KDE 4.2


I have a new Lacie 1TB external drive. When I plug it in via USB or 
eSATA cable it's instantly recognized by Fedora. However I want the 
drive to contain an ext3 filesystem. So I do this:



1) # fsisk device
2) delete all existing partitions
3) create a new primary partition
4) I'm prompted for the partition number - I choose 1
5) Im prompted for the First cylinder - again I choose 1


then Fdisk goes back to the main menu, I'm never prompted for the 
size. If I print the partition table I see this:



Command (m for help): p


Disk /dev/sdc1: 10 MB, 10484736 bytes
255 heads, 63 sectors/track, 1 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x73736572


Device Boot Start End Blocks Id System
/dev/sdc1p1 1 1 8001 83 Linux



Start and end both at 1 I suspect is wrong. How do I make fdisk change 
the ending value so the size is the full size of my 1TB disk?




Thanks in advance
I think FDisk is known to have issues with a single partition of this 
size.  Try using parted to partition the disk instead.


--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines