LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-04-2010, 07:08 PM   #1
wroom
Member
 
Registered: Dec 2009
Location: Sweden
Posts: 159

Rep: Reputation: 31
Question libblkid uuid_parse() failing to parse UUID for lvm volume on raid device


Found out that uuid_parse() in libblkid cannot parse the UUID's of LVM physical volumes residing on nonpartitioned raid volumes. It fails with an error, while it correctly parses other UUID's.

This is strange, since the utility blkid reports correctly the UUID's of LVM physical volumes on nonpartitioned raid devices, as any other partition with an UUID.

The "unparsed" UUID of an LVM physical volume can look like this:
"cgrPXv-vtek-kfNh-kqNv-2Ad1-kct8-DVPLg5"
The "unparsed" UUID of a partition with a reiserfs filesystem, (or a swap partition), can look like the following:
"9124daf1-cea4-4d1b-94d1-20c165e03b05"
Note that there is a difference in syntax between the two.

I was under the impression that libblkid was an effort to a unified handling of disk UUID's, but it does not seem to do so.

I wonder if someone could help me shed some insightful light on this topic, please?
 
  


Reply

Tags
uuid



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
EUID,UUID,LVM,LUN,cOW pavan.manipal Linux - Software 3 07-27-2009 12:10 PM
upgrade system with lvm on software raid-1 data volume w/o losing data BinWondrin Linux - General 1 01-13-2009 03:25 PM
Volume has problems including no uuid in /dev/disk/by-uuid abejarano Linux - Hardware 3 12-31-2008 08:41 PM
LVM has lost the plot - "Couldn't find device with uuid...." The Fold Slackware 0 10-21-2008 09:54 AM
Converting a LVM volume to RAID 5 mastrboy Linux - Software 2 02-08-2007 11:30 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:57 AM.

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