HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Create lv on local disk when GFS is installed
Operating System - Linux
1826004
Members
3430
Online
109690
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-14-2006 02:31 AM
08-14-2006 02:31 AM
Create lv on local disk when GFS is installed
Hi,
I've got 2 BL25P's with RHEL4.3 ES with GFS6.1 installed and configured. That is working without any problems.
However, if I try to create a vg and a lv on a local disk (/dev/cciss/c0d0p4) it fails when I try to create the lv:
[root@imtest01 ~]# lvcreate -n lv01 -l 12837 vg01
Error locking on node imtest01: Internal lvm error, check syslog
Error locking on node imtest02: Internal lvm error, check syslog
Failed to activate new LV.
[root@imtest01 ~]#
LVSCAN shows it is in "inactive" state
[root@imtest01 ~]# lvscan
inactive '/dev/vg01/lv01' [50.14 GB] inherit
.... SNIP
[root@imtest01 ~]#
VGS shows that:
vg01 1 1 0 wz--nc 50.14G 0
How do I create a 'non-shared' volume group(local) when GFS is installed?
Any help appreciated
/M
I've got 2 BL25P's with RHEL4.3 ES with GFS6.1 installed and configured. That is working without any problems.
However, if I try to create a vg and a lv on a local disk (/dev/cciss/c0d0p4) it fails when I try to create the lv:
[root@imtest01 ~]# lvcreate -n lv01 -l 12837 vg01
Error locking on node imtest01: Internal lvm error, check syslog
Error locking on node imtest02: Internal lvm error, check syslog
Failed to activate new LV.
[root@imtest01 ~]#
LVSCAN shows it is in "inactive" state
[root@imtest01 ~]# lvscan
inactive '/dev/vg01/lv01' [50.14 GB] inherit
.... SNIP
[root@imtest01 ~]#
VGS shows that:
vg01 1 1 0 wz--nc 50.14G 0
How do I create a 'non-shared' volume group(local) when GFS is installed?
Any help appreciated
/M
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 02:43 AM
08-14-2006 02:43 AM
Re: Create lv on local disk when GFS is installed
If the lv is created probably it can be used activating the VG and creating a normal file system on it. Now, for the error check this link:
http://www.redhat.com/archives/linux-cluster/2005-November/msg00041.html
http://www.redhat.com/archives/linux-cluster/2005-November/msg00041.html
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2006 08:26 AM
08-14-2006 08:26 AM
Re: Create lv on local disk when GFS is installed
Shalom,
You need to look at vgdisplay and see if you have any space in a volume group and pvdisplay to see if there is space on the disk.
Then pvcreate,lvcreate,lvextend,mkfs.ext3
SEP
You need to look at vgdisplay and see if you have any space in a volume group and pvdisplay to see if there is space on the disk.
Then pvcreate,lvcreate,lvextend,mkfs.ext3
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
08-14-2006 06:13 PM
08-14-2006 06:13 PM
Re: Create lv on local disk when GFS is installed
Hi,
SEP - This is a completely empty partition with 50GB of free space. If I just create the ext3 filesystem on the partition (not using LVM) it works. If I remove GFS completely and create the ext3-filesystem (with LVM) it works. The only time it doesnt work is when GFS is installed and I try to create a filesystem on the empty partition (with LVM).
I'm guessing it has to do with the fact that after the lvm2-cluster package is installed this line in "/etc/lvm/lvm.conf":
locking_type=1 is changed to
locking_type=2,
and that it somehow expects the volumegroups you create to be shared between the nodes, or it tries to propagate the LVM information throughout the cluster?
VGS shows that the newly created volumegroup vg01 has the cluster flag 'C' set:
vg01 1 1 0 wz--nc 50.14G 0
I tried to vgchange vg01 to a 'non-clustered' vg, but I still get the error, though only on the local node.
There must be a way to use LVM on local disks?
any help appreciated
/M
SEP - This is a completely empty partition with 50GB of free space. If I just create the ext3 filesystem on the partition (not using LVM) it works. If I remove GFS completely and create the ext3-filesystem (with LVM) it works. The only time it doesnt work is when GFS is installed and I try to create a filesystem on the empty partition (with LVM).
I'm guessing it has to do with the fact that after the lvm2-cluster package is installed this line in "/etc/lvm/lvm.conf":
locking_type=1 is changed to
locking_type=2,
and that it somehow expects the volumegroups you create to be shared between the nodes, or it tries to propagate the LVM information throughout the cluster?
VGS shows that the newly created volumegroup vg01 has the cluster flag 'C' set:
vg01 1 1 0 wz--nc 50.14G 0
I tried to vgchange vg01 to a 'non-clustered' vg, but I still get the error, though only on the local node.
There must be a way to use LVM on local disks?
any help appreciated
/M
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP