LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2010, 07:20 AM   #1
RWTH
LQ Newbie
 
Registered: Jul 2010
Posts: 22

Rep: Reputation: 0
Does UUID depend on the entire HD or on the partitions of the HD?


Hi,

When I first read about the UUIDs, then I thought there should be only one UUID for the entire HD. But, when I continued reading on different places, then it occurred to me that there is one unique UUID for each partition on the HD. For example on my I get after typing "blkid":

**********************************************************************
/dev/sda1: TYPE="ntfs" UUID="72C0DE8EC0DE57C5" LABEL="windows"
/dev/sda2: UUID="30fcb748-ad1e-4228-af2f-951e8e7b56df" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: TYPE="swap" UUID="8c4e69f8-5074-42c0-8134-0b2429c4c02c"
/dev/sdb1: SEC_TYPE="msdos" UUID="4848-E35A" TYPE="vfat"
***********************************************************************

Is it really so? Is there an unique UUID created for each HD partition? I guess this should have been done with OS? I want to create RAID1 array depending on this UUIDs, so that my HDs' namings (sda, sdb, sdc and etc.) will not be shifted, after I remove/add a new HD.

Is there also an unique UUID which is determined by the manufacturer? I remember seeing such numbers on the physical HDs' labels.
 
Old 10-04-2010, 07:25 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,186

Rep: Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953Reputation: 1953
Neither - it is an attribute (in this case) of the filesystem.
See the UUID entry on wikipedia.
 
Old 10-04-2010, 07:37 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,617
Blog Entries: 26

Rep: Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988Reputation: 1988
Hi,

Look at the 'Linux File System section to learn more about a filesystem.

Then look at 'Universally Unique Identifier (UUID)'.

You should then understand that the filesystem is within the container with a UUID. The container may be a device or a partition on a device that the filesystem exists on. This label is unique and used to allow functionality across the system.


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
  


Reply


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
[SOLVED] where is uuid of partitions of raid0? windstory Linux - Newbie 1 09-05-2010 01:00 AM
[SOLVED] UUID or LABEL for partitions? JosephS Linux - Hardware 5 04-09-2010 10:04 PM
Volume has problems including no uuid in /dev/disk/by-uuid abejarano Linux - Hardware 3 12-31-2008 08:41 PM
3 Partitions have the same UUID - how change it ? joe132 Linux - Hardware 5 12-07-2008 09:25 PM
Two partitions are sharing one UUID. hpladd Linux - Hardware 1 07-28-2007 04:17 PM


All times are GMT -5. The time now is 02:49 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration