setup-storage : Error: Error initialising SCSI device /dev/sda - Invalid argument

Henning Sprang henning.sprang at gmail.com
Fri Feb 26 14:22:46 CET 2010


Hi,

On Mon, Dec 14, 2009 at 2:20 PM, Rudy Gevaert <rudy.gevaert at ugent.be> wrote:
> Should I move this to the parted list?

Sorry for not being able to say anything about this, I've been very
busy and did not do anything with FAI the last months.

Now that I do some things with it again, it took me only 2 days until
I stumble into the same thing on a customer system ( partitioning
breaking with  "Table header not seen yet"

As far as I understood, this is a bug in parted - is it solved in the
meantime, or is the only solution still to install the system with the
old partition tool?

Debug log from setup storage is:

Calling task_partition
Partitioning local harddisks using setup-storage
Starting setup-storage 1.2
disklist was: cciss/c0d0
cciss/c1d0
Using config file: /var/lib/fai/config/disk_config/WEBSERVER
Input was:
# example of new config file for setup-storage
#
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

disk_config disk1 disklabel:msdos

primary  /             10000	  ext3   rw,errors=remount-ro
primary  swap          1000       swap   rw
# logical  -             0-         -      -

# disk_config lvm
# vg  pv  /dev/cciss/c1d0p5
#
# pv-home    /home     1000        ext3      rw
# pv-var     /var      1000        ext3      rw


(CMD) parted -s /dev/cciss/c0d0 unit TiB print 1> /tmp/CsXMU2c9Tx 2>
/tmp/8nVbHhhdPv
Executing: parted -s /dev/cciss/c0d0 unit TiB print
INTERNAL ERROR in setup-storage:
Table header not seen yet
Please report this error to the Debian Bug Tracking System.
(STDOUT) Warning: /dev/cciss/c0d0 contains GPT signatures, indicating
that it has a GPT table.  However, it does not have a valid fake msdos
partition table, as it should.  Perhaps it was corrupted -- possibly
by a program that doesn't understand GPT partition tables.  Or perhaps
you deleted the GPT table, and are now using an msdos partition table.
 Is this a GPT partition table?
(STDOUT) Model: Compaq Smart Array (cpqarray)
(STDOUT) Disk /dev/cciss/c0d0: 10.0TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: gpt
(STDOUT)
(STDOUT) Number  Start    End      Size     File system  Name      Flags
(STDOUT)  1      0.00TiB  10.0TiB  10.0TiB               msa70lvm
(STDOUT)
Error in task partition. Traceback: task_error task_partition task
task_install task task_action task main
Save log files via ssh to fai at faiserver:faiclient//install-20100226_125734


More information about the linux-fai mailing list