Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing a mount point

Status
Not open for further replies.

CooperS

Technical User
Aug 19, 2002
7
GB
I've installed WS3 Update 2.
I log on as root and do a df -k
The first filesystem line (with disk space used and available removed for brevity) is:

Filesystem Mounted on
/dev/hda2 /

I would like to change the / mount point to a different mount point.

How would I do that?
 
Your system needs a mountpoint '/'.
It's the root for the whole system.
home, etc, bin, usr, lib, var, dev, proc, ... all those need to be in '/'.

If you have another partition, which you mount to '/', it is okay, but I don't have the feeling...

seeking a job as java-programmer in Berlin:
 
Thanks, so I need to create a partition on the disk.
And then mount the new mountpoint to that partition.
 
Could you explain why you want to do this? It might help with the answer.
 
I am trying to install an application. The install fails with the error message: not enough available space on the filesystem.

I tried creating a ‘mount point’ /space

mkdir /space
mount /dev/hda2 /space

This resulted in
/dev/hda2 18745916 2421364 15372300 14% /
/dev/hda2 18745916 2421364 15372300 14% /space

This doesnt appear to me to be right, to have a disk mounted twice like that.
 
Unless you have another partition or drive moving the mount point won't help. /dev/hda2 is only 14% used. How big is this app.? (or am I missing something?)
 
The application is only 7Mb. It seems that I cannot use the / mountpoint and that it is necessary to create a partition. Perhaps it is good practice anyway not to use the / mount point for applications and keep it for systems apps only.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top