First think you want to do is format and partition your new disk

Do an lsdasd to find the /dev name of your new disk.  Then do a dasdfmt
-b 4096 -y -f /dev/dasdx where x corresponds to the new disk.  After
that, partition it with fdasd -a /dev/dasdx where x corresponds to the
new disk.  Then you'll be ready to pvcreate /dev/dasdx1.
Then vgextend your VolGroup01.  Then lvextend your logical volume.
You'll probably then have to resize your filesystem, depending on what
kind it is.



-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of
Frank M. Ramaekers
Sent: Thursday, March 25, 2010 2:24 PM
To: [email protected]
Subject: Adding volumes to a VolGroup

Okay, I can't seem to find this via Google.  I can find examples of
adding a disk with it's own unique mount point, but I need to add space
to VolGroup01.

 

Filesystem            Size  Used Avail Use% Mounted on

/dev/mapper/VolGroup01-LogVol00

                      5.0G  3.5G  1.3G  74% /

/dev/dasda1            97M   25M   68M  27% /boot

tmpfs                 249M     0  249M   0% /dev/shm

 

I've formatted the DASD, attached it to the System, created MDISK
statements for the devices, LINKed them, got them "online".   Now, how
do I add them to VolGroup01?

 

TIA,

 

 

 Frank M. Ramaekers Jr.

 

Systems Programmer

MCP, MCP+I, MCSE & RHCE

American Income Life Insurance Co.

Phone: (254)761-6649

1200 Wooded Acres Dr.

Fax: (254)741-5777

Waco, Texas  76701

 

 


_____________________________________________________

This message contains information which is privileged and confidential
and is solely for the use of the

intended recipient. If you are not the intended recipient, be aware that
any review, disclosure,

copying, distribution, or use of the contents of this message is
strictly prohibited. If you have

received this in error, please destroy it immediately and notify us at
[email protected].

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to