Bug 20236 - UMC Quota-Modul erkennt eingehängte Partitionen nicht zuverlässig
UMC Quota-Modul erkennt eingehängte Partitionen nicht zuverlässig
Status: RESOLVED DUPLICATE of bug 22903
Product: UCS
Classification: Unclassified
Component: UMC - Quota
UCS 2.4
Other Linux
: P5 enhancement (vote)
: UCS 3.x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-04 14:37 CEST by Janis Meybohm
Modified: 2013-05-07 16:54 CEST (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
Screenshot (8.61 KB, image/jpeg)
2010-10-04 14:37 CEST, Janis Meybohm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2010-10-04 14:37:29 CEST
Created attachment 2731 [details]
Screenshot

2010092710016344

Siehe Screenshot, u.a. wird "/" als nicht gemountet angezeigt.

# cat fstab
/dev/vg_ucs/rootfs      /       ext3    acl,errors=remount-ro  0       1
proc            /proc           proc    defaults        0       0
/dev/md1  none  swap    sw 0    0
/dev/md0  /boot         ext3    defaults,acl    0       0
/dev/sr0  /cdrom     auto    user,noauto,exec            0       0
/dev/fd0  /floppy     vfat    user,noauto,exec            0       0
/dev/vg34/userhome      /data/raid34/userhome   ext3 acl,user_xattr     0 0
/dev/vg56/samba1        /data/raid56/samba1     ext3 acl,user_xattr     0 0

# mount
/dev/mapper/vg_ucs-rootfs on / type ext3 (rw,acl,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/md0 on /boot type ext3 (rw,acl)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
/dev/mapper/vg34-userhome on /data/raid34/userhome type ext3
(rw,acl,user_xattr)
/dev/mapper/vg56-samba1 on /data/raid56/samba1 type ext3 (rw,acl,user_xattr)
Comment 1 Janis Meybohm univentionstaff 2010-10-05 11:30:00 CEST
Der Vollständigkeit halber noch einmal die mtab des Systems

# cat /etc/mtab
/dev/mapper/vg_ucs-rootfs / ext3 rw,acl,errors=remount-ro 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/md0 /boot ext3 rw,acl 0 0
/dev/mapper/vg34-userhome /data/raid34/userhome ext3 rw,acl,user_xattr 0 0
/dev/mapper/vg56-samba1 /data/raid56/samba1 ext3 rw,acl,user_xattr 0 0
rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
nfsd /proc/fs/nfsd nfsd rw 0 0
Comment 2 Stefan Gohmann univentionstaff 2010-10-05 19:52:57 CEST
Das Problem scheint zu sein, dass die Daten aus der fstab nicht mit den Daten aus der mtab übereinzustimmen. Deshalb werden die Partitionen als nicht eingebunden angezeigt:

(In reply to comment #0)
> # cat fstab
> /dev/vg_ucs/rootfs      /       ext3    acl,errors=remount-ro  0       1
[..]
> # mount
> /dev/mapper/vg_ucs-rootfs on / type ext3 (rw,acl,errors=remount-ro)
[..]

/dev/vg_ucs/rootfs vs. /dev/mapper/vg_ucs-rootfs

Gibt es dafür einen Grund?
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2010-10-06 08:54:17 CEST
(In reply to comment #2)
> /dev/vg_ucs/rootfs vs. /dev/mapper/vg_ucs-rootfs
> 
> Gibt es dafür einen Grund?

Könnte sein, dass das automatisch passiert:

sschwardt@dave:~$ ls -l /dev/vg_ucs/rootfs 
lrwxrwxrwx 1 root root 25 22. Sep 09:13 /dev/vg_ucs/rootfs -> /dev/mapper/vg_ucs-rootfs
Comment 4 Janis Meybohm univentionstaff 2010-10-07 16:34:41 CEST
(In reply to comment #2)
> /dev/vg_ucs/rootfs vs. /dev/mapper/vg_ucs-rootfs
> 
> Gibt es dafür einen Grund?
Der Kunde hatte das von Hand angepasst, ich markiere den Bug hiermit als enhancement da es natürlich schöner wäre wenn das UMC Modul das mappen könnte.
Comment 5 Stefan Gohmann univentionstaff 2012-06-07 12:18:17 CEST
Das Verhalten sollte nochmal mit UCS 3 geprüft werden.
Comment 6 Jascha Geerds univentionstaff 2013-05-07 16:54:58 CEST
(In reply to comment #5)
> Das Verhalten sollte nochmal mit UCS 3 geprüft werden.

Ich denke das ist nicht nötig. Das Problem trat auch während der Migration des Quota-Moduls auf UCS 3.0 auf und wurde über diesen Bug bereits behoben.

siehe Bug #22903 ab Comment 9 sowie Bug #24704

*** This bug has been marked as a duplicate of bug 22903 ***