11-15-2002
With physical partitions, a disk is subdivided into partitions. And somehow the disk driver knows about the subdivision scheme. The driver may read a table off the first sector of the disk. Or the driver may just get the model number of the drive and pick a built-in table. The special files are named to indicate the section. c0t0d0s2 would be section "2" of the disk (which was always the whole thing).
With logical volumes, a disk like c0t0d0s2 (or maybe just c0t0d0 theses days) is just a physical volume which gets tossed into a pool called a volume group. Then you have very great flexibility in creating logical volumes. A logical volume may be a very small slice of a disk. Or it may be so large that it is several disk drives.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Everyone,
Can someone tell me the effect of the pp size of the volume group created for Oracle data.
It would seem that creating small pp's will cause more overhead. What if you make the pp to large? What should I base this size on?
Thanks, (4 Replies)
Discussion started by: kburrows
4 Replies
2. AIX
hello
I have a volume group of 737 Go (EMC)
To add 250 Go, i split the 250 Go to 2*125
No problem to add in the volum group, but when i want to increase the size of the logical volume, i have the message :
0516-787 extendlv: Maximum allocation for logical volume simdatabaselv
is... (3 Replies)
Discussion started by: pascalbout
3 Replies
3. UNIX for Dummies Questions & Answers
Dear Members,
I am using SCO-Unix 5.0.5. I have created 2 logical drives but some of the blocks are overlapped and are now giving warning during startup. I have used fsck to settle the problems but to no avail. Kindly help me to sort out the problem.
Thanks (3 Replies)
Discussion started by: nagendrajaiswal
3 Replies
4. UNIX for Dummies Questions & Answers
I've created a partition with GNU Parted, how do I mount the partition?
The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards.
Thanks,
--Todd (1 Reply)
Discussion started by: jtp51
1 Replies
5. AIX
I would like to know how to identify which file a logical partition relates too.
Operating System = AIX
oslevel -s = 5300-04-CSP
I've identified a logical volume that continually runs at 100% tm_acct from iostat.
I've run lvmstat -l and identified the logical partition 590, being the... (1 Reply)
Discussion started by: garry
1 Replies
6. Solaris
Hi All,
I have managed to install and configure a Solaris x86 server, the problem I have now is that whilst setting it up, I left a 30GB logical partition for the Oracle database server that I will later have on the system, the problem now is that I have not formatted the drive during... (18 Replies)
Discussion started by: platforminc
18 Replies
7. AIX
Hi all,
I am trying to replace an old 9gb hard disk for a 36gb hard drive on an AIX 4.3.2 system (can't update)
I was thinking of doing this by doing a dd from the 9gb to the 36gb hard drive and then resize the Logical Volumes. However, lspv <36gb hard disk> gives me the folowing:
#lrnt>... (4 Replies)
Discussion started by: eRJe
4 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies
1)Physical Volume
2)Volume Group
3)Logical Volume
4)Physical Partition
Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies
9. Solaris
hi all
while formatting hard disk i am getting following error.
Partition 1 ends at 266338338
It must be between 34 and 143374704.
label error: EFI Labels do not support overlapping partitions
Partition 8 overlaps partition 1.
Warning: error writing EFI.
Label failed.
I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies
10. Red Hat
Hello All,
I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows,
/boot - Linux Partition & another is
LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc).
Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
LEARN ABOUT REDHAT
lvdisplay
LVDISPLAY(8) System Manager's Manual LVDISPLAY(8)
NAME
lvdisplay - display attributes of a logical volume
SYNOPSIS
lvdisplay [-c|--colon] [-d|--debug] [-D|--disk] [-h|--help] [-v[v]|--verbose] LogicalVolumePath [LogicalVolumePath...]
DESCRIPTION
lvdisplay allows you to see the attributes of a logical volume like size, read/write status, snapshot information etc.
OPTIONS
-c, --colon
Generate colon seperated output for easier parsing in scripts or programs.
The values are:
* logical volume name
* volume group name
* logical volume access
* logical volume status
* internal logical volume number
* open count of logical volume
* logical volume size in kilobytes
* current logical extents associated to logical volume
* allocated logical extents of logical volume
* allocation policy of logical volume
* read ahead sectors of logical volume
* major device number of logical volume
* minor device number of logical volume
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-D, --disk
Show attributes of the volume group descriptor array on disk(s). Without this switch they are derived from kernel space. Useful,
if the volume group isn't active.
-h, --help
Print a usage message on standard output and exit successfully.
-v, --verbose
Display the mapping of logical extents to physical volumes and physical extents.
-vv, --verbose --verbose
Like -v with verbose runtime information.
Examples
"lvdisplay -v /dev/vg00/lvol2" shows attributes of that logical volume and its mapping of logical to physical extents. In case snapshot
logical volumes have been created for this original logical volume, this command shows a list of all snapshot logical volumes and their
status (active or inactive) as well.
"lvdisplay /dev/vg00/snapshot" shows the attributes of this snapshot logical volume and also which original logical volume it is associated
with.
DIAGNOSTICS
lvdisplay returns an exit code of 0 for success or > 0 for error:
1 no logical volume name(s) on command line
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
ENVIRONMENT VARIABLES
LVM_VG_NAME
The default Volume Group Name to use. Setting this variable enables you to enter just the Logical Volume Name rather than its com-
plete path.
See also
lvm(8), lvcreate(8), lvscan(8), lvmsadc(8),
lvmsar(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS LVDISPLAY(8)