[Eisfair] Too many levels of symbolic links

Jürgen Witt j-witt at web.de
Mo Dez 16 08:08:56 CET 2019


Hallo NG,

ich habe seit 2 Tagen Probleme beim Mounten
meiner Datenpartition /dev/md4 nach /data

eis # df -h
Filesystem                    Size  Used Avail Use% Mounted on
/dev/md3                       23G  2.6G   20G  12% /
tmpfs                         2.0G  532K  2.0G   1% /run
devtmpfs                      2.0G  8.0K  2.0G   1% /dev
/dev/md1                       43M   14M   26M  36% /boot
/dev/sdc1                     1.8T  1.4T  347G  81% /mountpoint
tmpfs                         2.0G     0  2.0G   0% /run/shm
tmpfs                         2.0M  332K  1.7M  17% /brute_force_blocking
10.20.3.100:/mountpoint/data  1.8T  1.4T  347G  81% /backup
/dev/md4                      1.8T   68M  1.7T   1% /data

Ausgabe von ls -la

eis # ls -la /data
total 24
drwxrwxrwx  3 root root  4096 Dec 16 01:03 .
drwxr-xr-x 25 root root  4096 Dec 16 07:20 ..
lrwxrwxrwx  1 root root    10 Dec 14 10:33 home -> /data/home
drwx------  2 root root 16384 Aug 10  2017 lost+found
lrwxrwxrwx  1 root root    12 Dec 14 10:15 public -> /data/public

so sieht meine fstab aus:

UUID=55d74aaa-9d40-4d48-b7ab-e3e46c98d46b / ext4 
defaults,errors=remount-ro 0 1
UUID=d2a3bbc1-b224-49e8-acf7-b63434ca764d /boot ext4 
defaults,errors=remount-ro 0 1
UUID=8d464f23-9c58-4189-8dfe-adc39bf07c4b none swap sw 0 0
UUID=469b83ef-afea-4174-a8ad-a4f1494c4bbb /data ext4 defaults 0 2
UUID=77d2f9a2-8847-4b38-a8ab-8d1e70ec3ea6 /mountpoint ext4 defaults 0 0
10.20.3.100:/mountpoint/data /backup nfs defaults,noauto 0 0
/dev/sdd1 /media/usb/sdd1 ext4 defaults,noauto 0 0
proc        /proc          proc      defaults                 0 0
/dev/fd0    /media/floppy  auto      defaults,user,noauto     0 0
/dev/cdrom  /media/cdrom   iso9660   defaults,ro,user,noauto  0 0
devpts      /dev/pts       devpts    defaults,gid=5,mode=620  0 0
/sys        /sys           sysfs     defaults                 0 0
tmpfs       /dev/shm       tmpfs     rw,nosuid,nodev          0 0
tmpfs       /run           tmpfs     defaults                 0 0
devtmpfs    /dev           devtmpfs  mode=0755,nosuid         0 0

Ausgabe von blkid:

eis # blkid
/dev/sdb1: UUID="f4a7724a-3b2b-2449-3d18-6b3c53958f34" 
TYPE="linux_raid_member" PARTLABEL="boot" 
PARTUUID="ffea2dc9-7363-4030-af5d-01d784e2b5fa"
/dev/sdb2: UUID="49bcf885-b618-d89f-ce8d-abf7d613c6c7" 
UUID_SUB="4adf046e-6ac3-7a0a-1f15-503584bb40cb" LABEL="(none):2" 
TYPE="linux_raid_member" PARTLABEL="swap" 
PARTUUID="553dc066-3f47-4f7e-9695-1e6e945
/dev/sdb3: UUID="f8677f67-8b53-2bc5-ce98-85b292ce1e6d" 
UUID_SUB="3856669d-e038-3be5-e4cd-72d0ba3c59ac" LABEL="(none):3" 
TYPE="linux_raid_member" PARTLABEL="root" 
PARTUUID="02e61cb1-ff7c-4014-ad2a-c05d403
/dev/sdb4: UUID="e207f47e-6055-a752-63b5-58f600582ca9" 
UUID_SUB="38726619-0f04-6a7d-a948-2443ca35ccea" LABEL="(none):4" 
TYPE="linux_raid_member" PARTLABEL="data" 
PARTUUID="b870a197-1e96-4975-b11d-d5ed259
/dev/sdc1: UUID="77d2f9a2-8847-4b38-a8ab-8d1e70ec3ea6" TYPE="ext4" 
PARTUUID="2e64fcf5-01"
/dev/sda1: UUID="f4a7724a-3b2b-2449-3d18-6b3c53958f34" 
TYPE="linux_raid_member" PARTLABEL="boot" 
PARTUUID="6a43e554-c4a1-42ab-9dda-fa5ca595935d"
/dev/sda2: UUID="49bcf885-b618-d89f-ce8d-abf7d613c6c7" 
UUID_SUB="f29ffb00-7035-b055-396c-28a257bd1d28" LABEL="(none):2" 
TYPE="linux_raid_member" PARTLABEL="swap" 
PARTUUID="d29372c5-6738-434d-aed5-20671ab
/dev/sda3: UUID="f8677f67-8b53-2bc5-ce98-85b292ce1e6d" 
UUID_SUB="4f68190a-75f0-243c-663c-9c39dc07c400" LABEL="(none):3" 
TYPE="linux_raid_member" PARTLABEL="root" 
PARTUUID="7f2001ee-c19d-4e8f-b0e5-c729f25
/dev/sda4: UUID="e207f47e-6055-a752-63b5-58f600582ca9" 
UUID_SUB="310b15d2-6841-9592-8efe-3909c173e866" LABEL="(none):4" 
TYPE="linux_raid_member" PARTLABEL="data" 
PARTUUID="7d6ef8cf-7459-439d-b6f4-ccd78eb
/dev/md1: UUID="d2a3bbc1-b224-49e8-acf7-b63434ca764d" TYPE="ext4" 
PTTYPE="dos"
/dev/md2: UUID="8d464f23-9c58-4189-8dfe-adc39bf07c4b" TYPE="swap"
/dev/md3: UUID="55d74aaa-9d40-4d48-b7ab-e3e46c98d46b" TYPE="ext4"
/dev/md4: UUID="469b83ef-afea-4174-a8ad-a4f1494c4bbb" TYPE="ext4"
/dev/sdd1: UUID="3f02aaf9-16e4-428d-9ced-5081a0f9ebbc" TYPE="ext4" 
PARTLABEL="Elements" PARTUUID="0a98efd9-55ad-40ac-bc03-81f3780ad9db"

