Red HatThis forum is for the discussion of Red Hat Linux.
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 did a dual boot RHL 7.3 & win 98. The harddisk was partitioned into 10GB each. But when installing RHL 7.3, i specified it to install only on 3GB leaving approx 7GB unused. With time i have used the 3GB space and i want to utilise the remaining 7GB.
You have to use the cmd fdisk and creat a partion once that has been done use the cmd mkfs to make a filesystem for that partion. Once that has been done goto your /etc/fstab insert your new mount piont so that it mount s after each startup.
of course, depending on what partition you intend to enlarge, you'll probably want to consider copying over your data from the old location to the new one.
I only mention this since there is a good chance that you're trying to create a larger /home partition for yourself.
Thanks all. I managed to get the unallocated disk space using partition magic. However, i had to mount it seperately onto Linux i.e on /mount2. This method is not transparent to my users in terms of there /home directories. After their home directories got full, they need to actively move to /mount2.
My question- is it possible to make this process transparent to the users i.e have /mount2 on / so that the users are unaware of storage problems.
Koome.
-----------------------------------
give a woman an inch and she will
park a car in it!
Now that you've got the disk space allocated, you're half way there. From here I'd suggest the following:
1. Make sure that your users are not connected and unmount /home
2. Copy everything from /home to /mount2. There are two techniques you can explore for this job. You can use cp -av /home /mount2 or you can use dd to perform a lowlevel block copy of your partitions. For example, I'll assume that you've got IDE drives and that /home is mounted from /dev/hda1, and /mount2 is on /dev/hda3. dd if=/dev/hda1 of=/dev/hda3 bs=1024
3. Once all the data has been copied, now you'll want to make your change to /etc/fstab so that /dev/hda3 gets mounted as /home instead of /mount2. Make a backup of the file first and change the appropriate line for your environment.
Adam
Last edited by windowsrefund; 09-18-2003 at 11:48 AM.
worked out great. steps followed
- backed up /home to /home2
-edit /etc/fstab and changed the mount point to /home
- umount /mount2
- mount -a
-cp -av /home2/* /home
and i had my users on more disk space!!!
Thanks all
-------------------------------------------------------------------
C this?This is a copy;I want U 2 make me the original!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.