[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: backb losing its mount point



Sharon Kimble wrote:
> Thanks for replying Darac.
...
>> It might be helpful to see the relevant lines from your /etc/fstab.
>>
> - --8<--------------- current fstab ---------------start------------->8---
> /dev/sda2       /mnt/backb      ext4    defaults,nofail,x-gvfs-show     0     2
> /dev/sdb2 	/mnt/backa	ext4    defaults,nofail,x-gvfs-show     0     2
> - --8<---------------cut here---------------end--------------->8---
>
> because the system originally showed this
>
> - --8<--------------- original fstab ---------------start------------->8---
> /dev/sda2       /mnt/backa      ext4    defaults,nofail,x-gvfs-show     0     2
> /dev/sdb2 	/mnt/backb	ext4    defaults,nofail,x-gvfs-show     0     2
> - --8<---------------cut here---------------end--------------->8---
>   
> but for some reason it mounted backb on /dev/sda2 so to regain access I
> changed it to what is currently showing in fstab.

  um, that is a prime example of why UUIDs or LABELS should be used
instead of what you have there because /dev/sdXY names can change 
after a reboot or a device gets disconnected and reconnected.


...

  you can use blkid to give you the UUID and if you've given the
partition/filesystem a LABEL it will also report that.

  update your fstab to use either of those.


  songbird


Reply to: