Unix questions - how i locate logical volumes

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > August 2007 > how i locate logical volumes





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how i locate logical volumes
Andrea

2007-08-07, 7:24 am

Hi,
i've a hp-ux 11i with 2 disk /dev/dsk/c0t0d0 and /dev/dsk/c0t1d0, i
configured it with one volume group (vg00) and some logical volume.
I've created the swap device area on /dev/vg00/lvol2 (2Gb) .
Now i have read on the Hp-Ux administrators paper that:
"don't create a separate device swap area on the disk containing the
primary swap area, because this causes excessive head movement on that
disk and slows the system down."

By default, the paper explain that the primary swap area is on the
root disk (in my case root / is on /dev/vg00/lvol3)
Therefore, how i know if the secondary swap area (lvol2) is on the
same disk of the primary swap ? In detail, how i can see where is the
logical volume device, in which of two disk ?

thank very much for your support.

bye
Andrea

Michael Tosch

2007-08-07, 7:17 pm

Andrea wrote:
> Hi,
> i've a hp-ux 11i with 2 disk /dev/dsk/c0t0d0 and /dev/dsk/c0t1d0, i
> configured it with one volume group (vg00) and some logical volume.
> I've created the swap device area on /dev/vg00/lvol2 (2Gb) .
> Now i have read on the Hp-Ux administrators paper that:
> "don't create a separate device swap area on the disk containing the
> primary swap area, because this causes excessive head movement on that
> disk and slows the system down."
>
> By default, the paper explain that the primary swap area is on the
> root disk (in my case root / is on /dev/vg00/lvol3)
> Therefore, how i know if the secondary swap area (lvol2) is on the
> same disk of the primary swap ? In detail, how i can see where is the
> logical volume device, in which of two disk ?
>
> thank very much for your support.
>
> bye
> Andrea
>


lvdisplay -v /dev/vg00/lvol2
lvdisplay -v /dev/vg00/lvol3

will list the "Distribution of logical volume".

It is true that putting swap on other physical disks
would increase swapping performance - nevertheless in practice
I wouldn't bother.

--
Michael Tosch @ hp : com
Bill Marcum

2007-08-07, 7:17 pm

On Tue, 07 Aug 2007 01:59:55 -0700, Andrea
<netsecurity@tiscali.it> wrote:
>
>
> Hi,
> i've a hp-ux 11i with 2 disk /dev/dsk/c0t0d0 and /dev/dsk/c0t1d0, i
> configured it with one volume group (vg00) and some logical volume.
> I've created the swap device area on /dev/vg00/lvol2 (2Gb) .
> Now i have read on the Hp-Ux administrators paper that:
> "don't create a separate device swap area on the disk containing the
> primary swap area, because this causes excessive head movement on that
> disk and slows the system down."
>
> By default, the paper explain that the primary swap area is on the
> root disk (in my case root / is on /dev/vg00/lvol3)
> Therefore, how i know if the secondary swap area (lvol2) is on the
> same disk of the primary swap ? In detail, how i can see where is the
> logical volume device, in which of two disk ?
>

man lvdisplay


--
If God had not given us sticky tape, it would have been necessary to invent it.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com