Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Storage space partition

Storage space partition

2006-04-14       - By Bob McClure Jr

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

On Fri, Apr 14, 2006 at 11:46:24AM -0400, Nair, Murlidharan T wrote:
>
> <much snippage>
>
> Hi!!
>
> I am in the last stages on my installation. My server can see the SAN
> and everything seems ok. Here is a list of what I plan to do with some
> question. I would really appreciate if you could tell me if I am doing
> something incorrect or is there anything that I have missed.
>
> 1. Creating a disk partition for LVM as follows
>
>    fdisk  /dev/emcpowera
>
> Where options chosen are t = 8e which is the linux lvm partition and w
> to write it.
>
>
> 2. Create a volume group descriptor at the start of the disk
>  
>   pvcreate /dev/emcpowera

You are using the whole disk rather than the partition, but that's okay.

> 3. Creat a volume group
>
>   vgcreate  bioVG  /dev/emcpowera
>
> 4. Activate the volume group
>
>   vgchange -a y bioVG
>
> 5. Find the total PE size
>
>   Vgdisplay bioVG | grep "Total PE"
>
> 6. I need to create three logical volumes of specific size. Do I use
> lvcreate for this?

Yes, precisely.

>      lvcreate -L 200G  -nmysqlLV  bioVG
>
>      lvcreate -L 200G  -nworkspaceLV  bioVG
>
>      lvcreate -L 20G  -nwebservicelLV  bioVG
>
> The rest is unallocated and is free to use at later stages.
>
>
> 7. When and how do we create a file system (analogous to using mkfs)?

When?  As soon as you have run lvcreate.
How?  The same way as with partitions.
Your logical volumes have names, /dev/bioVG/mysqlLV,
/dev/bioVG/workspaceLV, /dev/bioVG/webservicelLV.  See the format:
/dev/<vgname>/<lvname> ?  Now, just use mke2fs this way:

 mke2fs -j /dev/bioVG/mysqlLV

and so on, assuming you want ext3 filesystems.

> 8. Mount the volumes I have created as follows
>
>      mount /dev/bioVG/mysqlLV sqlhome
>      mount /dev/bioVG/workspaceLV workspace
>      mount /dev/bioVG/webserviceLV webservice

Well, you will probably want to make fstab entries like

/dev/bioVG/mysqlLV      /sqlhome       ext3    defaults        1 2
/dev/bioVG/orkspaceLV   /workspace     ext3    defaults        1 2
/dev/bioVG/webserviceLV /webservice    ext3    defaults        1 2

The mount points must be fully pathed (from /).

Then you can (the first time)

 mount /sqlhome
 mount /workspace
 mount /webservice

> Thanks for your help.
>
> Cheers ../Murli

Cheers,
--
Bob McClure, Jr.             Bobcat Open Systems, Inc.
bob@(protected)             http://www.bobcatos.com
The best things in life aren't things.

__ ____ ____ ____ ____ ____ ____ ____ ____ ____
Redhat-install-list mailing list
Redhat-install-list@(protected)
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@(protected)
Subject: unsubscribe