Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #186466 > unrolled thread

Strange results with an additional HD -- any idea why?

Started by"James H. H. Lampert" <jamesl@touchtonecorp.com>
First post2017-09-05 17:40 +0200
Last post2017-09-05 21:00 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Strange results with an additional HD -- any idea why? "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-09-05 17:40 +0200
    Re: Strange results with an additional HD -- any idea why? Dan Ritter <dsr@randomstring.org> - 2017-09-05 18:20 +0200
      Re: Strange results with an additional HD -- any idea why? "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2017-09-06 19:10 +0200
    Re: Strange results with an additional HD -- any idea why? deloptes <deloptes@gmail.com> - 2017-09-05 21:00 +0200

#186466 — Strange results with an additional HD -- any idea why?

From"James H. H. Lampert" <jamesl@touchtonecorp.com>
Date2017-09-05 17:40 +0200
SubjectStrange results with an additional HD -- any idea why?
Message-ID<umo7f-4v5-5@gated-at.bofh.it>
The box I've been reconfiguring over the past few weeks has a hardware 
RAID controller card, with one mirrored (RAID 1) pair on it at the time 
of installation. Over the weekend, I plugged two more drives into the 
two empty sockets, to create a second mirrored pair, which shows up in 
Linux as "sdb."

Initially, it auto-mounted much the same way the external drive 
auto-mounted. I added this line to fstab, and now it mounts at the 
mountpoint of my own choosing:

> /dev/sdb /media/Auxiliary ext4 errors=remount-ro 0 2

Everything seems to work fine, except for two things:

1. Gnome produces a desktop icon for it. Before I added the fstab entry, 
that icon was a picture of a modern hard drive; now, with the fstab 
entry, it is, of all things, a generic *document* icon. (By contrast, my 
USB external drive shows up with the "Merlin disk pack" icon I gave it 
years ago, and I didn't have to do anything new for Linux that I hadn't 
done for WinDoze; I've got both .ico and .png files of that icon on the 
new mirrored pair.)

2. It can be unmounted. I'd rather it not be unmountable.

What can I do about these things?
--
JHHL

[toc] | [next] | [standalone]


#186468

FromDan Ritter <dsr@randomstring.org>
Date2017-09-05 18:20 +0200
Message-ID<umoJX-51S-11@gated-at.bofh.it>
In reply to#186466
On Tue, Sep 05, 2017 at 08:35:27AM -0700, James H. H. Lampert wrote:
> The box I've been reconfiguring over the past few weeks has a hardware RAID
> controller card, with one mirrored (RAID 1) pair on it at the time of
> installation. Over the weekend, I plugged two more drives into the two empty
> sockets, to create a second mirrored pair, which shows up in Linux as "sdb."
> 
> Initially, it auto-mounted much the same way the external drive
> auto-mounted. I added this line to fstab, and now it mounts at the
> mountpoint of my own choosing:
> 
> > /dev/sdb /media/Auxiliary ext4 errors=remount-ro 0 2
> 
> Everything seems to work fine, except for two things:
> 
> 1. Gnome produces a desktop icon for it. Before I added the fstab entry,
> that icon was a picture of a modern hard drive; now, with the fstab entry,
> it is, of all things, a generic *document* icon. (By contrast, my USB
> external drive shows up with the "Merlin disk pack" icon I gave it years
> ago, and I didn't have to do anything new for Linux that I hadn't done for
> WinDoze; I've got both .ico and .png files of that icon on the new mirrored
> pair.)
> 
> 2. It can be unmounted. I'd rather it not be unmountable.

I suspect both of those are the result of mounting it in /media.

Try this:

mkdir /aux
umount /dev/sdb

edit fstab to:

/dev/sdb /aux ext4 errors=remount-ro 0 2

mount /dev/sdb

and see if the same behavior repeats.

-dsr-

[toc] | [prev] | [next] | [standalone]


#186524

From"James H. H. Lampert" <jamesl@touchtonecorp.com>
Date2017-09-06 19:10 +0200
Message-ID<umLZU-4KN-31@gated-at.bofh.it>
In reply to#186468
Oops: Forgot to hit "Reply List" on a reply I'd intended to be public. 
My bad.

Dan Ritter and "deloptes" both advised me to put the "Auxiliary" drive's 
mount point someplace other than /media.

When I finally had a chance to do so late yesterday afternoon, that 
solved the problem.

I never would have imagined that the location of the mount point would 
be the reason.

Thanks to both of you.

--
JHHL

[toc] | [prev] | [next] | [standalone]


#186473

Fromdeloptes <deloptes@gmail.com>
Date2017-09-05 21:00 +0200
Message-ID<umreN-6C4-15@gated-at.bofh.it>
In reply to#186466
James H. H. Lampert wrote:

> What can I do about these things?

use a different mount point

/media is used for auto mounting

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web