[stgt] targets.conf problem, setting up tape drives
Albert Pauw
albert.pauw at gmail.com
Sun Oct 25 13:26:39 CET 2009
On 10/25/2009 01:14 PM, Tomasz Chmielewski wrote:
>
> So, with your config:
>
> element_type "1,start_address=1,quantity=1"
> element_type "2,start_address=1000,quantity=24"
> element_type "3,start_address=10,quantity=5"
> element_type "4,address=500,tid=1,lun=1"
> element_type "4,address=500,tid=1,lun=2"
> element_type "4,address=500,tid=1,lun=3"
> media_home "/root/tapes"
> that would translate to:
>
> tgtadm --lld iscsi --mode logicalunit --op update --tid 1 --lun 4
> (starting each command,
> and then the below --params in each command):
>
> --params element_type
> "1,start_address=1,quantity=1",media_home=/root/tapes
> --params element_type
> "2,start_address=1000,quantity=24",media_home=/root/tapes
> --params element_type
> "3,start_address=10,quantity=5",media_home=/root/tapes
> --params element_type "4,address=500,tid=1,lun=1",media_home=/root/tapes
> --params element_type "4,address=500,tid=1,lun=2",media_home=/root/tapes
> --params element_type "4,address=500,tid=1,lun=3",media_home=/root/tapes
>
>
> Is it possible to specify multiple "media_home" parameters or is it
> one, and only one?
>
I assume that currently only one media_home is used.
So you only have to define it once within one backing store.
Albert
--
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