Re: [CentOS] Two partitions with samd UUID??

2015-06-16 Thread Robert Nichols
On 06/16/2015 06:43 AM, James Hogarth wrote: On 16 Jun 2015 12:12, Always Learning cen...@u64.u22.net wrote: On Tue, 2015-06-16 at 11:30 +0100, John Hodrien wrote: On Tue, 16 Jun 2015, Always Learning wrote: ON Centos 5, using GPARTED I created partitions for filing systems ext3 and

Re: [CentOS] Two partitions with samd UUID??

2015-06-16 Thread Leon Fauster
Am 16.06.2015 um 12:23 schrieb Always Learning cen...@u64.u22.net: On Mon, 2015-06-15 at 21:41 -0500, Robert Nichols wrote: Non-GPT partitions do not have a UUID. The _content_ (filesystem, LVM physical volume, non-encrypted swap space, etc.) of such a partition could have a UUID, but the

Re: [CentOS] Two partitions with samd UUID??

2015-06-16 Thread Robert Nichols
On 06/16/2015 09:00 AM, Robert Nichols wrote: LUKS physical volume UUIDs, actually. When you create a LUKS logical volume within that PV, it also has a UUID, and a filesystem within that LUKS LV will have its own UUID. These are all part of the partition's _content_. A GPT partition has its own

Re: [CentOS] Two partitions with samd UUID??

2015-06-16 Thread John R Pierce
On 6/16/2015 3:23 AM, Always Learning wrote: The 'blkid' command produces a list of UUIDs for those partitions. those are the UUID's of the file systems contained in the partitions, which is NOT the same thing as the UUID that GPT uses to identify the partition itself. -- john r pierce,

Re: [CentOS] Two partitions with samd UUID??

2015-06-16 Thread Always Learning
On Tue, 2015-06-16 at 11:30 +0100, John Hodrien wrote: On Tue, 16 Jun 2015, Always Learning wrote: ON Centos 5, using GPARTED I created partitions for filing systems ext3 and ext4. 4 primary and unlimited (except by space) extended partitions. That suggests those partitions are not GPT

Re: [CentOS] Two partitions with samd UUID??

2015-06-16 Thread Always Learning
On Mon, 2015-06-15 at 21:41 -0500, Robert Nichols wrote: Non-GPT partitions do not have a UUID. The _content_ (filesystem, LVM physical volume, non-encrypted swap space, etc.) of such a partition could have a UUID, but the partition itself does not. ON Centos 5, using GPARTED I created

Re: [CentOS] Two partitions with samd UUID??

2015-06-16 Thread John Hodrien
On Tue, 16 Jun 2015, Always Learning wrote: ON Centos 5, using GPARTED I created partitions for filing systems ext3 and ext4. 4 primary and unlimited (except by space) extended partitions. That suggests those partitions are not GPT but old fashioned M$DOS If it is old fashioned MSDOS, you can

Re: [CentOS] Two partitions with samd UUID??

2015-06-16 Thread John Hodrien
On Tue, 16 Jun 2015, Always Learning wrote: But my point was M$ DOS partitions, not being GPT partitions, can have UUIDs. The original poster appeared to suggest that was not possible. No, the partition there does not have a UUID. Run fdisk, create a partition, dd if=/dev/zero of=/dev/sda4

Re: [CentOS] Two partitions with samd UUID??

