HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Linux Fdisk shows error for LVM created disk.
Operating System - Linux
1828479
Members
2773
Online
109978
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
06-07-2007 02:54 AM
06-07-2007 02:54 AM
Linux Fdisk shows error for LVM created disk.
I used LVM to configure new IBM RAID drive into the system. I didn't use fdisk to initialize the disk.
But when I run fdisk -l - I get the following error:
Error: Disk /dev/sdc doesn't contain a valid partition table
Followings are the all the steps I used for Configuring LVM disk on RHEL 4.0
partprobe
pvcreate /dev/sdc
vgcreate VolGroup01 /dev/sdc
lvcreate -L 30G -n LogVol02 VolGroup01
mkfs -t ext3 /dev/VolGroup01/LogVol02
Also What is "/dev/mapper/VolGroup01-LogVol02" shown in the output of df command?
Thanks,
Gulam.
But when I run fdisk -l - I get the following error:
Error: Disk /dev/sdc doesn't contain a valid partition table
Followings are the all the steps I used for Configuring LVM disk on RHEL 4.0
partprobe
pvcreate /dev/sdc
vgcreate VolGroup01 /dev/sdc
lvcreate -L 30G -n LogVol02 VolGroup01
mkfs -t ext3 /dev/VolGroup01/LogVol02
Also What is "/dev/mapper/VolGroup01-LogVol02" shown in the output of df command?
Thanks,
Gulam.
Everyday Learning.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 03:28 AM
06-07-2007 03:28 AM
Re: Linux Fdisk shows error for LVM created disk.
HI Gulam
That error is usual when there is no filesystem in the new disk
if the fileystem was created usin fdisk u will not get this error .
And for output as /dev/mapper/... its thelinux lvm mapper driver loaded in linux .
Regards
Karthik :)
That error is usual when there is no filesystem in the new disk
if the fileystem was created usin fdisk u will not get this error .
And for output as /dev/mapper/... its thelinux lvm mapper driver loaded in linux .
Regards
Karthik :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2007 03:42 AM
06-07-2007 03:42 AM
Re: Linux Fdisk shows error for LVM created disk.
Considering this information (not error):
Disk /dev/sdc doesn't contain a valid partition table
And this information:
PV /dev/sdc VG VolGroup01 lvm2 [279.39 GB / 249.39 GB free]
That means that the while disk (sdc) was used as an LVM physical volume, without creating a partition 8e on it, it's perfectly valid.
And /dev/mapper/VolGroup01-LogVol02 is mounted on /u03, the line was cut because was too long, that's all. Use df -P if you don't want to cut lines.
Disk /dev/sdc doesn't contain a valid partition table
And this information:
PV /dev/sdc VG VolGroup01 lvm2 [279.39 GB / 249.39 GB free]
That means that the while disk (sdc) was used as an LVM physical volume, without creating a partition 8e on it, it's perfectly valid.
And /dev/mapper/VolGroup01-LogVol02 is mounted on /u03, the line was cut because was too long, that's all. Use df -P if you don't want to cut lines.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
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