Hi,
on Linux RED HAT when I issue df -k , I do not have a line with /mnt.
I have already done mount -t /mnt but not yet ok. What shoule I do ?
Thank you.
I am not a Linux guy, but general Unix troubleshooting steps follow:
Is the /mnt mount information specified in /etc/fstab?
If not, then your mount command specified above was incomplete.
Is the underlying volume/FS available for mounting?
Does the /mnt directoy have files/dirs in it? If so, the system could be trying to prevent an overlay mount.
Thank you frozentin.
Is the /mnt mount information specified in /etc/fstab?No.
If not, then your mount command specified above was incomplete. How to complete ?
Is the underlying volume/FS available for mounting? Yes I can do cd /mnt.
Does the /mnt directoy have files/dirs in it? If so, the system could be trying to prevent an overlay mount. What to do then ?
Thank you.
You are missing the FS device path. You need to specify that.
You mis-understood my question. "cd /mnt" is not the way to check this. You need to find out the device that has the filesystem laid out on it, and see whether that is available. The device name will be something like /dev/mapper/... (see other devices listed in your df o/p above)"
You haven't answered the question. But, in general the OS will prevent you from mounting FSs on mount points which contain files/dirs. You have two options in such a case:
[1] Move the contents of /mnt to another dir, and then mount /mnt FS
or
[2] Read the man-page for mount and figure out how to tell the system to ignore the underlying files and dirs under /mnt and just go ahead and mount the /mnt FS as specified on the command line.
/mnt is AFAIK used to mount temporary devices: Flash drives, memory cards, or loopback devices as examples. That's why there is no fstab entry (as opposed to, say /media/cdrom).
You can mount a device if you know it's device path (block file in /dev) and when it's filesystem is supported by Linux (almost any out there):
$ mount <device> <dir> # generic
$ mount /dev/sdg1 /mnt # most flash drives I know
To find out the path for a temporary device, look at the last few lines of dmesg
Why not? Dell apparently used the first partition for it's restore software, and hid the partition. Do an 'fdisk -l /dev/sda'. You'll probably be surprised over the actual list of partitions in your system.