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 Nair, Murlidharan T

 Back
Reply:     <<     11     12     13     14     15     16     17     18     19     20     >>  



-- --Original Message-- --
From: redhat-install-list-bounces@(protected)
[mailto:redhat-install-list-bounces@(protected)] On Behalf Of Bob McClure
Jr
Sent: Friday, April 14, 2006 3:06 PM
To: Getting started with Red Hat Linux
Subject: Re: Storage space partition

On Fri, Apr 14, 2006 at 02:44:35PM -0400, Nair, Murlidharan T wrote:
>
>
> -- --Original Message-- --
> From: redhat-install-list-bounces@(protected)
> [mailto:redhat-install-list-bounces@(protected)] On Behalf Of Bob
McClure
> Jr
> Sent: Friday, April 14, 2006 1:17 PM
> To: Getting started with Red Hat Linux
> Subject: Re: Storage space partition
>
> On Fri, Apr 14, 2006 at 11:46:24AM -0400, Nair, Murlidharan T wrote:
> >
> > <much snippage>
> >

> [root@(protected) ~]# pvcreate /dev/emcpowera
>   Physical volume "/dev/emcpowera" successfully created
>
>  [root@(protected) ~]# vgcreate bio01VG /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
> not /dev/emcpowera
>   Volume group "bio01VG" successfully created

Okay, now I'm not sure what is going on.  It is more common for linux
to identify the drives as /dev/sda, /dev/sdb, etc. rather than
/dev/emcpowera.  What might be more useful would be to run

 fdisk -l # That's ell as in list.

and see what drives show up.  Is it possible that /dev/emcpowera is
the physical SAN disk(s) and that /dev/sdb and /dev/sdc are the
virtual disks created by the SAN?  If so, the latter should be
partitioned and pvcreated.

Also note that you created the partition and then ignored it.  Had you
used the partition, it would have been called /dev/emcpowera1 when you
ran pvcreate.

Rick Stevens, feel free to jump in here.  I'm operating from very
recent and limited experience with a SAN.

> [root@(protected) ~]# vgdisplay bio01VG
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
> not /dev/emcpowera
>   Volume group "bio01VG" doesn't exist
>
> [root@(protected) ~]# vgchange -a y bio01VG
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
> not /dev/emcpowera
>   Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
> not /dev/emcpowera
>   Unable to find volume group "bio01VG"


I just noticed that the partition it created was called emcpowera1. Here
is part of the output
========================================================
Disk /dev/emcpowera: 700.0 GB, 700079669248 bytes
255 heads, 63 sectors/track, 85113 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

        Device Boot      Start         End      Blocks   Id  System
/dev/emcpowera1               1       85113   683670141   8e  Linux LVM

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
========================================================
I assumed that it would create the partition with the same name so when
I did a pvcreate I used
pvcreate /dev/emcpowera

I am thinking of doing a pvremove I ran the test here is what I got
==================================================================
[root@(protected) /]# pvremove -t -v /dev/emcpowera
 Test mode: Metadata will NOT be updated.
 /dev/cdrom: open failed: Read-only file system
 Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdb
not /dev/emcpowera
 Found duplicate PV XKollgX4GsBzbFyJsK13JS62S3P4b0Vr: using /dev/sdc
not /dev/emcpowera
 Labels on physical volume "/dev/emcpowera" successfully wiped
   Test mode: Wiping internal cach
==================================================================
Then I can start back with pvcreate correct?  Also will there be any
consequences of running vgcreate on /dev/emcpowera that used dev/sbd ?
If so how can I fix it?

Thanks for your time ../Murli


__ ____ ____ ____ ____ ____ ____ ____ ____ ____
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