Re: Adding new target info
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On 17.01.2011 18:00, Mark Lehrer wrote:
Alternatively, if you have any targets configured already, you may use the dump option, to dump the configuration to standard outputIs the dump option supposed to be useful for creating a config file? The file it writes out doesn't quite match the configuration that is in memory.
In simple cases, yes (i.e. where you have just some targets with a name, block devices attached to it etc.).
It wouldn't however dump some more detailed settings, passwords and such - the dump relies on tgtadm output where all targets are show; it is later parsed, and a config file is created.
In other words, it will create a config file, but you might need to review it / add some settings.
-- Tomasz Chmielewski http://wpkg.org -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html