Skip to main content

Questions tagged [uuid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
84 views

Converting UUID into some information [closed]

I know the title in itself is pretty vague, so let me break it down to what I'm trying to do. There's a game (to be specific, game on WeChat applets), which requests sprites and files in general from ...
᪵ mesi's user avatar
0 votes
0 answers
468 views

Is Windows Machine GUID no longer a valid UUID?

I deal with a lot of Windows devices and I have yet to see one with a Machine GUID that is not a valid UUID until now. I have seen 2 devices like this. I run the command Get-ItemProperty -Path HKLM:\...
Daniel's user avatar
  • 101
0 votes
1 answer
110 views

When creating a linux server in Azure, is it possible to declare the UUID somehow?

We are currently doing fact finding in microsoft azure. For one of our software stacks, having known UUIDs is important (defined as the output from dmidecode|grep UUID). In virtualbox/vagrant, it is ...
Matthew's user avatar
  • 2,747
2 votes
1 answer
553 views

Is it better to generate "UUID" and "TIMESTAMP" within the NodeJS application or using the database built-in functions?

I am writing a TypeScript-NodeJS application and want to handle object ids and created_at TIMESTAMP within the NodeJS application, instead of using MySQL or Cassandra built-in UUID or TIMESTAMP ...
best_of_man's user avatar
1 vote
1 answer
1k views

How do I identify disk partitions from volume/UUID in Ubuntu File Manager (like /dev/sdx)? [closed]

Ubuntu "file manager" lists disk partition as "104 GB volume". "Properties" gives more information, but uses the disks UUID. "Open on disks" just starts the &...
Jan Hus's user avatar
  • 117
0 votes
0 answers
995 views

I accidentally created a GPT label on a sdb that already was in a VG : WARNING: Couldn't find device with uuid CdlY5k-IynC-hYTX-hH3h-HaLC-KAqy-n4h38q

I accidentally created on GPT label on /dev/sdb on a production server which belonged to the ubuntu-vg. Before the change : $ df -h / Filesystem Size Used Avail Use% Mounted ...
SebMa's user avatar
  • 389
1 vote
1 answer
764 views

Is there a faster implementation of uuidgen from bash?

I am using a bash script and using the command uuidgen to generate UUIDs. However it is quite slow when invoked in a loop. Are there any alternatives I can invoke directly from bash? I'm guessing the ...
Justin's user avatar
  • 5,518
1 vote
1 answer
2k views

zfs does not recognize its own physical disks

I have repeating problem with the zfs pool where zfs stops recognizing its own, properly labeled (or so it appears) physical devices. Ubuntu 20.04.2 LTS 5.11.0-44-generic #48~20.04.2-Ubuntu SMP Tue ...
agatek's user avatar
  • 31
0 votes
1 answer
117 views

What happened to Data::UUID in SLES?

I have a Perl program with tradition (i.e. I use it over 10 years), but today I realized that it cannot find Data::UUID any more. I also tried to install a corresponding package from the SLES software ...
U. Windl's user avatar
  • 391
3 votes
1 answer
2k views

qemu does not give by-id symlinks for drives by UUID in linux guest

I am trying to get my drive to show up in QEMU guest virtual Linux machine. desired behavior: $ ls /dev/disk/by-id/ ata-CT1000MX500SSD4_XXXXXX Current behavior returns nothing: $ ls /dev/disk/by-id/ ...
posop's user avatar
  • 247
1 vote
1 answer
4k views

I can't mount with mount -a for error wrong fs type, bad option, bad superblock but I can mount manually

I usually use UUID to mount my devices, because I use a lot of external ones and so I control it better. But when I want to mount partitions formatted with XFS I have problems Generally this works for ...
abkrim's user avatar
  • 426
2 votes
1 answer
5k views

linux + disk apears from lsblk but blkid not give the UUID

we have rhel 7.6 server with sdb and sdc and sdd disks the machine is physical machines with disk of 1.7T each of them we notice the sdd disk displayed from lsblk as lsblk | grep data sda ...
sheffadmin's user avatar
0 votes
2 answers
9k views

After changing a system disk partition, system won't boot, goes into "Dracut Emergency Shell"; how do I get it to boot?

Background I had a new system that I'd spent a lot of time configuring the software on to perform all manner of services and then discovered the drive was potentially flaky. So I decided to replace ...
Richard T's user avatar
  • 1,302
2 votes
0 answers
90 views

duplicate block device and UUID

Today I ran fsck on two partitions of our Ubuntu 16.04 server. Fsck has fixed various problems and afterwards I rebooted the server. After rebooting there were duplicate block device assignments with ...
Peter's user avatar
  • 21
2 votes
2 answers
3k views

Can HAProxy generate a UUID based unique connection id?

I have an HAProxy load balancer that I would like to use to tag requests with a unique id (X-Unique-ID header) so that I can correlate events between logs in multiple systems. HAProxy has a feature ...
zaphoyd's user avatar
  • 123
0 votes
1 answer
98 views

Almost the same UUID for two different drives

While running the mountvol command on Windows, I see that two of my drives have almost the same UUID, differing only in one byte in the 8th hex character. One of those is not mounted to anything; the ...
Arcanum's user avatar
  • 101
0 votes
1 answer
420 views

UUID mapping to new installed nextcloud

I have a question about to the migration of data to a new nextcloud installation. I have a one node google’s Ganeti cluster with multiple VM’s, nextcloud and the backup VM’s are the only VM’s with ...
Max's user avatar
  • 143
2 votes
1 answer
3k views

Why is UUID missing after creating ext4 filesystem on RHEL7 ec2 instance

I'm using Ansible to configure a server. This server is running on AWS Ec2 and I'm attaching to it four EBS drives. When I run my ansible playbook it will fail about 50% of the time. The failure is ...
Levi's user avatar
  • 253
1 vote
1 answer
608 views

What replaced vol_id in Debian 9.x "stretch"?

I was reading this link and tried the vol_id command. From my research, it was part of the udev package, and I see it was removed long ago. What replaced vol_id in Debian 9.x "stretch"? As a bonus ...
bento's user avatar
  • 13
3 votes
1 answer
521 views

in which cases it will be problematic to configure UUID in fstab

We are thinking about to change all Linux fstab configuration to work with UUID instead the current configuration Some of the disks are with non RAID and some of the disks are with RAID10 I searched ...
shalom's user avatar
  • 501
2 votes
1 answer
1k views

UUID on copied EBS snapshot

Is the UUID of a copied EBS snapshot different to the original? In mounting an EBS volume via the fstab in an EC2 instance and if it's a copied snapshot, it appears to be the same UUID? Is this ...
eekfonky's user avatar
  • 309
1 vote
1 answer
8k views

How to change grub2 in CentOS/RHEL7 from UUID to old style device?

With CentOS/RHEL 7 there are a couple of changes (compared to CO/RHEL 6). One of it is the use of grub2 instead of grub. Per default the OS seems to use a UUID to "find" the boot-device. Is there an ...
Nils's user avatar
  • 7,755
5 votes
1 answer
3k views

Refresh uuid of physical device

I'm trying to clone a LUN on a server and present it to the same server and am running into UUID oddities. I don't create partitions on the LUN, just create a PV and then LVM on top of that so I can ...
darkside's user avatar
4 votes
2 answers
18k views

Change Instance UUID for VM in ESXi

Background I'm running ESXi 6.0.0 in free mode. I created one VM and then copied its files to another folder in the datastore to create the next machine (almost like a template). I wound up with ...
trademark's user avatar
  • 188
7 votes
2 answers
4k views

Is there a way to find out what cluster or vcenter an ESX server is on?

I need to be able to identify which cluster or vCenter instance some ESX servers are part of, but need to get this information directly from the ESX server itself. Is this information available in ...
Dave Kirby's user avatar
0 votes
1 answer
329 views

Send proper UUID over tcp

I have a small ingest TCP server that should accept a device UUID as a first message, which is only 16 bytes. I'd like to test this manually from terminal, but sending a string won't work, since it ...
4lex1v's user avatar
  • 103
1 vote
1 answer
1k views

Proper way to identify member devices in mdadm.conf

My current mdadm.conf looks like: $ cat /etc/mdadm/mdadm.conf DEVICE /dev/sdb1 /dev/sdc1 ARRAY /dev/md0 metadata=1.2 spares=0 UUID=357ff7cc:55e78d18:9fc7917b:f5b253f2 MAILADDR [email protected] Since ...
davide's user avatar
  • 162
1 vote
2 answers
2k views

Is disk's UUID a good identifier for disk?

My tool working among 100 disks, some of them may attach or detach from the server during the tool running. I want to use disk's UUID as disk's id, and I got the question: If some disk disk_1 got a ...
coanor's user avatar
  • 191
3 votes
0 answers
155 views

Does the LVM DM UUID contain any metadata?

For example within the name listed below is there any metadata within the name, eg based on server serial number or date created or such: dm-uuid-LVM-...
Hanne Winter's user avatar
0 votes
1 answer
1k views

Identifying RHEL disk other than by UUID in /etc/fstab for Disaster Recovery from another site

For our disaster recovery setup there is a set of disk which are replicated from our production site to the disaster site. On the production site the RHEL servers have /boot filesystem setup on disks ...
Hanne Winter's user avatar
0 votes
1 answer
66 views

How are BLKIDs Assigned?

Suppose I have a situation like I have installed /etc and /boot in two separate partition which belongs to an USB device , and the rest of the system / and /home in the HDD. Now my question is I need ...
Genocide_Hoax's user avatar
6 votes
1 answer
8k views

How to reference an NFS share by UUID in the client's /etc/fstab

I have the following NFS export on my server, with fsid set to a newly generated UUID. /etc/exports: /mnt/data client(ro,fsid=b07f5af6-6b10-11e3-b4c1-00248115724d) I would then run exportfs -rav ...
v25's user avatar
  • 792
5 votes
1 answer
6k views

Will UUID be the same if a disk moved from one machine to another?

While in Linux every disk got a UUID. I just wondering will the UUID be the same if I moved the same disk from one Linux box to another? Is it the same UUID in different machines with the same disk? ...
Sunry's user avatar
  • 229
3 votes
2 answers
6k views

VMware: identifying source template

Is there a way to identify a parent template for VMs. I've got a few VMs created from different templates and I need to confirm source template. I've tried blkid and dmidecode -s system-uuid but it ...
HTF's user avatar
  • 3,208
0 votes
1 answer
580 views

fsck.ext3: Unable to resolve UUID but gparted shows the correct UUID

I'm running CentOS6 on a PowerSpecG211 with a RAID level 1 array (2x2TB) and a couple of SSD's Yesterday afternoon the partition for /var ran out of space while I was doing some stuff in mysql and ...
Jeff's user avatar
  • 113
1 vote
1 answer
2k views

Why /dev/disk/by-id/ change after a suddenly server power-off?

I'm management a server that in /etc/fstab have references to some partitions using /dev/disk/by-id/DISK_ID-partN. The server suddenly power-off and DISK_ID part of /dev/disk/by-id/DISK_ID-partN ...
user avatar
6 votes
3 answers
12k views

is there any advantage mounting an LV by UUID instead of by path?

I know I can specify mounts in fstab by either putting their path (like /dev/sda1 or /dev/mapper/myvg-logicalVolume1) or by fs label (LABEL=root) or by UUID (UUID=1234-5678-...). I see a clear ...
Carlos Campderrós's user avatar
2 votes
1 answer
4k views

Are disk partition labels or UUIDS stored in the partition area itself or in some other area of the hard disk? [duplicate]

Are disk partition labels or UUIDS stored in the partition area itself or in some other area of the hard disk? e.g If the dd command is used is used to copy the raw partition image from one partition ...
vfclists's user avatar
  • 1,662
4 votes
2 answers
2k views

Converting Debian fstab to use UUIDs via linux-base?

We have a few Debian 5 systems that are still using /dev/hda in the fstab. We'd like to covert them to using UUIDs. This is supposed to be done automatically via the "linux-base" package (postinst), ...
DAM's user avatar
  • 41
2 votes
2 answers
3k views

Change LUKS UUID (without cryptsetup > 1.2)

According to the cryptsetup changelog (1.2.0): Allow explicit UUID setting in luksFormat and allow change it later in luksUUID (--uuid parameter). My problem is that the current Debian ...
vbence's user avatar
  • 213
0 votes
2 answers
11k views

how to know what is disk uuid for md raid1 and hdparm?

ive got md0 (raid 1) array and want to make write cache off on them during system boot (ubuntu 12.04 server). md0: /dev/sda /dev/sdc blkid: /dev/sda: UUID="3e502de5-696d-f4b4-470e-XXX" TYPE="...
MealstroM's user avatar
  • 1,517
17 votes
4 answers
24k views

is it possible to simultaneously mount 2 LVM volumes that are exact copies of each other (same UUIDs)?

I have cloned (using dd) the hard drive in a live system onto several multiple backup hard drives. The root partition in the live system is a LVM volume. The backup copies are intended to be drop-in ...
laramichaels's user avatar
2 votes
1 answer
2k views

Is it possible to load new PostgreSQL libraries without restarting the server?

I need support for the uuid library in my Postgres server (a 64-bit Amazon Linux AMI). I've installed the uuid and uuid-pgsql packages. Is it possible to load the library without restarting the ...
Adam Sharp's user avatar
5 votes
2 answers
6k views

Repurposed disk - Linux blkid command returns incorrect information

I'm working with an SSD drive removed from a VMware ESXi installation. I'm trying to reuse the disk in an existing Linux installation (CentOS 6.2). The drive sits behind an HP Smart Array P410 RAID ...
ewwhite's user avatar
  • 199k
1 vote
0 answers
525 views

Imaging LVM-based Linux system to new computer: UUIDs change?

We are attempting to use Acronis TrueImage to copy the hard drive from one standalone Red Hat Enterprise Linux 5.5-based computer across to two others as part of a production operation. We are using a ...
qid's user avatar
  • 111
-3 votes
4 answers
4k views

How to check if UUID generated is correct? [closed]

My company get custom made motherboard from a vendor. Recently, we requested them to put UUID in our SMBIOS. They did it for us. According to them, they use a program to generate UUID Version 5 (SHA-1 ...
Kevin H's user avatar
  • 117
9 votes
3 answers
23k views

LVM: regenerate a UUID?

I have some virtual machines which were clones of the same original disk image, which contained some LVM volumes. When I clone these, I end up with multiple LVM volumes (albeit on different hosts) ...
kdt's user avatar
  • 1,410
14 votes
7 answers
15k views

How to create a randomly keyed, encrypted swap partition, referring to it "by-uuid", on Debian?

It is sensible that if you have any sort of block device encryption implemented on your GNU/Linux system, to encrypt your swap partition too, as any decrypted data may be written in cleartext at any ...
Geeb's user avatar
  • 241
7 votes
4 answers
6k views

How to get the mount point of flash drive by using uuid?

I am beginner in ubuntu linux and i need to write simple bash script, that can identify necessary flash drive(which contains only one vfat partition) using uuid of this partition, and get the mount ...
teddypickerfromul's user avatar
9 votes
2 answers
10k views

Change the UUID of a VHD

How can I change the UUID of a VHD-file? My problem is that VirtualBox won't accept the VHD-file if it has already been added. But I am moving VHD disks between work/home and cloning them (and ...
Tedd Hansen's user avatar