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 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.
-- Ashok
__________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com
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
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. :
you can use samba to solve this problem
1. mount the new hdd [e.g. mounted on /mnt/bing1] 2. create same dir struct [only dir name] as /home 3. the dir(s) must have same permission as /home 4. now create samba share as "extra_space" as : [extra_space] comment =%u's exta Dir path = /mnt/big1/%u writable = yes
this can be done by applying raid.
there is a linear mode in raid which concates two(many)partition(which can be on different harddisk. for linear mode-->
in /etc/raidtab
you have to enter
raiddev /dev/md0 raid level linear nr-raid-disks 2 chunksize 32 persistent-superblock 1 device /dev/sdb1 raid-disk 0 device /dev/sdc5 raid-disk 1
now run mkraid /dev/md0
but before this u have to be sure that ur kernel support the raid.
one more thing--this will destroy ur all data..so take the backup.
i think there is some volume manager software that may prevent to loose ur date...i don't have any idea about this..
cheers jitendra agarwal
--- Ashok Iyer ashok_linux@yahoo.com 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 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.
-- Ashok
Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com
=====
________________________________________________________________________ Missed your favourite TV serial last night? Try the new, Yahoo! TV. visit http://in.tv.yahoo.com