Mounting one USB disk results in both mounted

  • 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 ?

  • Ah.
    I guess that's an issue:

    Code
    root@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 numbers

  • 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.

    • Offizieller Beitrag

    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

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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.

    • Offizieller Beitrag

    <p>Linux Mint doesn't use uuids to mount.</p>

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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!