setup-storage: disklabel doesn't work

Jens Rosenboom jens.rosenboom at freenet.ag
Mon Nov 3 16:59:06 CET 2008


On Mon, Nov 03, 2008 at 04:44:16PM +0100, Michael Tautschnig wrote:
> > It still is broken for some disks:
> > 
> > (CMD) parted -s /dev/sdb unit TiB print 1> /tmp/h7McmrDIeR 2> /tmp/bnYHpUowLU
> > Executing: parted -s /dev/sdb unit TiB print
> > Command parted -s /dev/sdb unit TiB print had exit code 1
> > Parted was unable to read the partition table
> > (STDOUT) No Implementation: Partition 1 isn't aligned to cylinder boundaries.  This is still unsupported.
> 
> [...]
> 
> Is this supposed to be a brand new/blank disk, or what has happended to that one
> before? I didn't expect this error to occur at that stage, so it's currently not
> handled by setup-storage. Did you see it on a single disk only, or multiple
> times?

It was a used disk and I don't know how it got formatted this way,
but IMHO when the config tells setup-storage to write a new disklabel,
which will erase all existing partition information anyhow, you
shouldn't try to read anything at all from that disk beforehand.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20081103/9f529389/attachment.bin 


More information about the linux-fai mailing list