Re: [libvirt] Re: ISCSI howto, example, etc?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 14 May 2008, Stefan de Konink wrote:

> I consider my output interesting... it seems the -P option is ignored.
> (I'm running open-iscsi-2.0.868_rc1)

After upgrading to open-iscsi-2.0.869.2 i have a working output with -P
3... but...

xen01 skinkie # virsh pool-start netapp
libvir: Storage error : Failed to find the sysfs path for 4:0:0:2: No such
file or directory
error: Failed to start pool netapp

That doesn't make me happy.

    snprintf(sysfs_path, PATH_MAX,
             "/sys/class/iscsi_session/session%s/device/"
             "target%d:%d:%d/%d:%d:%d:%d/block",
             session, target, channel, id, target, channel, id, lun);


xen01 5:0:0:1 # pwd
/sys/class/iscsi_session/session5/device/target5:0:0/5:0:0:1
xen01 5:0:0:1 # ls -l
total 0
lrwxrwxrwx 1 root root    0 May 14 13:14 block:sdd ->
../../../../../../block/sdd


I guess this is not what makes people happy. (:realdisk)

Is this something we can solve or should we call the open-iscsi guys?


Stefan

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]