USB unassigned drives XFS error


dcoens

Recommended Posts

This is my tail log.  I was copying my data to my usb drive as a backup.  I'm getting this error when tring to bring it online.  Is their a XFS repair command or something?   I have no idea about a duplicate UUID.

 

Sep 6 18:21:50 COENSSERVER unassigned.devices: Partition 'WD Elements_25A3' cannot be mounted.
Sep 6 18:22:03 COENSSERVER kernel: usb 2-1.4: USB disconnect, device number 14
Sep 6 18:22:22 COENSSERVER kernel: usb 2-1.6: new high-speed USB device number 15 using ehci-pci
Sep 6 18:22:22 COENSSERVER kernel: usb-storage 2-1.6:1.0: USB Mass Storage device detected
Sep 6 18:22:22 COENSSERVER kernel: scsi host9: usb-storage 2-1.6:1.0
Sep 6 18:22:23 COENSSERVER kernel: scsi 9:0:0:0: Direct-Access WD Elements 25A3 1030 PQ: 0 ANSI: 6
Sep 6 18:22:23 COENSSERVER kernel: sd 9:0:0:0: Attached scsi generic sg12 type 0
Sep 6 18:22:23 COENSSERVER kernel: sd 9:0:0:0: [sdm] Spinning up disk...
Sep 6 18:22:40 COENSSERVER kernel: .................ready
Sep 6 18:22:40 COENSSERVER kernel: sd 9:0:0:0: [sdm] Very big device. Trying to use READ CAPACITY(16).
Sep 6 18:22:40 COENSSERVER kernel: sd 9:0:0:0: [sdm] 27344699392 512-byte logical blocks: (14.0 TB/12.7 TiB)
Sep 6 18:22:40 COENSSERVER kernel: sd 9:0:0:0: [sdm] 4096-byte physical blocks
Sep 6 18:22:40 COENSSERVER kernel: sd 9:0:0:0: [sdm] Write Protect is off
Sep 6 18:22:40 COENSSERVER kernel: sd 9:0:0:0: [sdm] Mode Sense: 47 00 10 08
Sep 6 18:22:40 COENSSERVER kernel: sd 9:0:0:0: [sdm] No Caching mode page found
Sep 6 18:22:40 COENSSERVER kernel: sd 9:0:0:0: [sdm] Assuming drive cache: write through
Sep 6 18:22:41 COENSSERVER kernel: sdm: sdm1
Sep 6 18:22:41 COENSSERVER kernel: sd 9:0:0:0: [sdm] Attached SCSI disk
Sep 6 18:22:41 COENSSERVER unassigned.devices: Adding disk '/dev/sdm1'...
Sep 6 18:22:41 COENSSERVER unassigned.devices: Mount drive command: /sbin/mount -t 'xfs' -o rw,noatime,nodiratime '/dev/sdm1' '/mnt/disks/WD_Elements_25A3'
Sep 6 18:22:41 COENSSERVER kernel: XFS (sdm1): Filesystem has duplicate UUID 5ecba8e2-00f3-4555-b4e5-4af0c877c5be - can't mount
Sep 6 18:22:41 COENSSERVER unassigned.devices: Mount of '/dev/sdm1' failed: 'mount: /mnt/disks/WD_Elements_25A3: wrong fs type, bad option, bad superblock on /dev/sdm1, missing codepage or helper program, or other error. '
Sep 6 18:22:41 COENSSERVER unassigned.devices: Partition 'WD Elements_25A3' cannot be mounted.
Sep 6 18:22:55 COENSSERVER unassigned.devices: Warning: Can't get rotational setting of 'sdo'.

Link to comment
4 hours ago, dcoens said:

Ok...  I used xfs_admin -U generate /dev/sdm1 command.  It seemed to fix it.  I am not sure why this would have happened in the first place.

Was just going to suggest that :)    You can also do the same from the GUI using UD by clicking on the Settings icon for the drive.

 

You can get this issue if the drive in question was previously used in the main array and was not reformatted as it will have the same UUID as the drive that has replaced it.   Was that what happened?

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.