disk uuid changes at boot-time?

Rashkae ubuntu at tigershaunt.com
Tue Mar 31 13:33:04 UTC 2009


Luca Ferrari wrote:
> On Monday 30 March 2009 18:18:26 Derek Broughton wrote:
>> Post your /etc/fstab - but I'd bet you _aren't_ using UUIDs to mount.
> 
> 
> This is my fstab file, and it is using UUID:
> 
> # /dev/sda1                                                           
> UUID=75b96c6a-8f27-486e-8abe-db0883d783e3 /               reiserfs defaults        
> 0       1
> # /dev/sda2                                                                                 
> UUID=8470e348-096a-4981-8f36-92ffed0fb100 /usr            reiserfs defaults        
> 0       2
> # /dev/sda5                                                                                 
> UUID=e572c389-f7c3-477e-b89c-9e53fe27ec59 /opt            reiserfs defaults        
> 0       2
> # /dev/sda6                                                                                 
> UUID=f4a78cd3-60d3-4cde-bc31-bf22f21d462b /var            reiserfs defaults        
> 0       2
> # /dev/sda7                                                                                 
> UUID=c38347b0-5abe-4f51-a80f-9fd56ee20feb /home           reiserfs defaults        
> 0       2
> # /dev/sda8                                                                                 
> UUID=8c64280f-bfbc-43bb-9498-1d6419a9218b /boot           reiserfs notail          
> 0       2
> # /dev/sda10                                                                                
> UUID=fc6b2a31-1b9c-4aad-ba3a-5e558d05e7d7 /backup/vari     reiserfs defaults        
> 0       2
> 
> # /dev/sdb1
> UUID=d04961ce-1fed-4915-8483-3826185c8f5d /var/backups     reiserfs defaults        
> 0       2
> # /dev/sdb2                                                                                  
> UUID=e20f2fda-4005-41e7-85f7-7cf200aec8dd /backup/mail     reiserfs defaults        
> 0       2
> # /dev/sdb3                                                                                  
> UUID=3b400774-7fbd-438b-8c83-87c6e9a89191 /backup/prod reiserfs defaults 0 2                 
> # /dev/sdb5                                                                                  
> UUID=4888d23b-ff46-4d25-9d81-653e49f34ecc /backup/target   reiserfs defaults        
> 0       2
> # /dev/sdb6                                                                                  
> UUID=29ef64e2-fb55-4cb5-8d81-50cbf7f0305d /backup/ciclici  reiserfs defaults        
> 0       2
> # /dev/sdb7
> UUID=d65e5519-7e99-4f80-b539-02282ba26976 /backup/fotoceramica reiserfs 
> defaults        0       2
> # /dev/sdb9
> UUID=6b30d17a-eb66-456e-8f7d-5e7cca6b6e9b none            swap    sw              
> 0       0
> 
> # /dev/sdc1
> #UUID=f559b830-4d10-435c-a423-0c0cc00c8807 /backup/hydrojet  reiserfs defaults        
> 0       2
> # /dev/sdc2
> UUID=8c2b5dfd-309a-41c9-b5af-d94717487d93 /backup/firewall  reiserfs defaults   
> 0 2
> # /dev/sdc3
> UUID=ab00529c-6301-4c08-92b7-4cabf28780bc /backup/sede/vari    reiserfs 
> defaults        0       2
> # /dev/sdc5
> UUID=c508ac21-6448-4ce9-9d20-2ba6da405f04 /backup/coloriitaliani  reiserfs 
> defaults        0  2
> # /dev/sdc6 = c5ad435f-295e-40f2-a7d8-18302877cbb0
> UUID=f559b830-4d10-435c-a423-0c0cc00c8807 /backup/sede/vol1   reiserfs 
> defaults        0       2
> # /dev/sdc7
> UUID=554f4d5c-6df8-4d91-a302-a2398dbd2209 /backup/mistral     reiserfs 
> defaults        0       2
> # /dev/sdc8
> UUID=a2a5824b-2dfe-4094-86a1-52ffabe5f1bf /backup/inkcid     reiserfs defaults        
> 0       2
> 
> 
> However, almost all mount points under /backup are mixed at each boot.
> I've controlled this setting a file with the partition name on each partition, 
> and I can see the partitions mixed after boot.
> 
> Thanks,
> Luca
> 


Well, umm, simply put, 'that's impossible,' And I'm pretty sure I know
what the word means :)

The large and confusing number of partitions might make it difficult to
spot where the confusion is happening, so please bare with me.

I would like the output of the following commands.  (I'm omitting the
sudo, but use that if you aren't already root.)  Preferably, I would
like the output from two different boots where the filesystems
supposedly got switched.  It would also help if you can give an example
of mounted filesystems that got changed around on that boot.

blkid
mount
ls /dev/disk/by-uuid/ -lh
ls /dev/disk/by-id/ -lh









More information about the ubuntu-users mailing list