[Solved] Myterious extra drive appears when using nemo

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
nocom
Level 1
Level 1
Posts: 32
Joined: Mon Jan 02, 2017 2:30 am

[Solved] Myterious extra drive appears when using nemo

Post by nocom » Wed Jan 17, 2018 3:04 pm

Recently I added an extra drive to my system: sda. I have an UEFI based system with a dual boot of windows 10 and linux mint (18.3) on an SDD (nvme0n1). My harddisk is labeled "extra-data" listed below.

Code: Select all

Disk /dev/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: C5CF2008-95B2-44D0-A62C-ABA264D35207

Device          Start        End    Sectors  Size Type
/dev/sda2      264192 6175635455 6175371264  2.9T Microsoft basic data
/dev/sda3  6175635456 6241171455   65536000 31.3G Linux swap
/dev/sda4  6241171456 7814035455 1572864000  750G Linux filesystem
I added sda3 and sda4 with gparted and had no problems whatsoever. When I list this drive with nemo, it is listed as "extra-data1". What's even worse is that it contains other data. When I list /media/arnold, just extra-data is shown as a subdirectory. HGowever, once I have run nemo and tried to access the drive, two directories are listed: extra-data and extra-data1.

Does anybody have a gues what is happening? I feel quite unsure about the sanity of my hard drive and system.
Last edited by nocom on Thu Jan 18, 2018 6:05 am, edited 1 time in total.

User avatar
ClixTrix
Level 4
Level 4
Posts: 473
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Myterious extra drive appears whenusiong nemo

Post by ClixTrix » Wed Jan 17, 2018 3:13 pm

Could you please run the following command from Terminal and post back the results.

Code: Select all

inxi -Fxz
Linux Mint 18.3 x64 Cinnamon Kernel 4.14.20 Mainline (Ukuu)
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

nocom
Level 1
Level 1
Posts: 32
Joined: Mon Jan 02, 2017 2:30 am

Re: Myterious extra drive appears whenusiong nemo

Post by nocom » Wed Jan 17, 2018 3:30 pm

Code: Select all

System:    Host: orlandus Kernel: 4.10.0-42-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9) Distro: Linux Mint 18.3 Sylvia
Machine:   Mobo: ASUSTeK model: ROG ZENITH EXTREME v: Rev 1.xx
           Bios: American Megatrends v: 0211 date: 07/12/2017
