>>> Mike Christie <[email protected]> schrieb am 07.07.2011 um 00:01 in
Nachricht <[email protected]>:
> On 07/06/2011 04:01 PM, David Pineau wrote:
> > What seemed strange to me is that without the sync command, my driver
> > did not update many blocs/sectors on my storage, even though I did
> > properly umount and logout. To sum it up, I could not find where were
> > the lost data, and that is the reason why i came here with my
> > question.
> > 
> 
> If you do
> 
> - umount fs
> - iscsiadm -m .... -logout
> - sync

What comes to my mind: Do you logout after unmount, or do you logout after 
SUCCESSFUL unmount? I mean: if the filesystem is busy, it won't unmount, and 
there will be no sync then.

if umount fs; then
   iscsiadm ...
else
   error
fi


> 
> does the sync cause IO errors to get printed in /var/log/messages for
> the devices that just got deleted by the iscsiadm logout command?

Regards,
Ulrich
 

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to