Samba meldet bei Speichern der Konfiguration:

mkdir: cannot stat ‘/data/public’: Too many levels of symbolic links
Cannot create directory /data/public for share public on eis,
check SAMBA_SHARE_3_PATH!

So sieht es nach einen Reboot aus:

Welcome to eisfair!
base     : 2.8.23
eiskernel: 3.16.74-eisfair-1-PAE

eis # mount
/dev/md3 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /run type tmpfs (rw,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
/sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs 
(rw,nosuid,relatime,size=2073612k,nr_inodes=216076,mode=755)
/dev/md1 on /boot type ext4 
(rw,relatime,errors=remount-ro,stripe=4,data=ordered)
/dev/md4 on /data type ext4 (rw,relatime,data=ordered)
/dev/sdc1 on /mountpoint type ext4 (rw,relatime,data=ordered)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
tmpfs on /brute_force_blocking type tmpfs (rw,relatime,size=2048k)
10.20.3.100:/mountpoint/data on /backup type nfs4 
(rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.20.3.100,local_lock=none,addr=10.20..100)

eis # df -h
Filesystem                    Size  Used Avail Use% Mounted on
/dev/md3                       23G  2.6G   20G  12% /
tmpfs                         2.0G  488K  2.0G   1% /run
devtmpfs                      2.0G     0  2.0G   0% /dev
/dev/md1                       43M   14M   26M  36% /boot
/dev/md4                      1.8T   68M  1.7T   1% /data
/dev/sdc1                     1.8T  1.4T  347G  81% /mountpoint
tmpfs                         2.0G     0  2.0G   0% /run/shm
tmpfs                         2.0M  332K  1.7M  17% /brute_force_blocking
10.20.3.100:/mountpoint/data  1.8T  1.4T  347G  81% /backup
eis # umount /dev/md4
eis # df -h
Filesystem                    Size  Used Avail Use% Mounted on
/dev/md3                       23G  2.6G   20G  12% /
tmpfs                         2.0G  488K  2.0G   1% /run
devtmpfs                      2.0G     0  2.0G   0% /dev
/dev/md1                       43M   14M   26M  36% /boot
/dev/sdc1                     1.8T  1.4T  347G  81% /mountpoint
tmpfs                         2.0G     0  2.0G   0% /run/shm
tmpfs                         2.0M  332K  1.7M  17% /brute_force_blocking
10.20.3.100:/mountpoint/data  1.8T  1.4T  347G  81% /backup
eis # ls -la /data
total 8
drwxr-xr-x  2 root root 4096 Aug 10  2017 .
drwxr-xr-x 25 root root 4096 Dec 16 08:00 ..

eis # mount /dev/md4

eis # cd /data
eis # ls -la
total 24
drwxrwxrwx  3 root root  4096 Dec 16 01:03 .
drwxr-xr-x 25 root root  4096 Dec 16 08:00 ..
lrwxrwxrwx  1 root root    10 Dec 14 10:33 home -> /data/home
drwx------  2 root root 16384 Aug 10  2017 lost+found
lrwxrwxrwx  1 root root    12 Dec 14 10:15 public -> /data/public
eis # df -h
Filesystem                    Size  Used Avail Use% Mounted on
/dev/md3                       23G  2.6G   20G  12% /
tmpfs                         2.0G  488K  2.0G   1% /run
devtmpfs                      2.0G     0  2.0G   0% /dev
/dev/md1                       43M   14M   26M  36% /boot
/dev/sdc1                     1.8T  1.4T  347G  81% /mountpoint
tmpfs                         2.0G     0  2.0G   0% /run/shm
tmpfs                         2.0M  332K  1.7M  17% /brute_force_blocking
10.20.3.100:/mountpoint/data  1.8T  1.4T  347G  81% /backup
/dev/md4                      1.8T   68M  1.7T   1% /data

Weshalb funktioniert der Mount nicht mehr bzw. wieso kommt diese 
Fehlermeldung?

Gruß
Jürgen




Mehr Informationen über die Mailingliste Eisfair