LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-04-2007, 01:55 PM   #1
spellinator
Member
 
Registered: Oct 2007
Location: Dallas, TX
Distribution: CentOS, Ubuntu
Posts: 31

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.


Thanks,
Danny
 
Old 10-05-2007, 07:32 AM   #2
ramram29
Member
 
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.
 
  


Reply

Tags
lvm, partitioning



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 11:08 AM
Partitioning LVM retox Linux - Software 3 07-01-2007 06:33 PM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM
Partitioning RAID Array. LVM? parted? peripatetic Red Hat 2 08-25-2006 12:15 AM
Partitioning question - LVM satimis Fedora 1 08-14-2006 02:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:41 PM.

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