LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-14-2022, 12:35 PM   #1
roelvdh
LQ Newbie
 
Registered: Aug 2018
Location: Netherlands
Distribution: ClearOS
Posts: 26

Rep: Reputation: Disabled
Need some help with iSCSI


I have a Linux server with a disk containing a loop device that contains a Windows NTFS volume, connecting to my Windows machines via iSCSI. After a connection problem Windows insisted to recheck the NTFS volume, ultimately to reformat it. That didn't sound as a good idea to me and I started by saving the image, called disk01.img, to another location on my Linux server. Then I let Windows rewrite the volume, so now I have a correct Windows volume, which is still empty. I tried to copy back the file disk01.img, but that doesn't seem to work yet. I would now like to use the saved copy of disk01.img as the source for iSCSI. However, the docs are not quite clear to me on how to do that and I would appreciate some help. I have now:
Quote:
targetcli
/> ls /backstores/fileio/disk01
o- disk01 ................ [/storage/disk01.img (680.0GiB) write-back activated]
o- alua ..................................................... [ALUA Groups: 1]
o- default_tg_pt_gp ......................... [ALUA state: Active/optimized]
I would like trying to change the parameter disk01 from the current /storage/disk01.img into /saveddir/disk01.img but I don't want to make any errors here and this is not something I have done before. What would be the correct instruction in targetcli?

Edit:
Solved, found it

Last edited by roelvdh; 05-15-2022 at 01:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] pacemaker - iscsi: how to set up iscsi targets/logical units? eantoranz Linux - Server 9 01-02-2013 08:38 AM
hi want some case study on iscsi pramodrepaka Linux - Networking 2 07-15-2008 02:18 AM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 02:02 AM
Need some help finding some files that I want to mod... Can you help Val-Ent Mandriva 11 01-06-2007 04:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration