Am Dienstag, 26. Juli 2005 22:26 schrieb Mirko Parthey:
> On Tue, Jul 26, 2005 at 09:52:09AM +0200, christian gattermair wrote:
> > i use debian sarge with 2.6.8-2-686-smp and like to use an raid device
> > (sda) with 3 TB.
> >
> > i have read in the internet and found that there is an kernel feature
> > called LBD. it is activated
> >
> > but with cfdisk:
> >
> > cfdisk /dev/sda
> > FATAL ERROR: Cannot get disk size
> > [...]
>
> Just a guess - have you tried partitioning with GNU parted?
> Does "blockdev --getsize /dev/sda" report the correct number of sectors?
>
> Mirko

thanks for your answer

no i don't use parted. i prefer cfdisk and fdisk

blockdev --getsize /dev/sda gives me this message

blockdev --getsize /dev/sda
BLKGETSIZE: Die Datei ist zu groß

translated in english: BLKGETSIZE: Die Datei ist zu groß - the file is to big

with parted:

(parted) print
Disk geometry for /dev/sdb: 0.000-3147012.000 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
(parted) mkpart logical ext3 1 3147012
Partition type?  primary/extended? extended
Start? 1
End? 3147012
(parted) print
Disk geometry for /dev/sdb: 0.000-3147012.000 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031 1049854.423  extended


1049854.423 is to small ......
the print command prints the right size .....

thanks for help,

christian

Reply via email to