Page 1 of 1

Cannot create new Device from ibvs Snapshot file for restore

Posted: Sun Feb 19, 2012 7:43 pm
by dr.action
Greetings NC and Support Team,
I am trying to restore some single files from an "ibvss" Snapshot regarding the documentation "StarWind iSCSI SAN Software: Implementation of Enhanced Data Protection Using StarWind Snapshots" page 24 and following.
Creating a Device from a Snapshot runs into an error, here the Log entries:

Code: Select all

2/19 20:02:47.440 1cf8 conf: Device [0x000000000CE101E0] 'IBV2' has been created.
2/19 20:02:47.468 1cf8 Srv: Updating target 000000000CF36090 'iqn.2008-08.com.starwindsoftware:127.0.0.1-restore', device list 'IBV2'...
2/19 20:02:47.468 1cf8 Tgt: : parameter 'file', value 'Snapshots\F\TEMP\snap\snaps_00000002.ibvss'.
2/19 20:02:47.468 1cf8 Tgt: : parameter 'mode', value '4'.
2/19 20:02:47.468 1cf8 Tgt: : parameter 'asyncmode', value 'yes'.
2/19 20:02:47.468 1cf8 Tgt: : parameter 'CacheMode', value 'none'.
2/19 20:02:47.468 1cf8 Tgt: : parameter '#_TargetName_#', value 'iqn.2008-08.com.starwindsoftware:127.0.0.1-restore'.
2/19 20:02:47.468 1cf8 IBV: *** IBVolume_Create: Failed open Snapshot Registry database file (F:\TEMP\snap\snaps_00000002.ibvdb). File not found
2/19 20:02:47.468 1cf8 IBV: *** SscPort_Create: Create('Snapshots\F\TEMP\snap\snaps_00000002.ibvss') error (0xc0000136)!
2/19 20:02:47.468 1cf8 SCSI: Failed to create 'IBV2' device.
2/19 20:02:47.468 1cf8 Srv: Device 'IBV2' - open failed!
2/19 20:02:47.468 1cf8 Tgt: : * cannot open the device 'IBV2'. It is not active.
2/19 20:02:47.468 1cf8 Tgt: iqn.2008-08.com.starwindsoftware:127.0.0.1-restore: attached device IBV2 (found 0 LUNs).
There is indead no "snaps_00000002.ibvdb" file, only a file named "snaps.ibvdb". The same happens for other snapshot files too, e.g. "snaps_00000001.ibvdb"
What is going wrong here?
Thanks a lot for your help.

-Bernd

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Mon Feb 20, 2012 12:49 pm
by Anatoly (staff)
Could you please clarify what StaRWind version are you using?
And one additional thing that is need to be clarified for we to know what actions could be suggested and what are not - StaRWind is in production environment, correct?

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Mon Feb 20, 2012 1:20 pm
by dr.action
Hello Anatoly,
thanks for answering.
I am evaluating Starwind v5.8.1907 and it is not in a production eviroment yet, only in our Lab.

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Tue Feb 21, 2012 4:31 pm
by Anatoly (staff)
dr.action wrote:I am trying to restore some single files from an "ibvss" Snapshot
dr.action wrote:There is indead no "snaps_00000002.ibvdb" file
Could you kindly clarify how are you trying to acomplish this if you haven`t got .ibvss file?

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Tue Feb 21, 2012 4:43 pm
by dr.action
???
I have ".ibvss" Files! As you can see in Log, i mount one of them.
Then i got the Error that a ".ibvdb" File is missing.

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Wed Feb 22, 2012 2:17 pm
by Anatoly (staff)
Deeply appologies! I`ve misread that!

1a.ibvdb - is the file that contains the data about the new snapshot, and it is creating during taking snapshots. Are you sure that noone deleted it?

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Wed Feb 22, 2012 2:22 pm
by dr.action
Absolutly sure!
I tried it several times and every time this File is missing.
I tried to delete the hole Device and create a new one - same Problem.
I tried it also with CDP Device with automatic Snapshot Funktion enabled - same Problem. Snapshots are creating but there is never a "*000000*.ibvdb" File.

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Thu Feb 23, 2012 12:38 pm
by Anatoly (staff)
Could you plrease try to create linked clone first and only after mount it?

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Thu Feb 23, 2012 1:10 pm
by dr.action
Creating a linked clone works.

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Thu Feb 23, 2012 3:09 pm
by Anatoly (staff)
Great and your welcome! :D
Feel free to contact us if you will have such need!

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Thu Feb 23, 2012 3:33 pm
by dr.action
I do :-):
What about the Documentation "StarWind iSCSI SAN Software: Implementation of Enhanced Data Protection Using StarWind Snapshots" page 24 and following?
Why is this not working?

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Fri Feb 24, 2012 11:50 am
by Anatoly (staff)
dr.action wrote:What about the Documentation "StarWind iSCSI SAN Software: Implementation of Enhanced Data Protection Using StarWind Snapshots" page 24 and following?
Why is this not working?
Could you please clarify what exactly is not working?

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Fri Feb 24, 2012 1:21 pm
by dr.action
Forget it :evil:

Re: Cannot create new Device from ibvs Snapshot file for restore

Posted: Mon Feb 27, 2012 9:24 am
by Anatoly (staff)
Dear dr.action. OK, since you have not specified your last question and your initial issue is solved I think I can close this thread.

Have a nice day!

-------------topic closed-------------------