From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079058315718.tru64-unix-managers.marc@archive.invalid> From: roumian () clr34ei ! der ! edf ! fr (Jean-Paul ROUMIAN) Date: Tue, 06 Jul 1999 15:56:16 +0000 To: tru64-unix-managers Subject: error locking '/etc/fdmns' => / locked in ro X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079058315718 Hello, we have a very annoying problem with a DEC alpha station 500 running OSF1 (OSF1 clr34fd V4.0 878 alpha), which is locked. After the kernel boots, init starts the devices mounting, and a "mount: error locking '/etc/fdmns'; [13] Permission denied" prevents from mounting each disk partitions. Only / is mounted, in read-only mode. (so no getty, and no login shell). The filesystem used is AdvFS, for /, /usr,and /var. /etc/fstab is: root_domain#root / advfs rw 0 0 /proc /proc procfs rw 0 0 usr_domain#usr /usr advfs rw,userquota 0 2 var_domain#var /var advfs rw 0 0 /dev/rz0b swap1 ufs sw 0 2 /dev/rz2b swap2 ufs sw 0 2 and /etc/fdmns: total 40 drwxr-xr-x 5 root system 8192 Jun 7 16:36 . drwxr-xr-x 13 root system 8192 Jun 1 14:20 .. -r-------- 1 root system 0 Jun 7 16:36 .advfslock_fdms -r-------- 1 root system 0 Jun 7 16:36 .advfslock_root_domain -r-------- 1 root system 0 Jun 7 16:36 .advfslock_usr_domain drwxr-xr-x 2 root system 8192 Jun 7 16:36 root_domain drwxr-xr-x 2 root system 8192 Jun 7 16:36 usr_domain drwxr-xr-x 2 root system 8192 Jun 7 16:36 var_domain And in root_domain, we have: total 16 drwxr-xr-x 2 root system 8192 Jun 7 16:36 . drwxr-xr-x 6 root system 8192 Jun 7 16:36 .. lrwxr-xr-x 1 root system 9 Jun 7 16:36 rz0a->/dev/rz0a and so in /usr/domain (for /dev/rz1d), and var_domain (with /dev/rz0d). We tried: * booting in single-user mode, * to mount /usr * to do mount -u / * to do mount -u -t advfs root_domain#root / * to do mount -u -d / * to start lsmbstartup before all these tentatives (and combinations of) failed with "error locking '/etc/fdmns'; [xx] Permission denied". The /dev/rz0a devices exists, with brw-------- 1 root system 8,0 ... rigths. We tried also * without the .advfslock* files, * without the userquota option in /etc/fstab, * with gid=0 for root * with rw 1 1, rw 0 1 ... (each of these cases). with no result at all 8-<<<<<< BUT: When we booted on the install CD, and then recreate the /etc/fdmns dirs and links, and the devices in /dev, mount -t advfs root_domain#root /var/r works ! (no warning message, rw access). The mount -l command (in single-user, ro mode) says: "root_device on / type advfs (ro,exec,suid,dev,nosync,noquota,nogrpid,atimes,nodual)" (and not root_domain#root on / type advfs (rw), as on another DEC machine) As anyone an idea ? Where does the kernel (or the ROM program (>>>...)?) store the root device info ? the single-user booting mode ? the root device access option ? ( I know rdev under linux) Have I to start something before mount ? Is there a root-sqash on the / for the root user ? (as in NFS) ? Is it possible to check the AdvFS ? To convert it to ufs ? (I have only one device in each domain)