On Saturday 05 Oct 2002 10:28 am, Ashok Iyer wrote:
: Hi all, : : I have a Red Hat Linux 7.3 machine working as a file : server with 36GB allocated for /home. I want to make : /home 72GB by adding another disk. : : Can you suggest how this can be accomplished : non-destructively
hi Ashok i am suggesting you the way but *** I do not take any responsiblity of the out come of the following thing *** u should have same fs type as ur privous /home has it on the new hdd so backup ur data first
you can do it non distructively as follows
CASE1: #-------------------------------- In case the "/home" is **NOT** on separate partition
1. boot as linux single and then change /home to /home-old by mv /home /home-old
2. then change /etc/fstab entry to new partion and called it as /home e.g. ur new hdd is as /dev/hdb1 => 36 gb of linux fs [ext2fs] then entry will be as /dev/hdb1 /home ext2 defaults 1 1
CASE2: #-------------------------------- In case the "/home" is On separate partition ^^^^^^^^^^^^^^^^^^^^ 1. boot as linux single and then change /etc/fstab entry to new partion and called it as /home e.g. ur new hdd is as /dev/hdb1 => 36 gb of linux fs [ext2fs] then entry will be as /dev/hdb1 /home ext2 defaults 1 1
and now reboot ur system and that's it!
as well as destructively. I dont
: mind moving the existing data out of /home, : repartitioning it and then moving the data back. : I am using SCSI disks.
above method may be wrong so u should check it before trying . i do not claim any responsiblities if any thing goes wrong with ur system