Skip to content

Instantly share code, notes, and snippets.

@unakatsuo
Created November 15, 2013 06:24
Show Gist options
  • Save unakatsuo/7480034 to your computer and use it in GitHub Desktop.
Save unakatsuo/7480034 to your computer and use it in GitHub Desktop.
Rescan backing store path online for tgt.

online=0 is the secret key make this happen.

# tgtadm --lld iscsi --op update --mode logicalunit --tid=1 --lun=1 --params 'online=0,path=/mnt/work1/testvol/vol2.img'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment