Quantcast
Channel: Recover from improper setup of backup drive using Label//UUID - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

Recover from improper setup of backup drive using Label//UUID

$
0
0

Objective: Set up home multi-system (Mac, perhaps Win7, and other Ubuntus) backup capability using Seagate Backup Plus 3T drive connected to Ubuntu Studio 14.04. I would like to simplify the drive name and use the preferred (?) UUID/Labels to do so (to preclude changes in /sdx when I add/remove other external drives and reboot).

Approach: rsnapshot and rsync per Jeff Skinner's example. However, I formatted the drive as exfat (for multi-OS purposes), and sought to use Labels for the drive (calling it "BackupDrive")

Issue: I somehow ended up setting up a mount at sdd1 of /mnt/backupdrive as well as a mount at sdf1 with the label BackupDrive

From mount:

/dev/sdd1 on /mnt/backupdrive type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

/dev/sdf1 on /media/will/BackupDrive type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

From blkid;

/dev/sdf1: LABEL="BackupDrive" UUID="5053-2D7E" TYPE="exfat"

(there is no /dev/sdd1)

enter image description here

The only thing on the drive are standard Seagate files and some empty directories (e.g., no risk in losing data).

I can ls the files in /mnt/backupdrive and see the above files/directories.

It shows up on Nemo as BackupDrive though with no files or directories.

I have no real information on this backup drive yet

Question: How do I correct this to mount by UUID (or Label), so I can continue working my backup solution?

Once fixed, for rebooting purposes should I use;

sudo rm /etc/fstab.pre-uuid

sudo /var/lib/dpkg/info/volumeid.postinst configure

UPDATE: @Xen2050 - fstab has the following;

/dev/mapper/ubuntu--studio--vg-root /               ext4    errors=remount-ro 0       1
#" /boot was on /dev/sda1 during installation
UUID=5cade5c2-bd38-4d2b-aecb-b703ac671bc3 /boot           ext2    defaults        0       2
/dev/mapper/ubuntu--studio--vg-swap_1 none            swap    sw              0       0
/dev/mapper/cryptswap1 none swap sw 0 0

The UUID for the BackupDrive in blkid and gparted is 5053-2D7E

The UUID 5cade5c2-bd38-4d2b-aecb-b703ac671bc3 is associated with the sda1 boot partition

UPDATE 2: Followed the suggestion of @xen2050 and added the following to fstab;

UUID="5053-2D7E" /media/will/BackupDrive  fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

Rebooted, and it complained that there was a mount issue. I skipped the manual configuration during boot.

Here's what mount showed;

/dev/sdc1 on /media/will/BackupDrive1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)

blkid showed;

/dev/sdc1: LABEL="BackupDrive" UUID="5053-2D7E" TYPE="exfat" 

No existing files were shown in Nemo, though I copied a backup of the previous contents, and the drive shows them as resident there now. I don't understand why there is a BackupDrive1 showing up under mount

enter image description here

Will this work or am I still not out of the woods?


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images