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 NETBSD
pvresize
PVRESIZE(8) System Manager's Manual PVRESIZE(8)
NAME
pvresize - resize a disk or partition in use by LVM2
SYNOPSIS
pvresize [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--setphysicalvolumesizesize] PhysicalVolume [PhysicalVolume...]
DESCRIPTION
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it.
OPTIONS
See lvm(8) for common options.
--setphysicalvolumesize size
Overrides the automatically-detected size of the PV. Use with care, or prior to reducing the physical size of the device.
EXAMPLES
Expand the PV on /dev/sda1 after enlarging the partition with fdisk:
pvresize /dev/sda1
Shrink the PV on /dev/sda1 prior to shrinking the partition with fdisk (ensure that the PV size is appropriate for your intended new parti-
tion size):
pvresize --setphysicalvolumesize 40G /dev/sda1
RESTRICTIONS
pvresize will refuse to shrink PhysicalVolume if it has allocated extents after where its new end would be. In the future, it should relo-
cate these elsewhere in the volume group if there is sufficient free space, like pvmove does.
pvresize won't currently work correctly on LVM1 volumes or PVs with extra metadata areas.
SEE ALSO
lvm(8), pvmove(8), lvresize(8), fdisk(8)
Sistina Software UK LVM TOOLS 2.02.44-cvs (02-17-09) PVRESIZE(8)