Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #264491 > unrolled thread
| Started by | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| First post | 2023-12-09 21:00 +0100 |
| Last post | 2023-12-12 12:40 +0100 |
| Articles | 9 — 5 participants |
Back to article view | Back to linux.debian.user
File systems mounted under `/media/root/<UUID>` ? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-12-09 21:00 +0100
Re: File systems mounted under `/media/root/<UUID>` ? Nicholas Geovanis <nickgeovanis@gmail.com> - 2023-12-10 15:10 +0100
Re: File systems mounted under `/media/root/<UUID>` ? Max Nikulin <manikulin@gmail.com> - 2023-12-10 16:00 +0100
Re: File systems mounted under `/media/root/<UUID>` ? Stanislav Vlasov <stanislav.v.v@gmail.com> - 2023-12-10 17:20 +0100
Re: File systems mounted under `/media/root/<UUID>` ? <tomas@tuxteam.de> - 2023-12-10 17:50 +0100
Re: File systems mounted under `/media/root/<UUID>` ? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-12-10 18:20 +0100
Re: File systems mounted under `/media/root/<UUID>` ? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-12-10 17:50 +0100
Re: File systems mounted under `/media/root/<UUID>` ? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-12-10 17:40 +0100
Re: File systems mounted under `/media/root/<UUID>` ? Max Nikulin <manikulin@gmail.com> - 2023-12-12 12:40 +0100
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2023-12-09 21:00 +0100 |
| Subject | File systems mounted under `/media/root/<UUID>` ? |
| Message-ID | <HJbEt-crS3-3@gated-at.bofh.it> |
Recently I noticed some unused ext4 filesystems (i.e. filesystems that
aren't in /etc/fstab, that I normally don't mount, typically because
they're snapshots or backups) "magically" mounted as
`/media/root/<UUID>`.
This is on a headless ARM board running Debian stable.
Not sure when this happen, but I noticed t least once happening in
response to `vgchange -ay`.
Any idea who/what does that, and how/where I can control it?
Stefan
[toc] | [next] | [standalone]
| From | Nicholas Geovanis <nickgeovanis@gmail.com> |
|---|---|
| Date | 2023-12-10 15:10 +0100 |
| Message-ID | <HJsFk-cD1x-21@gated-at.bofh.it> |
| In reply to | #264491 |
[Multipart message — attachments visible in raw view] — view raw
On Sat, Dec 9, 2023, 1:50 PM Stefan Monnier <monnier@iro.umontreal.ca> wrote: > Recently I noticed some unused ext4 filesystems (i.e. filesystems that > aren't in /etc/fstab, that I normally don't mount, typically because > they're snapshots or backups) "magically" mounted as > `/media/root/<UUID>`. > > This is on a headless ARM board running Debian stable. > > Not sure when this happen, but I noticed t least once happening in > response to `vgchange -ay`. > Were there any reboots in between? Any idea who/what does that, and how/where I can control it? > > Stefan >
[toc] | [prev] | [next] | [standalone]
| From | Max Nikulin <manikulin@gmail.com> |
|---|---|
| Date | 2023-12-10 16:00 +0100 |
| Message-ID | <HJtrH-cDht-7@gated-at.bofh.it> |
| In reply to | #264491 |
On 10/12/2023 02:49, Stefan Monnier wrote:
> "magically" mounted as
> `/media/root/<UUID>`.
[...]
> Any idea who/what does that, and how/where I can control it?
This path is used by udisks, however I am unsure what may cause
automounting for root.
I would check
udisksctl dump
udevadm info --query=all --name=sda
for various hints related to udisks. Perhaps a better variant of udevadm
options exists.
[toc] | [prev] | [next] | [standalone]
| From | Stanislav Vlasov <stanislav.v.v@gmail.com> |
|---|---|
| Date | 2023-12-10 17:20 +0100 |
| Message-ID | <HJuH7-cEbF-9@gated-at.bofh.it> |
| In reply to | #264509 |
2023-12-10 19:49 GMT+05:00, Max Nikulin <manikulin@gmail.com>: > On 10/12/2023 02:49, Stefan Monnier wrote: >> "magically" mounted as >> `/media/root/<UUID>`. > [...] >> Any idea who/what does that, and how/where I can control it? > > This path is used by udisks, however I am unsure what may cause > automounting for root. > In /media/ disks mounts by GUI. Stefan use root in gui login. -- Stanislav
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2023-12-10 17:50 +0100 |
| Message-ID | <HJva9-cElh-1@gated-at.bofh.it> |
| In reply to | #264520 |
[Multipart message — attachments visible in raw view] — view raw
On Sun, Dec 10, 2023 at 11:42:42AM -0500, Stefan Monnier wrote: > Stanislav Vlasov [2023-12-10 21:16:54] wrote: > > In /media/ disks mounts by GUI. Stefan use root in gui login. > > Except: > - I never do a "GUI login" as root. > - "This is on a headless ARM board running Debian stable". > I access it via SSH (and occasionally serial port). You ssh in as root (or serial port)? Perhaps it's a "user session" thingy playing games on you? Cheers -- t
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2023-12-10 18:20 +0100 |
| Message-ID | <HJvDb-cEKc-1@gated-at.bofh.it> |
| In reply to | #264525 |
tomas@tuxteam.de [2023-12-10 17:47:41] wrote:
> You ssh in as root (or serial port)?
I do over the serial port, but over SSH, I always login as myself first
and then `su -` to root.
> Perhaps it's a "user session" thingy playing games on you?
Could be,
Stefan
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2023-12-10 17:50 +0100 |
| Message-ID | <HJva9-cElh-3@gated-at.bofh.it> |
| In reply to | #264520 |
Stanislav Vlasov [2023-12-10 21:16:54] wrote:
> In /media/ disks mounts by GUI. Stefan use root in gui login.
Except:
- I never do a "GUI login" as root.
- "This is on a headless ARM board running Debian stable".
I access it via SSH (and occasionally serial port).
Stefan
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2023-12-10 17:40 +0100 |
| Message-ID | <HJv0t-cEhU-3@gated-at.bofh.it> |
| In reply to | #264509 |
Max Nikulin [2023-12-10 21:49:46] wrote:
> On 10/12/2023 02:49, Stefan Monnier wrote:
>> "magically" mounted as
>> `/media/root/<UUID>`.
> [...]
>> Any idea who/what does that, and how/where I can control it?
>
> This path is used by udisks, however I am unsure what may cause
> automounting for root.
>
> I would check
>
> udisksctl dump
> udevadm info --query=all --name=sda
>
> for various hints related to udisks. Perhaps a better variant of udevadm
> options exists.
Thanks. Now I have some thread on which to pull :-)
Nicholas Geovanis [2023-12-10 08:04:08] wrote:
> Were there any reboots in between?
Yes, I've seen the problem appear a few times over the last few days
where I've been rebooting a few times (while replacing/moving some
drives, and making various adjustments along the way).
Stefan
[toc] | [prev] | [next] | [standalone]
| From | Max Nikulin <manikulin@gmail.com> |
|---|---|
| Date | 2023-12-12 12:40 +0100 |
| Message-ID | <HK9hg-d3dV-23@gated-at.bofh.it> |
| In reply to | #264524 |
On 10/12/2023 23:38, Stefan Monnier wrote: > Max Nikulin [2023-12-10 21:49:46] wrote: >> udisksctl dump >> udevadm info --query=all --name=sda >> >> for various hints related to udisks. Perhaps a better variant of udevadm >> options exists. > Thanks. Now I have some thread on which to pull 🙂 I have realized that I am unsure if drives are automounted by udisksd or it needs cooperation from a user application that request mount in response to an event for an object having specific hints. Another idea inspect definition and origin units reported by systemctl list-units --type automount systemctl list-units --type mount
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web