On Thu, 27 Jan 2000, Richard Adams wrote:
> On Thu, 27 Jan 2000, Ralf Christian Strandell wrote about, Help: Cannot mount /
>unmount:
> > Dear Sir/Madam
Well, below I will provide some more detailed information about my problem:
"mount / unmount does not work":
As root I did:
mount -t ext2 /dev/hda2 /mnt/BackupSystem
mount -t ext2 /dev/hda3 /mnt/BackupDisk
mount -t vfat /dev/hda1 /mnt/WinDisk
cd /mnt; mount floppy
cd /mnt; mount cdrom
umount -a
All these hang. Still the root file system gets mounted at boot.
I also tried to use the kde desktop mount icons ( floppy & cdrom )
without success.
I can boot Windows and I can boot the backup linux system
and from the backup system on hda2 I can mount my current
linux system ( hdc2 ), but not vice versa.
The "mount" binary is fine. I did also copy a mount binary from
the minimal backup system to the troubled system. This copied and intact
binary did not work either.
-rwsr-xr-x 1 root root 52788 Apr 17 1999 /bin/mount
So the mount binary is fine, the target file systems are OK, the
file systems are correctly set, and
device files do exist and ls -l gives identical (except for dates)
output on a correctly working system.
? Does this trouble relate to the RPC service or to amd?
Maybe mount needs some daemon to be running?
---------------------------------------
/etc/fstab
-rw-r--r-- 1 root root 606 Jan 23 21:49 fstab
---------------------------------------
/dev/hdc2 / ext2 defaults 1 1
/dev/hdc1 swap swap defaults 0 0
/dev/fd0 /mnt/floppy msdos user,exec,dev,suid,rw,noauto 0 0
/dev/cdrom /mnt/cdrom iso9660 user,exec,dev,suid,ro,noauto 0 0
none /proc proc defaults 0 0
none /dev/pts devpts mode=0622 0 0
/dev/hda1 /mnt/WinDisk vfat user,exec,dev,suid,rw,noauto 1 1
/dev/hda3 /mnt/BackupDisk ext2 exec,dev,suid,ro,noauto 1 1
/dev/hda2 /mnt/BackupSystem ext2 exec,dev,suid,rw,noauto 1 1
--------------------------------------
/etc/mtab
-rw-r--r-- 1 root root 85 Jan 27 2000 mtab
--------------------------------------
/dev/hdc2 / ext2 rw 0 0
none /proc proc rw 0 0
none /dev/pts devpts rw,mode=0622 0 0
---------------------------------------
ls -l /dev/hda* gives:
brw-rw---- 1 root disk 3, 0 May 5 1998 hda
brw-rw---- 1 root disk 3, 1 May 5 1998 hda1
brw-rw---- 1 root disk 3, 2 May 5 1998 hda2
brw-rw---- 1 root disk 3, 3 May 5 1998 hda3
...
brw-rw---- 1 root disk 22, 0 May 5 1998 hdc
brw------- 1 root disk 22, 1 May 5 1998 hdc1
brw-rw---- 1 root disk 22, 2 May 5 1998 hdc2
brw-rw---- 1 root disk 22, 3 May 5 1998 hdc3
brw-rw---- 1 root disk 22, 4 May 5 1998 hdc4
...
hdc1 is the swap
--------------------------------------------
processes & daemons:
-------------------------------------------
PID TTY TIME CMD
1 ? 00:00:04 init
2 ? 00:00:00 kflushd
3 ? 00:00:00 kpiod
4 ? 00:00:00 kswapd
5 ? 00:00:00 mdrecoveryd
104 ? 00:00:00 apmd
288 ? 00:00:00 syslogd
299 ? 00:00:00 klogd
313 ? 00:00:00 atd
327 ? 00:00:00 crond
345 ? 00:00:00 inetd
359 ? 00:00:00 lpd
378 ? 00:00:00 amd
383 ? 00:00:00 rpciod
418 ? 00:00:00 gpm
432 ? 00:00:00 httpd
435 ? 00:00:00 httpd
436 ? 00:00:00 httpd
437 ? 00:00:00 httpd
438 ? 00:00:00 httpd
439 ? 00:00:00 httpd
440 ? 00:00:00 httpd
441 ? 00:00:00 httpd
442 ? 00:00:00 httpd
443 ? 00:00:00 httpd
444 ? 00:00:00 httpd
465 ? 00:00:02 xfs
480 ? 00:00:00 IScanHttpd
482 ? 00:00:00 IScanHttpd
521 tty1 00:00:00 login
522 tty2 00:00:00 login
523 tty3 00:00:00 mingetty
524 tty4 00:00:00 mingetty
525 tty5 00:00:00 mingetty
526 tty6 00:00:00 mingetty
528 ? 00:00:00 update
529 tty1 00:00:00 bash
551 tty1 00:00:00 mount
552 tty2 00:00:00 bash
576 tty2 00:00:00 xinit
577 ? 00:00:15 X
581 tty2 00:00:01 kwm
587 tty2 00:00:00 kbouboule.kss
597 tty2 00:00:00 kaudioserver
598 tty2 00:00:00 kwmsound
599 tty2 00:00:01 kfm
600 tty2 00:00:00 krootwm
601 tty2 00:00:01 kpanel
602 tty2 00:00:00 kbgndwm
605 tty2 00:00:00 maudio
620 tty2 00:00:00 kvt
621 ttyp0 00:00:00 bash
629 tty2 00:00:02 kmail
631 tty2 00:00:00 kppp
632 ? 00:00:00 kppp
636 ttyS1 00:00:00 pppd
669 tty2 00:00:00 kvt
670 ttyp1 00:00:00 bash
689 ttyp1 00:00:00 ps
Ralf