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

Re: problem with a device >2TB

On Tuesday 26 July 2005 09:52, 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
> cfdisk /dev/sda
> FATAL ERROR: Cannot get disk size
> fdisk /dev/sda
> You must set cylinders.
> You can do this from the extra functions menu.
> Warning: invalid flag 0x0000 of partition table 4 will be corrected by
> w(rite)
- snip -
> kernel: sda : very big device. try to use READ CAPACITY(16).
> kernel: SCSI device sda: 6445080576 512-byte hdwr sectors (3299881 MB)
> kernel: SCSI device sda: drive cache: write back, no read (daft)
> kernel:  /dev/scsi/host0/bus0/target0/lun0: p
> thx 4 any hint or tip

It is only a vague hint, but if you're unafraid to loose data on the device, 
you could try repartitioning the disk with cfdisk's ``-z''-option. This will 
start cfdisk with an empty partition table, and thereby hopfully working 
around cfdisk's inability to detect the size of the disk.

If you dare, how are the results?
Regards, Anders Breindahl.

Attachment: pgpXNDAwD1TCm.pgp
Description: PGP signature

Reply to: