I have OMV 2.0 running on Raspberry PI 2.
I attached 2 identical USB disks (Toshiba Canvio 1TB). http://www.toshiba.eu/hard-dri…nvio-basics/hdtb310ek3aa/
Before mounting, I can see both identified by their name I set when connected to Windows laptop (TOSH1 & TOSH2).
I can see their serial numbers from s.m.a.r.t. info tab.
From SSH session, an lsusb shows both of them too.
But as soon as I mount one disk (no matter which) it results in both mounted and it displays the same disk usage for both (but their content are different).
Could it be linked to this bug?: http://bugtracker.openmediavault.org/view.php?id=1424
I do not use RAID. Disk are FAT32.
Is there a way to get around this by editing fstab ?
Mounting one USB disk results in both mounted
-
- OMV 2.x
- gelöst
- solar10
-
-
Can you post here blkid command please
-
Ah.
I guess that's an issue:Coderoot@raspberrypi:~# blkid /dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="7D5C-A285" TYPE="vfat" /dev/mmcblk0p2: UUID="5d18be51-3217-4679-9c72-a54e0fc53d6b" TYPE="ext4" LABEL="omv" /dev/mmcblk0p3: LABEL="data" UUID="fa36508a-b3c4-4499-b30a-711dd5994225" TYPE="ext4" /dev/sdb1: LABEL="TOSH2" UUID="843671A53671993E" TYPE="ntfs" /dev/sda1: LABEL="TOSH1" UUID="843671A53671993E" TYPE="ntfs" root@raspberrypi:~#
They both have the same UUID...Here the s.m.a.r.t. outpout.
You can see they have different serial numbersCode
Alles anzeigenroot@raspberrypi:~# smartctl --all /dev/sda smartctl 5.41 2011-06-09 r3365 [armv6l-linux-4.1.13+] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Toshiba 2.5" HDD MQ01UBD... (USB 3.0) Device Model: TOSHIBA MQ01UBD100 Serial Number: 3552THKAT LU WWN Device Id: 0 000000 000000000 Firmware Version: AX001U User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Thu Feb 11 19:34:41 2016 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled <snip> root@raspberrypi:~# smartctl --all /dev/sdb smartctl 5.41 2011-06-09 r3365 [armv6l-linux-4.1.13+] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Toshiba 2.5" HDD MQ01UBD... (USB 3.0) Device Model: TOSHIBA MQ01UBD100 Serial Number: 3551T2JUT LU WWN Device Id: 0 000000 000000000 Firmware Version: AX001U User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Thu Feb 11 19:35:35 2016 CET SMART support is: Available - device has SMART capability. SMART support is: Enabled
-
Serial number won't help you here. You need to change one of the uid's.
I know you can change it in ext4, I know you can change also in ntfs, involves writing to the mb. But atm I can't remember the command. Can you reformat one of the disks? -
Well, I was pointing serials to show evidence that there are 2 different disks attached to the RaspPI.
Re-format is not an option. I have data on it.
I'll try to find a way to change the UUID.
Thanx. -
Well, I was pointing serials to show evidence that there are 2 different disks attached to the RaspPI.
Re-format is not an option. I have data on it.
I'll try to find a way to change the UUID.
Thanx.
Sounds risky but... http://ubuntuforums.org/showthread.php?t=1240146 -
OK.
Since my diskspace is half used, I could shrink the partition, create a new one with a different UUID, move my data to the new partition then kill the old partition having the duplicate UUID.
Gparted and like can handle this.It is strange that OMV has such behavior. Before, both disks were plugged in my Thinkpad running LinuxMint 17 and it didn't make a problem. I could move files from one to the other.
-
Ah-ha!
I suspect Toshiba cloned their Canvio disks.
I found my UUID somewhere else on the web: http://www.thorack.at/?p=120 -
<p>Linux Mint doesn't use uuids to mount.</p>
-
Many Linux flavours, many different ways...
So here is the conclusion.
I attached one disk to my laptop, started GParted and this was even easier than expected. There is an option to change UUID (menu /partition/new UUID).
I now have both Canvio mounted and shared on OMV/RaspPI.
See you in other thread for the next issue
Thanx for help.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!