Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 09-04-2010, 07:08 PM   #1
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:
The "unparsed" UUID of a partition with a reiserfs filesystem, (or a swap partition), can look like the following:
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?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration