Skip to contentSkip to conversation

Does tgt-admin supports bs-type sheepdog?

DISCUSSION Marcin Mirosław 2 participants 3 messages Sep 29, 2015 – Sep 30, 2015

lore
Share & tools
lore
#0 lore raw

Hello all!

I've got installed tgt-1.0.60, iI'm trying to define sheepdog store in targets.conf file. Content of targets.conf is:

# cat /etc/tgt/targets.conf
default-driver iscsi

<target iqn.backup.sheep:usun>

        bs-type sheepdog
        backing-store tcp:127.0.0.1:7000:usun

</target>

but tgt-admin throws:

# tgt-admin -p -e
# Adding target: iqn.backup.sheep:usun
tgtadm -C 0 --lld iscsi --op new --mode target --tid 1 -T
iqn.backup.sheep:usun
# Skipping device: tcp:127.0.0.1:7000:usun
# tcp:127.0.0.1:7000:usun does not exist - please check the
configuration file
tgtadm -C 0 --lld iscsi --op bind --mode target --tid 1 -I ALL

Does tgt-admin supports sheepdog or I made a mistake in targets.conf?

Marcin

#1 lore raw

Hi Marcin,

Quoted 23 lines · Marcin Mirosław

Hello all!

I've got installed tgt-1.0.60, iI'm trying to define sheepdog store in targets.conf file. Content of targets.conf is:

# cat /etc/tgt/targets.conf
default-driver iscsi

<target iqn.backup.sheep:usun>

        bs-type sheepdog
        backing-store tcp:127.0.0.1:7000:usun

</target>

but tgt-admin throws:

# tgt-admin -p -e
# Adding target: iqn.backup.sheep:usun
tgtadm -C 0 --lld iscsi --op new --mode target --tid 1 -T
iqn.backup.sheep:usun
# Skipping device: tcp:127.0.0.1:7000:usun
# tcp:127.0.0.1:7000:usun does not exist - please check the
configuration file
tgtadm -C 0 --lld iscsi --op bind --mode target --tid 1 -I ALL
Quoted 1 line

Does tgt-admin supports sheepdog or I made a mistake in targets.conf?

AFAIK, the script doesn't support sheepdog as a backing store type. Could you add it to our issue tracker? Someone will work on it in the near future :)

Thanks,
Hitoshi

Quoted 6 lines

Marcin
--
To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

W dniu 30.09.2015 o 03:57, Hitoshi Mitake pisze:

Quoted 26 lines

Hi Marcin,

Quoted 23 lines · Marcin Mirosław

Hello all!

I've got installed tgt-1.0.60, iI'm trying to define sheepdog store in targets.conf file. Content of targets.conf is:

# cat /etc/tgt/targets.conf
default-driver iscsi

<target iqn.backup.sheep:usun>

         bs-type sheepdog
         backing-store tcp:127.0.0.1:7000:usun

</target>

but tgt-admin throws:

# tgt-admin -p -e
# Adding target: iqn.backup.sheep:usun
tgtadm -C 0 --lld iscsi --op new --mode target --tid 1 -T
iqn.backup.sheep:usun
# Skipping device: tcp:127.0.0.1:7000:usun
# tcp:127.0.0.1:7000:usun does not exist - please check the
configuration file
tgtadm -C 0 --lld iscsi --op bind --mode target --tid 1 -I ALL
Quoted 5 lines
Quoted 1 line

Does tgt-admin supports sheepdog or I made a mistake in targets.conf?

AFAIK, the script doesn't support sheepdog as a backing store type. Could you add it to our issue tracker? Someone will work on it in the near future :)

Thanks for answer, I assumed that "our issue tracker" is a sheepdog tracker;) https://github.com/sheepdog/sheepdog/issues/176
Done,
Marcin