Re: command-line equivalents of SAM functionality

From: Wladimir Mutel (mwg_at_fluffy.isd.dp.ua)
Date: 02/26/04

  • Next message: Jeff Traigle: "Ignite-UX: Using tape as media"
    Date: Thu, 26 Feb 2004 19:31:11 +0000 (UTC)
    
    

    On 2004-02-26, Doug O'Leary <dkoleary@olearycomputers.com> wrote:

    >> I want to get disk device informations on my system (HP-UX 11.11).
    >> I run SAM, choose 'Disks and file systems' -> 'Disk Devices', and see
    >> their hardware paths, device names, and sizes. Now I would like to
    >> request the same information from the command line, and to use it in
    >> script. What commands should I use ? We have some disks not included
    >> into volume groups. And pvdisplay does not help in their case. What
    >> should I use instead ?

    > man ioscan(1m) for most of the information that you're looking for:
    >
    > # ioscan -funC disk | more

    > You can then use diskinfo to get some more information:
    >
    > # diskinfo /dev/rdsk/c1t0d0

    > What I normally do is assume that disks are the same size. My normal
    > environment is large disk farms (EMC/Hitachi) where the physical disks
    > are carved up into same size luns so the assumption is completely out of
    > whack for me. If the same is true for you, use pvdisplay to get the
    > size for a disk that is in a volume group, then use that size for any/all
    > same disk models.

            Thank you a lot for your explainations. I knew about ioscan, but did
            not about diskinfo. You are really helpful.


  • Next message: Jeff Traigle: "Ignite-UX: Using tape as media"

    Relevant Pages

    • Re: Single-Threading / Performance issues
      ... Apparently not since at least 3 physical disks are required for RAID-5. ... This is normal but the percent disk utilization metric isn't much use ... might want to set SQL Server 'max server memory' if you have other apps ... > From Query Analyser, I run my import proc - which first copies data ...
      (microsoft.public.sqlserver.server)
    • Re: need help setting up resources
      ... Resources map to physical disks, so if there are several drive letters associated with multiple partitions on a single disk, they will show up as a single resource in the Cluster Management tool. ... If you add a disk later, you will need to adjust the SQL Server to be dependent on the new disk resource. ...
      (microsoft.public.sqlserver.clustering)
    • Re: SCSI vs SATA hard disks
      ... Haines Brown wrote: ... the physical disks on the hard disk, but I never knew how to do ... What I wonder is: are disk ... how do you tell what the platter edges' numbers _are_ ...
      (comp.os.linux.hardware)
    • RE: Use FSMT on dynamic disks?
      ... we recommmend not to use such third-party application in cluster ... >>by it and still detects that it is not a physical disk. ... >>I could install all disks as physical disks with dual path disabled, ... >>I would have to backup and restore everything after the migration to ...
      (microsoft.public.windows.server.migration)
    • Re: Logical and Physical disk drives
      ... disk), would the partition help reduce the likelihood of OS ... Physical disks: ... helping with OS corruption? ...
      (microsoft.public.windowsxp.hardware)