On 4/24/14, 10:10 PM, Cheng Cheng wrote:
Hi,
I am currently use iscsistart to mount the root filesystem in Debian.
I think unbuntu supports iscsi boot/root now. You should check out how
they did it since it should be close to how you can do it in debian right?
However, the system will fail to reboot due to failing to logout target. If
I force to logout the target while umount rootfs, the system will not be
able to read "reboot" as it resides on the iscsi volume.
Now I during rebooting (runlevel 6), I change the root filesystem to a
ramfs with iscsiadm and related libraries loaded. However, after I chroot
into the ramfs, I am unable to logout the target. I already have proc,
sysfs, dev mounted to ramfs, and I can use "iscsiadm --mode session" to
list connect session. But logout just fails.
You should not have to logout the session. For Red Hat and I think SLES,
when the system is shutting down the root FS gets mounted as read-only.
iSCSI is left running. Eventually /sbin/shutdown is run and from there
the kernel is shutdown and if needed the scsi layer might have the iscsi
layer send some commands like a sync cache. So for this you just need to
leave the network up.
--
You received this message because you are subscribed to the Google Groups
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.