Malcolm Beattie wrote:
Mark Perry writes:

is there a way to use the bus/device address - such as 0.0.0190 rather
than having to find out the /dev/dasdx?


The udev configuration on SLES9 and SLES10 gives you
/dev/disk/by-path/ccw-0.0.0190
and, if you're careful to avoid duplicate volsers (as seen by the
Linux guest) then you can use /dev/disk/by-id/VOLSER on SLES9 or
/dev/disk/by-id/ccw-VOLSER on SLES10. Or tweak your udev configuration
to follow your own naming conventions.


Hi Malcolm,
Nice set of softlinks already setup for us to use, excellent!

ihlscov0:~ # cmsfsvol /dev/dasdg
LABEL  VDEV M  STAT   CYL TYPE BLKSZ   FILES  BLKS USED-(%) BLKS LEFT
BLK TOTAL
IHLS01 .... ... R/O    10 .... 4096        3          8-00
1792       1800
ihlscov0:~ # cmsfsvol /dev/disk/by-path/ccw-0.0.0191
LABEL  VDEV M  STAT   CYL TYPE BLKSZ   FILES  BLKS USED-(%) BLKS LEFT
BLK TOTAL
IHLS01 .... ... R/O    10 .... 4096        3          8-00
1792       1800
ihlscov0:~ #

Mark

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to