CPU:       Octa core AMD Ryzen Threadripper 1950X 16-Core (-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 54397
           clock speeds: max: 3400 MHz 1: 2200 MHz 2: 2200 MHz 3: 2200 MHz
           4: 2200 MHz 5: 2200 MHz 6: 2200 MHz 7: 2200 MHz 8: 2200 MHz
           9: 2200 MHz 10: 2200 MHz 11: 2200 MHz 12: 2200 MHz 13: 2200 MHz
           14: 2200 MHz 15: 2200 MHz 16: 2200 MHz 17: 2200 MHz 18: 2200 MHz
           19: 2200 MHz 20: 2200 MHz 21: 2200 MHz 22: 2200 MHz 23: 2200 MHz
           24: 2200 MHz 25: 2200 MHz 26: 2200 MHz 27: 2200 MHz 28: 2200 MHz
           29: 2200 MHz 30: 2200 MHz 31: 2200 MHz 32: 2200 MHz
Graphics:  Card-1: NVIDIA Device 1b06 bus-ID: 08:00.0
           Card-2: NVIDIA Device 1c03 bus-ID: 41:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia,nouveau (unloaded: fbdev,vesa)
           Resolution: 2560x1440@59.95hz
           GLX Renderer: GeForce GTX 1060 6GB/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 384.111 Direct Rendering: Yes
Audio:     Card-1 Advanced Micro Devices [AMD] Device 1457
           driver: snd_hda_intel bus-ID: 0a:00.3
           Card-2 NVIDIA Device 10f1 driver: snd_hda_intel bus-ID: 41:00.1
           Card-3 NVIDIA Device 10ef driver: snd_hda_intel bus-ID: 08:00.1
           Card-4 Midiman M-Audio Uno driver: USB Audio usb-ID: 007-003
           Sound: Advanced Linux Sound Architecture v: k4.10.0-42-generic
Network:   Card: Intel I211 Gigabit Network Connection
           driver: igb v: 5.4.0-k port: 7000 bus-ID: 03:00.0
           IF: enp3s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 4000.8GB (1.6% used)
           ID-1: /dev/nvme0n1 model: N/A size: 512.1GB
           ID-2: /dev/sda model: ST4000VN000 size: 4000.8GB
Partition: ID-1: / size: 169G used: 27G (17%) fs: ext4 dev: /dev/nvme0n1p5
           ID-2: swap-1 size: 33.55GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: N/A mobo: N/A gpu: 0.0:34C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 450 Uptime: 35 min Memory: 1470.5/32092.2MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 

User avatar
ClixTrix
Level 4
Level 4
Posts: 473
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Myterious extra drive appears whenusiong nemo

Post by ClixTrix » Wed Jan 17, 2018 3:55 pm

/dev/sda2 264192 6175635455 6175371264 2.9T Microsoft basic data

Is this partition formatted NTFS?

If so, are you aware of the lock Windows 10 does on the partition, unless Windows Fast Startup is disabled?

https://askubuntu.com/questions/145902/ ... ion/145904

Would like to see the contents of system file: /etc/fstab

It's normally not very large, so please open it with editor of choice and copy-paste back the contents.

I'm thinking the mounts on the two data partitions for SDA2 and SDA4 are what you're seeing, but need to look at what is coded in fstab. If there's data there, I'm assuming that's what should be there. If the mount names are confusing that's fixable.
Linux Mint 18.3 x64 Cinnamon Kernel 4.14.20 Mainline (Ukuu)
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

nocom
Level 1
Level 1
Posts: 32
Joined: Mon Jan 02, 2017 2:30 am

Re: Myterious extra drive appears when using nemo

Post by nocom » Wed Jan 17, 2018 4:13 pm

Thanks for looking into this problem! Windows fast startup is disabled, else I wouldn't be able to install Mint at all. I needn't be able to access the windows partitions. In fact, I would like to not see or mount them at all as I am afraid to ruin my windows partitions by some sort of stupid action of mine.

As far as I know I never mounted sda. The only thing I explicitly did with this disk i moving the swap partion to it. The old swap partition is commented out in /etc/fstab.

Anyway: here is /etc/fstab

Code: Select all

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/nvme0n1p5 during installation
UUID=8f436b39-9c12-4fad-93ac-8e9ce452a404 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p2 during installation
UUID=7A7B-8765  /boot/efi       vfat    umask=0077      0       1
# swap was on /dev/nvme0n1p6 during installation
#UUID=4869d745-1cd4-453a-bdda-1639d2fdbd6f none            swap    sw              0       0

# new swap space
UUID=45aa7c70-54ce-4e2b-bdd3-64b3dd821c53 none	           swap    sw              0       0

# Mount / tmp as ram disk
tmpfs	/tmp	tmpfs	rw,nodev,nosuid,size=4G          0  0

# Mount Simba shares
//ghiseghem/files	/home/arnold/d	cifs	rw,credentials=/etc/.credentials,iocharset=utf8,uid=1000,gid=1000,forceuid,forcegid,sec=ntlm	 0	0

//ghiseghem/files/home/arnold/development	/home/arnold/dev	cifs	rw,credentials=/etc/.credentials,iocharset=utf8,uid=1000,gid=1000,forceuid,forcegid,sec=ntlm	 0	0

//tinctoris/media	/media/tinctoris	cifs	rw,credentials=/etc/.credentials,iocharset=utf8,uid=1000,gid=1000,forceuid,forcegid,sec=ntlm	 0	0

User avatar
ClixTrix
Level 4
Level 4
Posts: 473
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: Myterious extra drive appears whenusiong nemo

Post by ClixTrix » Wed Jan 17, 2018 5:13 pm

Yes, I see where you moved the swap. Looks like it's working from inxi listing.

Is the section under Simba shares correct? Not saying it's wrong. Just the only thing that pops out as permanent mount constructs that's not standard to a typical install (obviously). Was that section hand coded or part of a package setup? Also, does that section of folders at all correlate with nemo display conflict?

You mentioned /media/Arnold as part of the conflict. Not seeing that. Are there additional mounts done outside of fstab after boot?
Linux Mint 18.3 x64 Cinnamon Kernel 4.14.20 Mainline (Ukuu)
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

nocom
Level 1
Level 1
Posts: 32
Joined: Mon Jan 02, 2017 2:30 am

Re: Myterious extra drive appears when using nemo

Post by nocom » Wed Jan 17, 2018 5:24 pm

Yes, the samba shares are correct. They are handcoded and when the servers are up they are mounted automatically.

The point is: i do not mount sda. When I had installed the harddisk and created the partition with gparted, it autiomatically was present in nemo as 'extra-data'. It appeared as such (also automatically) under /media/arnold, no efforts needed. Later I created the swap partition and worked with that happily for over a week. Only 3 days ago this problem with extra-data/extra-data1 occurred.
From your remarks I gather that it would be better to mount the disk explicitly in /etc/fstab? Just to see what happens? If so, could you point me to some site where this UUID thing is explained?

nocom
Level 1
Level 1
Posts: 32
Joined: Mon Jan 02, 2017 2:30 am

Re: Myterious extra drive appears when using nemo

Post by nocom » Thu Jan 18, 2018 6:05 am

I think I found the error. I examined the mount point more carefully and noticed that it was just a normal directory. My explanation is that in some way some days ago, the mount did not succeed, I copied files to the mount point which at that point became a normal directory and when nemo needed the mount point, noticed that it was a normal directory and so created a new mount point/directory: extra-data1.

I solved this by adding an entry in /etc/fstab and creating a mount poiunt specific for this drive.

Thanks for your support @ClixTrix, it gave me the drirections where to look for an answer

User avatar
ClixTrix
Level 4
Level 4
Posts: 473
Joined: Wed Dec 09, 2015 11:40 am
Location: Columbus, Ohio, USA

Re: [Solved] Myterious extra drive appears when using nemo

Post by ClixTrix » Thu Jan 18, 2018 9:28 am

OK, that makes sense. Sometimes it just takes bouncing questions and ideas to get to the cause of a problem.

I was going to suggest UUID for partition mounts in fstab, as UUID is unique to partition and not random or sequential like BIOS assigned number ordering. This article might help.

https://www.cyberciti.biz/faq/linux-fin ... ate-fstab/

Edit: Some additional tips on Zen (see my sig).

The 4.10 Kenel is minimum for Zen support. However, full Turbo support was added to Kernel 4.14. 4.14 also adds a patch for AMD microcode support. There is an idle freeze bug with Ryzen associated with C6 state. I'm temporarily using a parameter passed from Grub for fix. There is discussion at other boards of AMD working on a microcode patch.

For my Zen the override is RCU_NOCB=0-11 where 11 is number of threads minus 1.

I'm using the ukuu utility to get mainline kernels. Ubuntu is skipping over the 4.14 LTS kernel and will next support 4.15 for LTS in Ubuntu 18.04. However, 4.15 is still in RC at kernel.org, and it will be several months before it can be adopted for mainstream Mint use.
Linux Mint 18.3 x64 Cinnamon Kernel 4.14.20 Mainline (Ukuu)
Gigabyte GA-AB350M-D3H (F5a) / Ryzen 5 1600 / Micron Ballistix Sport DDR4 2400 2x8GB / XFX HD5450-1GB
NVMe-SSD Samsung EVO 960 250GB / HDD WD1600BEKT 160GB / SSD Toshiba OCZ VX500 512GB

nocom
Level 1
Level 1
Posts: 32
Joined: Mon Jan 02, 2017 2:30 am

Re: [Solved] Myterious extra drive appears when using nemo

Post by nocom » Thu Jan 18, 2018 3:51 pm

Thanks ClixTrix for sharing this article. That was useful and I needed a comprehensive explanation like in this article. Zen seems to be way over my head :-), maybe for later.

Post Reply

Return to “Hardware Support”