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


Groups > linux.debian.user > #231015

Re: Too many levels of symbolic links

From steve <dlist@bluewin.ch>
Newsgroups linux.debian.user
Subject Re: Too many levels of symbolic links
Date 2021-01-23 09:40 +0100
Message-ID <BAmCC-3Il-13@gated-at.bofh.it> (permalink)
References (5 earlier) <BzsTQ-47G-53@gated-at.bofh.it> <BzCJr-1L2-1@gated-at.bofh.it> <BzCT7-1Oy-7@gated-at.bofh.it> <BzYJY-6xv-5@gated-at.bofh.it> <BA4cF-14T-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 22-01-2021, à 14:59:27 +0200, Andrei POPESCU a écrit :

>On Vi, 22 ian 21, 08:08:57, steve wrote:
>> Le 21-01-2021, à 09:45:18 +0200, Andrei POPESCU a écrit :
>>
>> > On Jo, 21 ian 21, 08:34:34, steve wrote:
>> > > I have rebooted with udev_log=debug in /etc/udev/udev.conf. I see
>> > >
>> > > Jan 21 08:15:28 box systemd-udevd[607]: sdc6: Failed to update device symlinks: Too many levels of symbolic links
>> > > Jan 21 08:15:28 box systemd-udevd[607]: sdc6: Preserve already existing symlink '/dev/disk/by-path/pci-0000:00:17.0-ata-2.0-part6' to '../../sdc6'
>> > > Jan 21 08:15:28 box systemd-udevd[607]: sdc6: Preserve already existing symlink '/dev/disk/by-partuuid/7acd2c90-b372-4bfb-a517-e14d2a17e342' to '../../sdc6'
>> > > Jan 21 08:15:28 box systemd-udevd[607]: sdc6: Preserve already existing symlink '/dev/disk/by-path/pci-0000:00:17.0-ata-2-part6' to '../../sdc6'
>> > >
>> > > And the same for other partitions which are all part of a Raid1 array.
>> > > Other partitions are not impacted. So I guess this is related.
>> >
>> > Could you inspect the /dev directory from a live image or similar (i.e.
>> > with the affected system not running)?
>>
>> Yes I can do that. What should I look for?
>
>I'm guessing it should be empty ;)

…

>At least in buster /dev is a 'devtmpfs' mounted over /dev (is this the
>same for you?).

I have 

mount | grep devtmp
udev on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=16243620k,nr_inodes=4060905,mode=755)


>> > Do you have any custom udev rules or any other custom scripts, services,
>> > etc. plugged into the early startup?
>>
>> Don't know:
>>
>> tree /etc/udev
>> /etc/udev
>> ├── hwdb.d
>> ├── rules.d
>> │   ├── 51-android.rules
>> │   ├── 55-Argyll.rules
>> │   ├── 69-libmtp.rules
>> │   ├── 70-persistent-cd.rules
>> │   └── 70-persistent-net.rules.old
>> └── udev.conf
>
>Maybe the output of 'udevadm test /sys/block/sdc/sdc6' can provide some
>interesting information

Sure, a lot of output. Here is what seems worrying (error or failed
word):

sdc6: /lib/udev/rules.d/64-md-raid-assembly.rules:33 Importing properties from results of '/sbin/mdadm --incremental --export /dev/sdc6 --offroot /dev/disk/by-id/ata-Samsung_SSD_860_EVO_250GB_S3YJNX1K619373P-part6 /dev/disk/by-id/wwn-0x5002538e4051327c-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2.0-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2-part6 /dev/disk/by-partlabel/Linux\x20RAID /dev/disk/by-partuuid/7acd2c90-b372-4bfb-a517-e14d2a17e342'
sdc6: Starting '/sbin/mdadm --incremental --export /dev/sdc6 --offroot /dev/disk/by-id/ata-Samsung_SSD_860_EVO_250GB_S3YJNX1K619373P-part6 /dev/disk/by-id/wwn-0x5002538e4051327c-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2.0-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2-part6 /dev/disk/by-partlabel/Linux\x20RAID /dev/disk/by-partuuid/7acd2c90-b372-4bfb-a517-e14d2a17e342'
Successfully forked off '(spawn)' as PID 16720.

