Re: command-line equivalents of SAM functionality
From: Wladimir Mutel (mwg_at_fluffy.isd.dp.ua)
Date: 02/26/04
- Previous message: Tim: "Re: Is timex broken on hpux 11.0?"
- In reply to: Doug O'Leary: "Re: command-line equivalents of SAM functionality"
- Next in thread: hp-ux: "Re: command-line equivalents of SAM functionality"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Tim: "Re: Is timex broken on hpux 11.0?"
- In reply to: Doug O'Leary: "Re: command-line equivalents of SAM functionality"
- Next in thread: hp-ux: "Re: command-line equivalents of SAM functionality"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|