Hello,
> "Etch" is not longer supported. Maybe upgrading to the latest stable > should be desiderable :-? I know, but this is what we have, currently it's not option. >> System has two USB SATA-II disks for backup. Since a few weeks the >> system can't make different between disks, all disks has same serial. > > > ¿By "same serial" you mean "serial number"? :-? yes, to specify "same serial number". >> S:disk/by-id/usb-SAMSUNG_HD642JJ_31AF4D71B008 >> S:disk/by-path/pci-0000:00:1d.7-usb-0:4:1.0-scsi-0:0:0:0 M:8:16 >> E:ID_SERIAL=SAMSUNG_HD642JJ_31AF4D71B008 E:ID_TYPE=disk > >> S:disk/by-id/usb-SAMSUNG_HD642JJ_31AF4D71B008 >> S:disk/by-path/pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0 M:8:32 >> E:ID_SERIAL=SAMSUNG_HD642JJ_31AF4D71B008 E:ID_TYPE=disk > > > Ugh. Indeed :-O yes :( >> I would like to use two rules to identify disks when user attach one of >> them, but system doesn't sense which disk has attached. > > Give filesystems a "label" and use that to manage them. As they are > external disks for backup it should be fine. hmm... how can I "catch" which is the label of the attached disk? 'Cause (theorerically) udev gives disk id by disk phisycal attributes, eg serial... Label is _not_ a phisycal attribute (as I know). Is there any way? >> The disk-by-id symlinks has created correctly: >> # ls -l /dev/disk/by-id/usb* >> /dev/disk/by-id/usb-SAMSUNG_HD642JJ_31AF4D71B000 -> ../../sdb > ^^^^ > >> /dev/disk/by-id/usb-SAMSUNG_HD642JJ_31AF4D71B008 -> ../../sdc > ^^^^ > >> As you can see there are the correct serial numbers. As you can see I wrote that :) again: >> The disk-by-id symlinks has created correctly: > Yes, but they get a different ID: one disks lasts with "B000" and the > other with "B0008". Curious :-S hmmm... I think they didn't _get_ serial - they _have_ serial. and my problem is system can't recognize that. And it's more than curious... :P >> What could be the problem? > > Dunno, but you have many choices for designating the disks (label, id, > uuid and path). Choose your poison :-) do you mean I have to read the symlink of devie, and determine the phisycal disk by that? (but the question is still opened: why doesn't recognize the system the different serial numbers?) thank you: a. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

