Re: dd command can't get the same uuid
El 2012-08-05 a las 17:47 -0700, Fnzh Xx escribió:
(sending back to the list)
> On Sun, 05 Aug 2012 02:28:22 -0700, Fnzh Xx wrote:
>
> (please, no html posts, thanks)
>
> > root@debian:/home/tiger# dd if=/dev/sda of=/dev/sdb bs=10240k
> > 11447+1 records in
> > 11447+1 records out
> > 120034123776 bytes (120 GB) copied, 4729.59 s, 25.4 MB/s
> > root@debian:/home/tiger# blkid
> (...)
> > /dev/sda6: UUID="8b29114c-4f89-4c96-b0c0-579ce58c7345" TYPE="ext3"
> (...)
> > /dev/sdb6: UUID="d38e60d8-6bfe-49f9-a381-d89b3b9bbb7f" SEC_TYPE="ext2" TYPE="ext3"
> >
> > why /dev/sda6 uuid don't equal /dev/sdb6 uuid?
>
> Maybe different hard disk sizes?
>
> Anyway, you can edit the UUID from tune2fs.
> i am sure they are same size
Okay. And also from the same manufacturer? I'm looking here for any
physical difference (or even the hard disk firmware) that could have
done the uuid was altered for the resulting copy.
And what are the other available tools for getting the UUID telling
you? Are all of them displaying a consistent result? Such us, for
example, "ls -la /dev/disk/by-uuid" or the above mentioned "tune2fs".
Anyway, thinking out loud, what can make dd to produce different uuid?
Mmm... other than formatting operations I don't know :-?
Greetings,
--
Camaleón
Reply to: