[stgt] Adding new target info

Tomasz Chmielewski mangoo at wpkg.org
Mon Jan 17 19:39:35 CET 2011


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 output
>
> Is 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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list