2015-06-16 Thread James Hogarth
On 16 Jun 2015 12:12, Always Learning cen...@u64.u22.net wrote: On Tue, 2015-06-16 at 11:30 +0100, John Hodrien wrote: On Tue, 16 Jun 2015, Always Learning wrote: ON Centos 5, using GPARTED I created partitions for filing systems ext3 and ext4. 4 primary and unlimited (except by

Re: [CentOS] Two partitions with samd UUID??

2015-06-15 Thread Robert Nichols
On 06/14/2015 10:08 PM, jd1008 wrote: On 06/14/2015 08:58 PM, John R Pierce wrote: On 6/14/2015 6:55 PM, Timothy Murphy wrote: Maybe I used dd at some point. Would this keep the same UUID? DD just does a blind block by block copy between two devices or files. I thought that uuid had

Re: [CentOS] Two partitions with samd UUID??

2015-06-15 Thread jd1008
On 06/15/2015 07:56 AM, Robert Nichols wrote: On 06/14/2015 10:08 PM, jd1008 wrote: On 06/14/2015 08:58 PM, John R Pierce wrote: On 6/14/2015 6:55 PM, Timothy Murphy wrote: Maybe I used dd at some point. Would this keep the same UUID? DD just does a blind block by block copy between two

Re: [CentOS] Two partitions with samd UUID??

2015-06-15 Thread Robert Nichols
On 06/15/2015 11:08 AM, jd1008 wrote: Thanx for the update but what about non-gpt and non lvm partitions? What is used as inp nut to create a universally unique id? Non-GPT partitions do not have a UUID. The _content_ (filesystem, LVM physical volume, non-encrypted swap space, etc.) of such a

Re: [CentOS] Two partitions with samd UUID??

2015-06-15 Thread John R Pierce
On 6/15/2015 9:08 AM, jd1008 wrote: Thanx for the update but what about non-gpt and non lvm partitions? What is used as inp nut to create a universally unique id? The UUID optionally used for mounting has nothing to do with GPT or LVM, its a label in superblock of the FILE system contained

Re: [CentOS] Two partitions with samd UUID??

2015-06-15 Thread John Hodrien
On Mon, 15 Jun 2015, jd1008 wrote: Thanx for the update but what about non-gpt and non lvm partitions? What is used as inp nut to create a universally unique id? (Actually, for an id to be universally unique, one would almost nee knowledge of all existing id's. So, I do not have much credence

Re: [CentOS] Two partitions with samd UUID??

2015-06-15 Thread Dennis Jacobfeuerborn
On 15.06.2015 18:13, John Hodrien wrote: On Mon, 15 Jun 2015, jd1008 wrote: Thanx for the update but what about non-gpt and non lvm partitions? What is used as inp nut to create a universally unique id? (Actually, for an id to be universally unique, one would almost nee knowledge of all

[CentOS] Two partitions with samd UUID??

2015-06-14 Thread Timothy Murphy
I seem to have partitions on two different disks with the same UUID: [tim@helen ~]$ sudo blkid /dev/sda2 /dev/sda2: LABEL=/boot1 UUID=5bbc8e95-6108-41f5-bc0e-5b5f8df5ce03 TYPE=ext3 [tim@helen ~]$ sudo blkid /dev/sdb2 /dev/sdb2: LABEL=/boot1

Re: [CentOS] Two partitions with samd UUID??

2015-06-14 Thread jd1008
On 06/14/2015 08:58 PM, John R Pierce wrote: On 6/14/2015 6:55 PM, Timothy Murphy wrote: Maybe I used dd at some point. Would this keep the same UUID? DD just does a blind block by block copy between two devices or files. I thought that uuid had nothing to do with drive content, so dd

Re: [CentOS] Two partitions with samd UUID??

2015-06-14 Thread jd1008
On 06/14/2015 07:55 PM, Timothy Murphy wrote: I seem to have partitions on two different disks with the same UUID: [tim@helen ~]$ sudo blkid /dev/sda2 /dev/sda2: LABEL=/boot1 UUID=5bbc8e95-6108-41f5-bc0e-5b5f8df5ce03 TYPE=ext3 [tim@helen ~]$ sudo blkid /dev/sdb2 /dev/sdb2:

Re: [CentOS] Two partitions with samd UUID??

2015-06-14 Thread John R Pierce
On 6/14/2015 6:55 PM, Timothy Murphy wrote: Maybe I used dd at some point. Would this keep the same UUID? DD just does a blind block by block copy between two devices or files. -- john r pierce, recycling bits in santa cruz ___ CentOS mailing