AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Display parent of certain device ?

    Posted Tue December 23, 2008 07:35 AM

    Originally posted by: Vilius


    Hi,

    For example I can display clildren devices of "device_name" device by issuing:
    lsdev -p device_name

    How do I display parent device given certain child device ?

    thanks
    Vilius


  • 2.  Re: Display parent of certain device ?

    Posted Tue December 23, 2008 08:44 AM

    Originally posted by: SystemAdmin


    Give the '-F parent' a try. For example, 'ldev -C -l cd0 -F parent'.


  • 3.  Re: Display parent of certain device ?

    Posted Mon December 29, 2008 03:58 AM

    Originally posted by: CRM


    Or how about the lsparent command:

    huxd0Z01:/# lsparent -Cl hdisk0
    fscsi2 Available 08-08-01 FC SCSI I/O Controller Protocol Device
    fscsi3 Available 08-09-01 FC SCSI I/O Controller Protocol Device
    regards

    Chris