On Sat, 20 May 2000, Samy Elashmawy wrote: se> se> Hi Folks, se> se> se> I have two hard drives , / (root) and /data , nd the / one is getting a se> bit low on empty space. se> se> So now i want to create/move the /home directory to /data/home and have it se> mapped out to /home for every body to see. se> se> se> ie /home would actualy be /data/home but all would see /home. se> se> I know how to copy the /home to /data/home. se> se> Reading up onsysm link would only let /home/data actualy be written to se> /home (whick is / drive not tha datadrive. se> se> So how is this done , mount , ln , or what. se> Well, you didn't mention if you had anything currently on /data for best results, it's best not to. Or if you do, then you can simply move it later. Anyway, this is how I've done it in the past: 1. make sure all user sessions are closed and your logged on as root. 2. the enter /home and do a 'cp -a <each directory> /data' 3. after copying each to /data, move the existing /home to /homebak temporarily. 4. unmount /data and remount it as /home 5. if everything looks ok, then add the entry to /etc/fstab and delete /homebak Now, if you did have actual existing data in /data before all this, you can either leave it there (kinda a weird place for it) or move it to the main drive by creating a /data directory their. Anyway, this is just a suggestion, do with it as you will. :) se> Once I create anc copy the files to /data/home and trick every one/thing to se> /home (mapped to /data/home) would I then delete /home or just keep it as a se> dead unused directory ? se> se> BTW any one got a 3 gigdrive there willing to part with real chaeply ? (in se> the US) se> se> Thnanks se> se> Samy se> se> -- S.Toms - tomas@primenet.com - www.primenet.com/~tomas SuSE Linux v6.3+ - Kernel 2.2.14 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/