DASDINFO(8)
πΈ NAME πΈ
okay so welcome to DASDINFO(8) from the Linux Administrator's Manual, bestie β¨ dasdinfo is literally the tool to read the unique id from an s390 DASD device π
β¨ SYNOPSIS β¨
bestie, you run it like this:
dasdinfo [-a] [-l] [-u] [-x] [-e] {-i <busid> | -b <blockdev> | -d
<devnode> }
dasdinfo [-h] [-v]
π¦ DESCRIPTION π¦
dasdinfo displays specific information about a specified DASD device. Itβs normally called from a udev rule, to provide udev with a unique id string and additional information (type, serial) for an S390 DASD drive π₯ Udev can use this information to create symlinks in /dev/disk/by-id and /dev/disk/by-label to the real device node π
π OPTIONS π
-a,--allβ literally the combo meal: same as-u -x -lβ¨-x,--extended-uidβ Print DASD uid. This option prints the full uid of the DASD π
When z/VM provides two virtual devices that are actually located on the same real device, the first four tokens of the uid will be identical for both devices. z/VM may provide an additional token that can be used to distinguish between different minidisks. You need both support in the Linux kernel and z/VM to receive such an additional token π«Ά
For z/VM: VM support for the hypervisor injected Special Node Element Qualifier (SNEQ) (or hypervisor injected self-description data) is available by applying the PTFs for VM APAR VM64273 on z/VM 5.2.0 and higher.
-u,--uidβ Print DASD uid without z/VM minidisk token π
z/VM may provide an additional token that can be used to distinguish between different minidisks (see --extended-uid option). To remain compatible with systems that were installed on older Linux or z/VM levels, the -u option will print the uid excluding any z/VM-provided minidisk token πΈ
For example, if the extended uid is IBM.75000000092461.e900.10.00000000000037400000000000000000 then the uid is IBM.75000000092461.e900.10. If the extended uid contains no minidisk token, e.g. in an LPAR environment, then both uids are the same β¨
-l,--labelβ Print DASD volume label (volser) π-i,--busid <busid>β Use the bus ID as input parameter, e.g.0.0.e910π¦-b,--block <blockdev>β Use the block device name as input parameter, e.g.dasdbπ-d,--devnode <devnode>β Use a device node as input parameter, e.g./dev/dasdbπ-e,--exportβ Print all values (ID_BUS,ID_TYPE,ID_SERIAL) β-h,--helpβ Print usage text π-v,--versionβ Print version number π
π EXAMPLES π
dasdinfo -u -i 0.0.e910
dasdinfo -u -b dasdb
dasdinfo -u -d /dev/dasdb
All three examples should return the same unique ID for the same DASD device, e.g. IBM.75000000092461.e900.10 π
In case this uid is not available, dasdinfo will return the volume label instead, e.g. 0XE910 π
π SEE ALSO π
udev(7) π§
π AUTHORS π
Volker Sameske <sameske@de.ibm.com> π«Ά
kisses bestie, this icon is from s390-tools, dated Febr 2007, and itβs the DASDINFO(8) manual β bye π
β¨
π¦ where this page comes from
- opensuse-leap 16.0: s390-tools 2.44.1-160000.1.1 Β· MIT
- Copyright 2017 IBM Corp
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms