Disk setup

Toomas Tamm tt-fai at kky.ttu.ee
Fri Feb 17 15:28:04 CET 2012

On Fri, 2012-02-17 at 13:21 +0100, Denny Schierz wrote:

> root-vg-swapfs swap     1G      ext4    rw,noatime,errors=remount-ro

I am not sure if could cause a "syntax error", but shouldn't swap
partitions be formatted as "swap", rather than ext4 ?

I would write this line as:

root-vg-swapfs swap     1G     swap  sw

If this is not the problem I suggest:

1) make a copy of the setup-storage script to your own account and run
it as a non-privileged user (thus avoiding any damage to disks). It will
not be able to format any disks, but syntax errors should be shown.
2) remove lines from the input file until the syntax error message
disappears. The line you removed last is the problematic one.

Hoping this helps,

Toomas Tamm

More information about the linux-fai mailing list