- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Change linux partition to linux lvm partition
Operating System - Linux
1820553
Members
2468
Online
109626
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
Discussions
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
тАО07-14-2003 02:26 AM
тАО07-14-2003 02:26 AM
Hi,
I made a partition on my linux-machine. When a type pvcreate /dev/hda7 (name partition) it say the partition is the wrong type and doesn't create the partition. I checked and the partition is a linux partition and not a linux lvm partition. How should I change the partition into a lvm partition? I tried it with fdisk but I don't have enough knowledge of fdisk to get it working. Does anyone know the solution for this?
I made a partition on my linux-machine. When a type pvcreate /dev/hda7 (name partition) it say the partition is the wrong type and doesn't create the partition. I checked and the partition is a linux partition and not a linux lvm partition. How should I change the partition into a lvm partition? I tried it with fdisk but I don't have enough knowledge of fdisk to get it working. Does anyone know the solution for this?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 02:50 AM
тАО07-14-2003 02:50 AM
Solution
Hi,
Here is the way to it :
First check that /dev/hda7 is unmounted (I often do all this stuff by booting on CD1 and typing linux rescue to have system booted from CD, not HD).
Type fdisk /dev/hda to get into fdisk.
If hda 7 is not created yet (check it by typing 'p', it'll give you the list of partitions).
Type 'n' for new, make it logical, start from the point it suggests, and give it the size you want by selecting +1000M for example, to make it 1000 mebagytes.
Now it's created, and it's linux native. Type 't' to change paritition type. It asks about partition number, it's 7.
Linux LVM type is '8e', type this (you have full list of known paritions on typing 'L').
Then type 'w' to apply changes. Reboot.
You're done !
hth
J
Here is the way to it :
First check that /dev/hda7 is unmounted (I often do all this stuff by booting on CD1 and typing linux rescue to have system booted from CD, not HD).
Type fdisk /dev/hda to get into fdisk.
If hda 7 is not created yet (check it by typing 'p', it'll give you the list of partitions).
Type 'n' for new, make it logical, start from the point it suggests, and give it the size you want by selecting +1000M for example, to make it 1000 mebagytes.
Now it's created, and it's linux native. Type 't' to change paritition type. It asks about partition number, it's 7.
Linux LVM type is '8e', type this (you have full list of known paritions on typing 'L').
Then type 'w' to apply changes. Reboot.
You're done !
hth
J
You can lean only on what resists you...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 04:11 AM
тАО07-14-2003 04:11 AM
Re: Change linux partition to linux lvm partition
hi
u already have a detailed reply. but still, here goes the official document from redhat.
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-lvm.html
-balaji
u already have a detailed reply. but still, here goes the official document from redhat.
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-lvm.html
-balaji
Its Always Important To Know, What People Think Of You. Then, Of Course, You Surprise Them By Giving More.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2003 11:57 AM
тАО07-14-2003 11:57 AM
Re: Change linux partition to linux lvm partition
Hello!
You should check that the partiton exist
with write parameters
use fdisk /dev/hda
check that the 7 partiton is exist with
type of LVM (8e)
Then use the pvcreate.
Caesar
You should check that the partiton exist
with write parameters
use fdisk /dev/hda
check that the 7 partiton is exist with
type of LVM (8e)
Then use the pvcreate.
Caesar
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP