Re: mount problems
"E.L. Meijer \(Eric\)" <tgakem@sg10.chem.tue.nl> writes:
> >
> > Thanks to all. However this problem is not solved:
> >
> > /rex is an empty directory created as a mount point.
> >
> > "sudo fuser /rex" and "sudo fuser /rex" return nothing.
> >
> > There is no /dev/rex
>
>
> But in a previous post you wrote (if I got the quoting right):
>
> > sudo mount /dev/hda4 or sudo mount /dev/rex
> >
> > I get the response mount: /dev/hda4 already mounted or /rex busy.
> > However, df, mount and /mtab all show that /dev/hda4 is not mounted.
>
> which implies you were trying to mount something on /dev/rex. What
> exactly is there in your /etc/fstab file? What does fdisk -l say?
OOPS! - my fingers weren't following my brain! It should have been:
sudo mount /dev/hda4 or sudo mount /rex
I made essentially the same error in my latest response (quoted
above). I'm getting careless in cut and pasting!
"sudo fuser /rex" and "sudo fuser /rex" return nothing.
should be:
"sudo fuser /rex" and "sudo fuser /hda4" return nothing.
The output of cat /etc/fstab and sudo fdisk -l are attached.
fdisk emits a few errors, which may be related to the problem. I have
tried writing the partition table back to disk, but the same error
invalid flag message is repeated in the next invocation of fdisk.
Thanks,
Bob
--
_
|_) _ |_ Robert D. Hilliard <hilliard@flinet.com>
|_) (_) |_) Palm City, FL USA PGP Key ID: A8E40EB9
--
cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file sys> <mnt point><type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext2 defaults 0 1
/dev/hda7 none swap sw 0 0
/dev/hda6 /local ext2 defaults 0 2
/dev/hda4 /rex ext2 defaults,noauto 0 2
/dev/hdb /cd iso9660 ro,user,noauto
/dev/hda1 /dos/c msdos defaults,conv=a,uid=1000,gid=1000
/dev/hdc1 /dos/d msdos defaults,conv=a,uid=1000,gid=1000
/dev/fd0 /fda msdos user,noauto,uid=1000
/dev/fd1 /fdb msdos user,noauto,uid=1000
__
sudo fdisk -l
Cannot stat() /var
check_timestamp: mkdir: No such file or directory
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these two things:
#1) Respect the privacy of others.
#2) Think before you type.
Password:
Disk /dev/hda: 64 heads, 63 sectors, 1023 cylinders
Units = cylinders of 4032 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hda1 * 1 1 257 518080+ 6 DOS 16-bit >=32M
/dev/hda2 258 258 326 139104 5 Extended
/dev/hda3 327 327 626 604800 83 Linux native
/dev/hda4 627 627 1023 800352 83 Linux native
/dev/hda5 258 258 260 6016+ 83 Linux native
/dev/hda6 Warning: invalid flag 0000 of partition table 4 will be corrected by w(rite)
261 261 310 100768+ 83 Linux native
/dev/hda7 311 311 326 32224+ 82 Linux swap
Disk /dev/hdb: 64 heads, 63 sectors, 1023 cylinders
Units = cylinders of 4032 * 512 bytes
Device Boot Begin Start End Blocks Id System
Disk /dev/hdc: 15 heads, 34 sectors, 1001 cylinders
Units = cylinders of 510 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/hdc1 1 1 804 205003 6 DOS 16-bit >=32M
/dev/hdc2 805 805 976 43860 83 Linux native
/dev/hdc4 977 977 1001 6375 83 Linux native
Reply to: