LVM and Partitioning
I'm running RHEL 5 and I've been trying to use the LVM utility via Conga, but for some reason, I'm not having much luck.
About my server:
Dell PowerEdge 2950
RAID 1 for O/S using two 36 GB drives
RAID 5 for D3 using three 36 GB drives
So RHEL took care of the O/S when it was installed. Now I'm trying to create two 36 GB partitions on the RAID 5. The RAID 1 is under one volume group. I've created a second volume group for the RAID 5. Now I'm trying to create the two volumes, but I'm not having any success.
Tried the following:
pvcreate -M 2 /dev/sdb -ff
But get this error message:
Can't open /dev/sdb exclusively. Mounted filesystem?
Well, there is no mounted file system that I know of for sdb.
When I do fdisk -l, I get this:
Disk /dev/sda: 35.8 GB, 35836133376 bytes
64 heads, 32 sectors/track, 34176 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 30 30704 de Dell Utility
/dev/sda2 31 7230 7372800 83 Linux
/dev/sda3 * 7231 7430 204800 83 Linux
/dev/sda4 7431 34176 27387904 5 Extended
/dev/sda5 7431 34176 27387888 8e Linux LVM
Disk /dev/sdb: 71.6 GB, 71672266752 bytes
255 heads, 63 sectors/track, 8713 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
So what do I need to do? I need to get this working this week.
Just run 'pvcreate /dev/sdb' without all the extra parameters.
|All times are GMT -5. The time now is 12:01 PM.|