MLD-5.x > General
[MLD 5.4 stable] Laufwerksbezeichnungen stimmen nach Reboot nicht mehr
outis:
Hallo,
ich möchte eine USB-Platte als Speichermedium nutzen und als solches mit dem Webif konfigurieren. Also mergerfs installiert und Platte als Speichermedium angemeldet. Der Situation entsprechend als sda1. Hängt ja auch nur die eine Platte am rpi. Nach reboot sagt aber fdisk -l, es gebe nur /dev/sdb. Womit natürlich die USB-Platte nicht mehr als Speichermedium verfügbar ist. Also im Webif sdb1 als Speichermedium konfiguriert. Nach reboot ist die Platte wieder korrekt mit fdisk als /dev/sda zu identifizieren. Wenn nötig, kann ich's mit den Terminalbefehlen belegen. Und mit aufs ist's dasselbe Spiel.
Also: Die Festplattenbezeichnung überlebt hier bei mir den reboot nicht. Vorschlag: Auch wenn ich normalerweise kein Freund von blkid bin - hier könnte es helfen, wenn das Webif damit umginge.
Ich hatte übrigens vorher eine andere USB-Platte im Einsatz. Mit der trat das Problem nicht auf. Dafür andere. ;) Jedenfalls kann das Problem möglicherweise nicht von jedem nachgestellt werden.
Ich schnapp mir mal blkid und hoffe, dass entsprechende Einträge in der /etc/fstab dem vdr schmecken.
outis:
Das klappt nicht:
--- Code: ---blkid /dev/sda1
/dev/sda1: UUID="647c07e2-0500-49b7-8b1d-f297422a21b9" TYPE="ext4" PARTUUID="cce9cd82-01"
--- End code ---
--- Code: ---UUID=647c07e2-0500-49b7-8b1d-f297422a21b9 /mnt/sda1 ext4 defaults 0 0
UUID=647c07e2-0500-49b7-8b1d-f297422a21b9 /data mergerfs defaults,category.create=mfs,direct_io,use_ino 0 0
--- End code ---
--- Code: ---MLD-ClientSP> mount
/dev/mmcblk0p2 on / type btrfs (rw,relatime,ssd,noacl,space_cache,subvolid=259,subvol=/@root)
proc on /proc type proc (rw,relatime)
sys on /sys type sysfs (rw,relatime)
tmp on /tmp type tmpfs (rw,relatime)
run on /run type tmpfs (rw,relatime)
dev on /dev type devtmpfs (rw,relatime,size=374004k,nr_inodes=93501,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
/dev/mmcblk0p3 on /mnt/mmcblk0p3 type xfs (rw,relatime,attr2,inode64,noquota)
/dev/mmcblk0p3 on /var/cache type xfs (rw,relatime,attr2,inode64,noquota)
/dev/mmcblk0p1 on /boot type vfat (rw,relatime,fmask=0002,dmask=0002,allow_utime=0020,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
--- End code ---
USB-Platte ist nicht da. Komisches Ding das...
outis:
Also händisch:
--- Code: ---MLD-ClientSP> mount /mnt/sda1
MLD-ClientSP> mount /data
(...)
mount: mounting /dev/sda1 on /data failed: No such device
--- End code ---
Denn:
--- Code: ---MLD-ClientSP> fdisk -l /dev/sda
fdisk: can't open '/dev/sda': No such file or directory
MLD-ClientSP> fdisk -l
(...)
Disk /dev/sdb: 2000.3 GB, 2000398931968 bytes
81 heads, 59 sectors/track, 817541 cylinders
Units = cylinders of 4779 * 512 = 2446848 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 817542 1953513558 83 Linux
--- End code ---
Ich bestell mir wohl eine SSD. Und hoffe, dass die weniger zickig ist. ;)
Aber erstmal abwarten, ob es hier noch Tipps gibt.
outis:
Dem Teil ist es wohl nicht bekommen, mit ext4 partitioniert worden zu sein:
Ist doch verrückt:
--- Code: ---MLD-ClientSP> fdisk -l
(...)
Disk /dev/sdb: 2000.3 GB, 2000398931968 bytes
81 heads, 59 sectors/track, 817541 cylinders
Units = cylinders of 4779 * 512 = 2446848 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 817542 1953513558 83 Linux
--- End code ---
--- Code: ---MLD-ClientSP> mount
(...)
/dev/sda1 on /data type ext4 (ro,relatime)
--- End code ---
--- Code: ---MLD-ClientSP> df -h
Filesystem Size Used Available Use% Mounted on
/dev/sda1 1.8T 76.0M 1.7T 0% /data
--- End code ---
Das kann nicht sein! Kopfkratz...
outis:
So nach einigem Hin und Her und Umstellung auf btrfs scheint Ruhe an der Front eingekehrt zu sein. Keine Ahnung, was der Platte heute morgen im Magen lag.
Navigation
[0] Message Index
[#] Next page
Go to full version