Unable to initialize 2TB partition with FAI 3.1.26 / Lenny

Roel van der Made rvandermade at ebay.com
Wed Apr 22 09:24:57 CEST 2009


Hi all,

I'm kinda stuck with the following issue;

I have a Dell 2950 with 6 450G SAS disks configured with a hw-raid5 set,
which gives me a volume of ~2TB. This volume is recognized as sda during
boottime (log1 below) but somehow sfdisk is not able to initialize the
volume with the configured partitions (log2 & disk_config below).

I understood fdisk has a >2TB volume issue, but FAI is using sfdisk here,
right?

Thanks for any possible solutions!

log1:

scsi0 : LSI Logic SAS based MegaRAID driver
scsi 0:0:0:0: Direct-Access     HITACHI  HUS154545VLS300  A4C2 PQ: 0 ANSI: 5
scsi 0:0:1:0: Direct-Access     HITACHI  HUS154545VLS300  A4C2 PQ: 0 ANSI: 5
scsi 0:0:2:0: Direct-Access     HITACHI  HUS154545VLS300  A4C2 PQ: 0 ANSI: 5
scsi 0:0:3:0: Direct-Access     HITACHI  HUS154545VLS300  A4C2 PQ: 0 ANSI: 5
scsi 0:0:4:0: Direct-Access     HITACHI  HUS154545VLS300  A4C2 PQ: 0 ANSI: 5
scsi 0:0:5:0: Direct-Access     HITACHI  HUS154545VLS300  A4C2 PQ: 0 ANSI: 5
scsi 0:0:32:0: Enclosure         DP       BACKPLANE        1.05 PQ: 0 ANSI:
5
scsi 0:2:0:0: Direct-Access     DELL     PERC 6/i         1.21 PQ: 0 ANSI: 5
3ware 9000 Storage Controller device driver for Linux v2.26.02.010.
Driver 'sd' needs updating - please use bus_type methods
sd 0:2:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
sd 0:2:0:0: [sda] 4389601280 512-byte hardware sectors (2247476 MB)
sd 0:2:0:0: [sda] Write Protect is off
sd 0:2:0:0: [sda] Mode Sense: 1f 00 10 08
sd 0:2:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO
and FUA
sd 0:2:0:0: [sda] Very big device. Trying to use READ CAPACITY(16).
sd 0:2:0:0: [sda] 4389601280 512-byte hardware sectors (2247476 MB)
sd 0:2:0:0: [sda] Write Protect is off
sd 0:2:0:0: [sda] Mode Sense: 1f 00 10 08
sd 0:2:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO
and FUA
 sda: unknown partition table
sd 0:2:0:0: [sda] Attached SCSI disk

log2:

FAI_ACTION: install
Performing FAI installation. All data may be overwritten!

Calling task_install
Calling task_partition
Partitioning local harddisks using setup_harddisks
setup_harddisks version 0.43fai
Probing disks:  /dev/sda
Disks found: sda
sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/sda: unrecognized partition table type
No partitions found

Using config file: /var/lib/fai/config/sd 0:2:0:0: [sda] Very big device.
Trying to use READ CAPACITY(16).
disk_config/CLEAsd 0:2:0:0: [sda] 4389601280 512-byte hardware sectors
(2247476 MB)
Mappingsd 0:2:0:0: [sda] Write Protect is off
 disk name disk1sd 0:2:0:0: [sda] Write cache: disabled, read cache:
enabled, supports DPO and FUA
Creating partition table: LC_ALL=C sfdisk -q  /dev/sda <
/tmp/fai/partition.sda

sfdisk: ERROR: sector 0 does not have an msdos signature
 /dev/sda: unrecognized partition table type
No partitions found

sfdisk: bad input

SFDISK ERROR:
 
Disk /dev/sda: 273240 cylinders, 255 heads, 63 sectors/track
Old situation:

Traceback: task_error task_partition task task_install task task_action task
main
FATAL ERROR. Installation stopped.
bash: no job control in this shell
root at kj-calstore001:/#

disk_config:

# <type> <mountpoint> <size in mb> [mount options]     [;extra options]

# Don't just change this to sda/b/c etc please!
disk_config disk1
primary  /             1000-2000     rw,errors=remount-ro ; -c -j ext3
primary  /boot         100-160     rw                   ; -j ext3 boot
logical  swap          400-500     rw                   ; swap
logical  /tmp          1000-1800   rw                   ; -m 0 -j ext3
logical  /usr          2000-2200   rw                   ; -j ext3
logical  /var          5000-7500   rw                   ; -m 5  -j ext3
logical  /home         500-5400   rw                    ; -m 1 -j ext3
logical  /opt          1000-600000 rw                   ; -m 1 -j xfs


Thanks,

Roel.



More information about the linux-fai mailing list