sdc6: '/sbin/mdadm --incremental --export /dev/sdc6 --offroot /dev/disk/by-id/ata-Samsung_SSD_860_EVO_250GB_S3YJNX1K619373P-part6 /dev/disk/by-id/wwn-0x5002538e4051327c-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2.0-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2-part6 /dev/disk/by-partlabel/Linux\x20RAID /dev/disk/by-partuuid/7acd2c90-b372-4bfb-a517-e14d2a17e342'(err) 'mdadm: cannot reopen /dev/sdc6: Device or resource busy.'

sdc6: Process '/sbin/mdadm --incremental --export /dev/sdc6 --offroot /dev/disk/by-id/ata-Samsung_SSD_860_EVO_250GB_S3YJNX1K619373P-part6 /dev/disk/by-id/wwn-0x5002538e4051327c-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2.0-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2-part6 /dev/disk/by-partlabel/Linux\x20RAID /dev/disk/by-partuuid/7acd2c90-b372-4bfb-a517-e14d2a17e342' failed with exit code 1.

sdc6: /lib/udev/rules.d/64-md-raid-assembly.rules:33 Command "/sbin/mdadm --incremental --export /dev/sdc6 --offroot /dev/disk/by-id/ata-Samsung_SSD_860_EVO_250GB_S3YJNX1K619373P-part6 /dev/disk/by-id/wwn-0x5002538e4051327c-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2.0-part6 /dev/disk/by-path/pci-0000:00:17.0-ata-2-part6 /dev/disk/by-partlabel/Linux\x20RAID /dev/disk/by-partuuid/7acd2c90-b372-4bfb-a517-e14d2a17e342" returned 1 (error), ignoring




> as well as 'ls -l /dev/disk/by-*', otherwise I'm out of ideas.

There's a lot there and nothing looking bad at first sight.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-19 10:10 +0100
  Re: Too many levels of symbolic links Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-19 13:50 +0100
    Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-19 14:50 +0100
      Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-19 15:50 +0100
        Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-19 16:00 +0100
          Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-19 16:10 +0100
            Re: Too many levels of symbolic links Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-19 17:20 +0100
              Re: Too many levels of symbolic links David Wright <deblis@lionunicorn.co.uk> - 2021-01-19 18:10 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 08:50 +0100
                [SOLVED] Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 08:50 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 09:50 +0100
                Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-20 10:20 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 10:50 +0100
                Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-20 11:00 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 11:20 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 11:30 +0100
                Bluewin bouncing my mails [was: Too many levels of symbolic links] tomas@tuxteam.de - 2021-01-20 11:30 +0100
                Re: Bluewin bouncing my mails tomas@tuxteam.de - 2021-01-20 12:50 +0100
                Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-20 11:30 +0100
                Re: Too many levels of symbolic links Erwan David <erwan@rail.eu.org> - 2021-01-20 11:40 +0100
                Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-20 11:40 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 12:10 +0100
                Re: Too many levels of symbolic links Stefan Monnier <monnier@iro.umontreal.ca> - 2021-01-20 16:20 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-20 16:40 +0100
                Re: Too many levels of symbolic links Stefan Monnier <monnier@iro.umontreal.ca> - 2021-01-20 22:10 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-21 08:10 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-21 08:40 +0100
                Re: Too many levels of symbolic links Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-21 08:50 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-22 08:10 +0100
                Re: Too many levels of symbolic links Vincent Lefevre <vincent@vinc17.net> - 2021-01-22 13:50 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-23 09:40 +0100
                Re: Too many levels of symbolic links Vincent Lefevre <vincent@vinc17.net> - 2021-01-23 16:20 +0100
                Re: Too many levels of symbolic links Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-22 14:00 +0100
                remove me from this list J B Martin <bryant@ab-domain.com> - 2021-01-22 14:10 +0100
                Re: remove me from this list Charles Curley <charlescurley@charlescurley.com> - 2021-01-22 18:50 +0100
                Re: remove me from this list "Andrew M.A. Cater" <amacater@einval.com> - 2021-01-23 11:00 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-23 09:40 +0100
                Re: Too many levels of symbolic links David Wright <deblis@lionunicorn.co.uk> - 2021-01-22 03:50 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-22 08:10 +0100
                Re: Too many levels of symbolic links David Wright <deblis@lionunicorn.co.uk> - 2021-01-22 20:30 +0100
                Re: Too many levels of symbolic links Dan Ritter <dsr@randomstring.org> - 2021-01-22 21:10 +0100
                Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-23 15:40 +0100
            Re: Too many levels of symbolic links <tomas@tuxteam.de> - 2021-01-19 17:20 +0100
              Re: Too many levels of symbolic links steve <dlist@bluewin.ch> - 2021-01-19 18:00 +0100

csiph-web