03-20-2014
By adding whole disk /dev/sda using pvcreate, You can't create other physical volumes on the /dev/sda.
If you create partitions and create physical volumes using pvcreate, You can add other physical volumes of /dev/sda to increase its space.This is called Efficient Disk Space management.
This means you need to depend on other disks like /dev/sdb or /dev/sdc or etc..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have this 36 GB harddisk which houses the root partition along with a 28 GB partion for the rest of the data. The thing I wish to do is that partition this 28 GB into two partions. I have never partitioned the root disk. I just wanted to know whether is it possible to do when the disk is online... (1 Reply)
Discussion started by: DPAI
1 Replies
2. UNIX for Dummies Questions & Answers
I have search the archives with no luck. Looking for help with my specific system.
I have an SUN ULTRA 2 with dual 4.3GB HD's. I installed Solaris 8 with default settings (auto configure)and 2nd drive was partioned /export/home/extra as the only mount(4.3 G's).
I then reinstalled the OS... (7 Replies)
Discussion started by: finster
7 Replies
3. Solaris
Hi
I have a sun server. Recently I have attached a new 80 GB disk. I would like to install the Solaris OS on this disk.
Now I would be installing some database on this disk.
I have decided to allocate a slice of 20GB or DB2 and one more slice of 20GB for Sybase.
The / partition would... (4 Replies)
Discussion started by: RajaRC
4 Replies
4. Solaris
Hi theres
I am quite new to solaris, I have 40GB HDD in which I have created only 10 GB partition & installed solaris 10. Now I want to add another 10GB from remaining 30GB space. I tried this with format utility but I get stuck after I create fdsik partition. After creating this I cant... (1 Reply)
Discussion started by: i_mroy
1 Replies
5. Linux
Hi, group
Just wondering suppose you have linux already installed & now you get a new disk so that your computer has two disks. How do you go about partitioning/slicing the new disk in linux ? which utility do you use ?
Regards (4 Replies)
Discussion started by: Msororaji
4 Replies
6. Red Hat
Hello
I have two disks on Red Hat Linux box. Disk one has been installed Linux Operating system.
The disk two has been partitioned as one disk with 100 GB on the partition /dev/hda1.
Right now, I want to modify it as 5 partitions.
I like to partition disk 2 into 5 partitions.
One... (2 Replies)
Discussion started by: lukas_pise
2 Replies
7. Red Hat
I have few new EMC disks assigned from Stroage. I can pvcreate small disks (8.7GB), but bigger disks (71GB) are giving problem. -f also doesn't help.
root@tlcqr201:/> pvcreate /dev/emcpowerge
/dev/emcpowerge: read failed after 0 of 4096 at 0: Input/output error
/dev/emcpowerge: read failed... (2 Replies)
Discussion started by: solaris_1977
2 Replies
8. UNIX for Advanced & Expert Users
I downloaded the oracle linux 6.7 from RHEL, I wanted to extend the storage for "/" from default 16GB to say 200GB. Here's the steps I tried is :
1. Init 1
2. Using “fdisk /dev/xvda” , delete the swap /dev/xvda3 as well as /dev/xvda2
3. Re-create /dev/xvda2 with linux LVM using new end blocks ... (1 Reply)
Discussion started by: alnhk
1 Replies
9. Red Hat
I downloaded the RH Linux 6.7 from RHEL, I wanted to extend the storage for "/" from default 16GB to say 200GB. Here’s the steps I tried is :
1. Init 1
2. Using “fdisk /dev/xvda” , delete the swap /dev/xvda3 as well as /dev/xvda2
3. Re-create /dev/xvda2 with linux LVM using new end... (7 Replies)
Discussion started by: alnhk
7 Replies
LEARN ABOUT OPENSOLARIS
vgextend
VGEXTEND(8) System Manager's Manual VGEXTEND(8)
NAME
vgextend - add physical volumes to a volume group
SYNOPSIS
vgextend [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--restoremissing] [-f|--force] [-t|--test] [-v|--verbose] [ PHYSICAL DEVICE
OPTIONS ] VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]
DESCRIPTION
vgextend allows you to add one or more initialized physical volumes ( see pvcreate(8) ) to an existing volume group to extend it in size.
Moreover, it allows you to re-add a physical volume that has gone missing previously, due to a transient device failure, without re-ini-
tialising it. Use vgextend --restoremissing to that effect.
If PhysicalDevicePath was not previously configured for LVM with pvcreate (8), the device will be initialized with the same default values
used with pvcreate. If non-default pvcreate values are are desired, they may be given on the commandline with the same options as pvcre-
ate. See PHYSICAL DEVICE OPTIONS for available options. Note that the restore-related options such as --restorefile, --uuid, and --physi-
calvolumesize are not available. If a restore operation is needed, use pvcreate (8) and vgcfgrestore (8).
OPTIONS
See lvm for common options.
PHYSICAL DEVICE OPTIONS
The following options are available for initializing physical devices in the volume group. These options are further described in the
pvcreate man page.
-f, --force
-y, --yes
-Z, --zero y|n
--labelsector sector
--metadatasize size
[--metadataignorey|n]
--pvmetadatacopies copies
--dataalignment alignment
--dataalignmentoffset alignment_offset
Examples
"vgextend vg00 /dev/sda4 /dev/sdn1" tries to extend the existing volume group "vg00" by the new physical volumes (see pvcreate(8) )
"/dev/sdn1" and /dev/sda4".
SEE ALSO
lvm(8), vgcreate(8), vgreduce(8), pvcreate(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGEXTEND(8)