Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-04-2007, 02:55 PM   #1
LQ Newbie
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS
Posts: 14

Rep: Reputation: Disabled
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:
fdisk -l

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.

Old 10-05-2007, 08:32 AM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Just run 'pvcreate /dev/sdb' without all the extra parameters.


lvm, partitioning

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with partitioning large volumes with LVM disorderly Linux - Server 0 08-28-2007 12:08 PM
Partitioning LVM retox Linux - Software 3 07-01-2007 07:33 PM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 12:16 PM
Partitioning RAID Array. LVM? parted? peripatetic Red Hat 2 08-25-2006 01:15 AM
Partitioning question - LVM satimis Fedora 1 08-14-2006 03:34 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration