Hi,
Does anyone have a real RHEL4 machine so we can verify that this is the upstream vendor? I haven't looked into the nfs stuff yet, but the original bug was fairly easy to reproduce.

Make two partitions right next to each other. (example: hda10 and hda11)
Make the first partition an ext3 partition, and label it. (example: MYLABEL)
Make the second partition a dos or vfat partition, be sure to make the filesystem. Edit your /etc/fstab and put both of them in. For the ext3 device, use a LABEL.
Run "mount -a"

You will get an error similar to

 mount: the label MYLABEL occurs on both /dev/hda10 and /dev/hda11


In this example, the two important lines in your fstab would look like

LABEL=MYLABEL   /mnt/linux      ext3    defaults        1 2
/dev/hda15      /mnt/dos        vfat    defaults        0 0

If someone could try this on a real RHEL4 machine I would appreciate it. If they find that it's their bug, if they would file a bugzilla report, that would be even greater.

Troy

FRANCHISSEUR Robert wrote:
Hello,

I have a little more information about the bug with the new
mount command in util-linux-2.12a-16.EL4.25.

the bug is described in :

https://www.scientificlinux.org/bug.feature/bugs/12/pcng_issue_view
https://www.scientificlinux.org/bug.feature/bugs/13/pcng_issue_view

But there is also an other  strange problem with NFS mount :

[EMAIL PROTECTED] ~]# mount /distrib_labo mount: distribhost:/distrib failed, reason given by server: Permission denied

[EMAIL PROTECTED] ~]# host distribhost
distribhost.lmd.jussieu.fr is an alias for moreau.lmd.jussieu.fr.
moreau.lmd.jussieu.fr has address 134.157.47.150

but if I use the real name of this NFS server it works !

[EMAIL PROTECTED] ~]#  mount moreau:/distrib /distrib_labo
[EMAIL PROTECTED] ~]#
we have other aliases (CNAME) for this host that works !
for example divhost

[EMAIL PROTECTED] ~]# host divhost
divhost.lmd.jussieu.fr is an alias for moreau.lmd.jussieu.fr.
moreau.lmd.jussieu.fr has address 134.157.47.150

[EMAIL PROTECTED] ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda8             18145092   4543564  12679804  27% /
/dev/sda6               101086     12736     83131  14% /boot
none                   1036736         0   1036736   0% /dev/shm
/dev/sda9             35364848  17043960  16524424  51% /home
b8tohost:/d3         1952340608 1949047808   3292800 100% /d3
b8tohost:/d4         976443392 128832512 847610880  14% /d4
b8tohost:/d5         624191872 405432960 218758912  65% /d5
b8tohost:/d6         975817600 813442688 162374912  84% /d6
b8tohost:/d7         976395904 684127968 292267936  71% /d7
divhost:/cycleco2    389156992 104724256 280525632  28% /cycleco2      <=== @@@ 
works with alias
divhost:/meteoparis  389156992 104724256 280525632  28% /meteoparis    <=== @@@  "      
"    "
bizet:/u             310044640 124570784 173072064  42% /home/users
moreau:/distrib 389156992 104724256 280525632 28% /distrib_labo <=== @@@ doesn't divhost:/db1 389156992 104724256 280525632 28% /db1 <=== @@@ works with alias


It would be nice if you put the previous version till it works.

Thanks for you help.


--
__________________________________________________
Troy Dawson  [EMAIL PROTECTED]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

Reply via email to