- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Initialize H/w raid devices for LVM
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 04:45 AM
тАО02-23-2010 04:45 AM
Initialize H/w raid devices for LVM
In one rx2660 with 8 x 300GB disks and Smart Array P400 RAID Controller, we have created one 300GB RAID1 volume (for the OS) and a second RAID5 volume with the remaining 6 disks. After installing RHEL 5.2 we are getting two device files, viz., /dev/cciss/c0d0 and /dev/cciss/c0d1.
All the root partitions have been created on /dev/cciss/c0d0. Now, we want to assign the whole of /dev/cciss/c0d1 as a DATA VOLUME GROUP
`pvcreate` is not working on /dev/cciss/c0d1
Can anyone pls guide
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 06:41 AM
тАО02-23-2010 06:41 AM
Re: Initialize H/w raid devices for LVM
The P400 storage controller presents disks to the OS. The OS does not see the disks that comprise the RAID configuration. It just sees the two disks.
Please post output of this command:
fdisk -l
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2010 08:36 AM
тАО02-23-2010 08:36 AM
Re: Initialize H/w raid devices for LVM
Have you read the man page for pvcreate? If the disk has been used before, the partition table on the disk must be erased first. The command to do that is given in the DESCRIPTION chapter of the man page.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 03:04 AM
тАО02-24-2010 03:04 AM
Re: Initialize H/w raid devices for LVM
But when we try to initialize it with:-
`pvcreate -f /dev/cciss/c0d1`
we are getting the following error:-
Device /dev/cciss/c0d1 not found (or ignored by filtering)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 06:49 AM
тАО02-24-2010 06:49 AM
Re: Initialize H/w raid devices for LVM
If "fdisk -l" can see the device and reports the correct size for it, the device is obviously there.
That leaves the second part of the message: "(or ignored by filtering)". This refers to the filter expression in /etc/lvm/lvm.conf.
Run "grep filter /etc/lvm/lvm.conf". You should get a lot of comments and at least one uncommented filter expression.
The default filter expression is usually
filter = [ "a/.*/" ]
which allows all disk devices.
Your system seems to use a more strict filter expression. You may need to modify it to allow /dev/cciss/c0d1 too.
MK