Não é possível alterar o UUID, mas nenhuma mensagem de erro

0

Estou tentando alterar o UUID de uma partição usando o comando tune2fs . O comando é executado sem mensagens de erro, mas o UUID permanece inalterado. Por quê? (A mesma coisa acontece quando digito um UUID explícito em vez de random ). Versão: Ubuntu 16.04.2 LTS

ubuntu@ip-xxx-xx-xx-xxx:~$ lsblk
NAME    MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda    202:0    0   8G  0 disk
└─xvda1 202:1    0   8G  0 part /
xvdf    202:80   0  48G  0 disk
└─xvdf1 202:81   0  48G  0 part
ubuntu@ip-xxx-xx-xx-xxx:~$ blkid
/dev/xvda1: LABEL="old/" UUID="3e13556e-d28d-407b-bcc6-97160eafebe1" TYPE="ext4" PARTUUID="6191704b-01"
/dev/xvdf1: LABEL="cloudimg-rootfs" UUID="690f7d3f-a9e2-4107-ba69-99428aa26b27" TYPE="ext4" PARTUUID="6191704b-01"
ubuntu@ip-xxx-xx-xx-xxx:~$ sudo tune2fs -U random /dev/xvdf1
tune2fs 1.42.13 (17-May-2015)
ubuntu@ip-xxx-xx-xx-xxx:~$ blkid
/dev/xvda1: LABEL="old/" UUID="3e13556e-d28d-407b-bcc6-97160eafebe1" TYPE="ext4" PARTUUID="6191704b-01"
/dev/xvdf1: LABEL="cloudimg-rootfs" UUID="690f7d3f-a9e2-4107-ba69-99428aa26b27" TYPE="ext4" PARTUUID="6191704b-01"
    
por matthiash 21.01.2018 / 20:13

0 respostas