Questions tagged [uuid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Why LVM PV UUID has non-hexadecimal characters, when the UUID standard requires them?

Trying to recover a disk with GPT partitions used as LVM2 Physical Volumes. LVM config file gives me the disk UUID: physical_volumes { pv0 { id = "TDOcy3-NrVX-Kmx8-...
user avatar
1 vote
1 answer
187 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 ...
user avatar
  • 31
0 votes
1 answer
39 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 ...
user avatar
  • 266
2 votes
1 answer
684 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/ ...
user avatar
  • 205
1 vote
1 answer
2k 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 ...
user avatar
  • 397
2 votes
1 answer
725 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 1,128
2 votes
0 answers
38 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 ...
user avatar
  • 21
2 votes
2 answers
1k 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 ...
user avatar
  • 123
0 votes
1 answer
66 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 ...
user avatar
  • 101
0 votes
1 answer
259 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 ...
user avatar
  • 143
2 votes
1 answer
1k 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 ...
user avatar
  • 253
1 vote
1 answer
439 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 ...
user avatar
  • 13
3 votes
1 answer
256 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 ...
user avatar
  • 451
2 votes
1 answer
679 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 ...
user avatar
  • 289
1 vote
1 answer
7k 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 ...
user avatar
  • 7,647
5 votes
1 answer
2k 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 ...
user avatar
4 votes
2 answers
14k 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 ...
user avatar
  • 188
7 votes
2 answers
2k 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 ...
user avatar
0 votes
1 answer
215 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 ...
user avatar
  • 103
1 vote
1 answer
761 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 me@example.com Since ...
user avatar
  • 162
1 vote
2 answers
1k 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 ...
user avatar
  • 181
2 votes
0 answers
129 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-...
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 ...
user avatar
0 votes
1 answer
49 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 ...
user avatar
6 votes
1 answer
6k 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 ...
user avatar
  • 748
5 votes
1 answer
4k 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? ...
user avatar
  • 165
3 votes
2 answers
5k 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 ...
user avatar
  • 3,020
0 votes
1 answer
498 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 ...
user avatar
  • 113
1 vote
1 answer
1k 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
5 votes
3 answers
10k 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 ...
user avatar
2 votes
1 answer
3k 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 ...
user avatar
  • 1,562
4 votes
2 answers
1k 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), ...
user avatar
  • 41
2 votes
2 answers
2k 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 ...
user avatar
  • 213
0 votes
2 answers
9k 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="...
user avatar
  • 1,517
15 votes
4 answers
19k 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
5 votes
2 answers
5k 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 ...
user avatar
  • 194k
1 vote
0 answers
519 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 ...
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 ...
user avatar
  • 117
7 votes
3 answers
18k 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) ...
user avatar
  • 1,350
13 votes
7 answers
13k 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 ...
user avatar
  • 231
7 votes
4 answers
5k 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 ...
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 ...
user avatar
0 votes
2 answers
3k views

Disks with identical UUIDs

I have three disks that make up a RAID-5. Mdadm repeatedly spat out the third disk (even after replacing it), so I took a closer look. After checking the cables, I eventually decided to label the ...
user avatar
  • 113
1 vote
1 answer
1k views

Unable to create ramdisk after updating to 2.6.32

I've upgraded one of our servers (debian lenny) from backports. It upgraded the kernel to 2.6.32-trunk-amd64, and switched the disk access to UUID. Everything works fine, however, /dev/ram0 no longer ...
user avatar
4 votes
1 answer
10k views

/dev/disk/by-uuid not showing all disks

I am working with local storage repositories on an installation of XenServer and I am trying to use the UUID to delete a SR made in error. When I look at the disks by-id here is the output: [root@...
user avatar
  • 235
1 vote
1 answer
484 views

SVN Merge two reposiories - what about the UUIDs?

This is my scenario: Originally had two seperate repositories, I need to merge these into one repository. I don't care too much about the history in these repositories. I created a new repository and ...
user avatar
185 votes
14 answers
258k views

How to create a UUID in bash?

In Java it is possible to create a random UUID: UUID uuid = UUID.randomUUID(); How to do this in Bash?
user avatar
  • 4,593
5 votes
3 answers
5k views

Using UUIDs for passwords

Does anyone have an opinion on using UUIDs as passwords? This is intended for accounts created for external users, such as customer access to private SFTP folders. Or are people using public key ...
user avatar