Hi folks For the libata-pata support we need to change fstab on several arches to not break all systems which uses them.
We need to decide which arches needs this rewrite now and which value
should be filed in.
There are 5 or so variants:
- /dev/disk/by-id: Includes disk serial number or wwnn.
- /dev/disk/by-label: Filesystem label.
- /dev/disk/by-path: Includes pci device and lun.
- /dev/disk/by-uuid: UUID of filesystem. Maybe we want the uuid of md
devices also?
- LABEL=
- UUID=
We have to support the following device types, I think:
- pata, sata, parallel scsi, sas
No problem, I would prefer by-id. It should be stable for this types
of devices. So a user needs to fix this entry for a disk replacement.
- fiberchannel
by-id. It includes the wwnn, which is defined as unique for each
device. If someone have more than one path to the disk, they need
multipath-tools anyway, which creates /dev/mapper/$wwnn.
- iscsi
This is a problem. iscsi have a stable identifier for a device, but it
is not exported by udev. udev provides the following:
| /dev/disk/by-id/scsi-16465616462656166333a3100000000000000000000000000
This is the usual disc identification. And:
|
/dev/disk/by-path/ip-192.168.9.13:3260-iscsi-iqn.2007-07.org.zseries.debian00:storage.org.zseries.debian04v4-lun-1
This includes the ip of the target, the id and the lun. The id is
defined to be unique for a device.
Maybe we want something like
by-id/iscsi-iqn.2007-07.org.zseries.debian00:storage.org.zseries.debian04v4-lun-1.
More than one path needs multipath-tools also.
The following devices can be ignored:
- md*
- mapper/*
- lvm symlinks
Or should we ignore all devices which we don't know about?
Bastian
--
You can't evaluate a man by logic alone.
-- McCoy, "I, Mudd", stardate 4513.3
signature.asc
Description: Digital signature

