Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a server with the following partitions configured:
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda2 78234008 2242520 72017376 4% /
/dev/hda1 99043 8004 85925 9% /boot
none 111368 0 111368 0% /dev/shm
I want to add quota support to the / partition, which requires the I modify /etc/fstab and then remount the partition in question. Can I remount this partition using:
Code:
mount -o remount /
Will this cause any problems considering the mount program itself is located on the partition which is being remounted? I'd like to do this without rebooting the machine if at all possible.
What would happen if the remount failed for any reason? I assume then the system would be left without access to any binaries, and then require a reboot. Is this correct?
Mount a CD with a Linux first, in case of problems remounting /-Filesystem you have at least the CD-Commands to work with.
Maybe you can solve the potential issue and remount the /-Filesystem then manually !
Busybox is a collection of many unix utilities - it's designed for embedded systems with restricted resources. Each tool has cut down options, but includes the commonly used ones which still behave exactly like their GNU counterparts.
What is can be used for however, is mounting on a loopback device to provide a local copy of system tools that takes up little space - great for situations such as mine where I'm need to remount / or /usr on a remote system where I'm keen to avoid a reboot - and busybox would give me access to the mount command if my remount failed and I was unable to access the system mount binary.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.