Bug#580380: udev: no /dev/disk/by-id/ symlink for ISCSI device created

2010-05-06 Thread pille

hi marco,


Version: 0.125-7+lenny3

I have no idea if iSCSI is supported by this old version of udev.


looks like people with another iSCSI initiator can use it:
http://forum.proxmox.com/threads/3805#post21558


Please try the one from unstable.


can't do so at the moment, but will try next week.


this breaks several programs that depend on the later symlink for
detecting storage.

Exactly how do they depend on specific persistent symlinks?


proxmox detects and integrates different kinds of (shared) storage and
uses these links to identify.

for cross-reference the obove URI points to the bug discussion in their 
forum.


  pille



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#580380: udev: no /dev/disk/by-id/ symlink for ISCSI device created

2010-05-05 Thread pille

Package: udev
Version: 0.125-7+lenny3
Severity: important

*** Please type your report below this line ***

I use ISCSI targets provided by a novell-cluster.
They are /dev/sda and /dev/sdb.

there are symlinks created by /dev/udev/rules.d/60-persistent-storage.rules
in /dev/disk/by-path/ but not in /dev/disk/by-id/.

this breaks several programs that depend on the later symlink for 
detecting storage.


the output of:
kvm2:/# /lib/udev/scsi_id -g -x -s /dev/sda
is empty. return code is 1. (same for sdb)


-- kvm2:/# ls -lR /dev/disk/ 



 $
/dev/disk/:
total 0
drwxr-xr-x 2 root root 220 2010-05-05 16:26 by-id
drwxr-xr-x 2 root root 200 2010-05-05 16:34 by-path
drwxr-xr-x 2 root root 140 2010-05-05 16:34 by-uuid

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root 16 2010-05-05 16:26 
cciss-3600508b1001fa00db63847790006 - ../../cciss/c0d0
lrwxrwxrwx 1 root root 18 2010-05-05 16:26 
cciss-3600508b1001fa00db63847790006-part1 - ../../cciss/c0d0p1
lrwxrwxrwx 1 root root 18 2010-05-05 16:26 
cciss-3600508b1001fa00db63847790006-part2 - ../../cciss/c0d0p2

lrwxrwxrwx 1 root root 10 2010-05-05 16:26 dm-name-pve-data - ../../dm-2
lrwxrwxrwx 1 root root 10 2010-05-05 16:26 dm-name-pve-root - ../../dm-1
lrwxrwxrwx 1 root root 10 2010-05-05 16:26 dm-name-pve-swap - ../../dm-0
lrwxrwxrwx 1 root root 10 2010-05-05 16:26 
dm-uuid-LVM-Y15dbr4aw8jzwh2fTKo7bbuiQvKHtZJk0OdZILt70Ub2kHueW2trUK5UTiQF7WbI 
- ../../dm-0
lrwxrwxrwx 1 root root 10 2010-05-05 16:26 
dm-uuid-LVM-Y15dbr4aw8jzwh2fTKo7bbuiQvKHtZJkVD0HjP8PDdeC8tt6YlbIleKg93UIfV99 
- ../../dm-1
lrwxrwxrwx 1 root root 10 2010-05-05 16:26 
dm-uuid-LVM-Y15dbr4aw8jzwh2fTKo7bbuiQvKHtZJkwtVQ1ghe5loFyHkDQilPqB4dnGmhcNot 
- ../../dm-2


/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 2010-05-05 16:34 
ip-192.168.2.5:3260-iscsi-iqn.1984-08.com.novell:00cb045d-d54e-df11-aab5-0013d4b31141-lun-0 
- ../../sdb
lrwxrwxrwx 1 root root 10 2010-05-05 16:34 
ip-192.168.2.5:3260-iscsi-iqn.1984-08.com.novell:00cb045d-d54e-df11-aab5-0013d4b31141-lun-0-part1 
- ../../sdb1
lrwxrwxrwx 1 root root  9 2010-05-05 16:32 
ip-192.168.2.5:3260-iscsi-iqn.1984-08.com.novell:80e2a210-bd3c-df11-a70d-0013d4b3103c-lun-0 
- ../../sda
lrwxrwxrwx 1 root root  9 2010-05-05 16:26 pci-:00:1f.1-ide-0:0 - 
../../hda
lrwxrwxrwx 1 root root 16 2010-05-05 16:26 pci-:04:01.0-cciss-c0d0 
- ../../cciss/c0d0
lrwxrwxrwx 1 root root 18 2010-05-05 16:26 
pci-:04:01.0-cciss-c0d0-part1 - ../../cciss/c0d0p1
lrwxrwxrwx 1 root root 18 2010-05-05 16:26 
pci-:04:01.0-cciss-c0d0-part2 - ../../cciss/c0d0p2


/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 2010-05-05 16:26 
1e5cc8df-def4-442e-a333-6f42d43fa453 - ../../dm-1
lrwxrwxrwx 1 root root 10 2010-05-05 16:26 
343e2c29-d0b7-401f-9114-bc06f5ebabd6 - ../../dm-0
lrwxrwxrwx 1 root root 10 2010-05-05 16:34 
3aa6fe95-40e1-4ab2-9ae2-cc3a7f892ac4 - ../../sdb1
lrwxrwxrwx 1 root root 18 2010-05-05 16:26 
40a36c98-0051-4ba8-a0fc-59a3652edf93 - ../../cciss/c0d0p1
lrwxrwxrwx 1 root root 10 2010-05-05 16:26 
74f6c635-e8fc-4285-b897-a80032ac92f9 - ../../dm-2



-- # kvm2:/# lsscsi -v
[0:0:0:0]diskNovell   80e2a210-bd3c-df 0 /dev/sda
  dir: /sys/bus/scsi/devices/0:0:0:0 
[/sys/devices/platform/host0/session1/target0:0:0/0:0:0:0]

[1:0:0:0]diskNovell   00cb045d-d54e-df 0 /dev/sdb
  dir: /sys/bus/scsi/devices/1:0:0:0 
[/sys/devices/platform/host1/session2/target1:0:0/1:0:0:0]





--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#580380: udev: no /dev/disk/by-id/ symlink for ISCSI device created

2010-05-05 Thread Marco d'Itri
On May 05, pille pille+debian+bug-rep...@struction.de wrote:

 Version: 0.125-7+lenny3
I have no idea if iSCSI is supported by this old version of udev.
Please try the one from unstable.

 this breaks several programs that depend on the later symlink for  
 detecting storage.
Exactly how do they depend on specific persistent symlinks?

-- 
ciao,
Marco


signature.asc
Description: Digital signature