On Tue, 2003-04-01 at 10:11, Edwin Humphries wrote: > I want to add a second hard drive to my server, but I need to define it's mount > point as /home/. > > I've worked out how to partition it and set up the file system, but all the advice > I've found so far uses rather useless (for me) mount points such as /new/, or > /mnt/hd2, or similar. > > Can I mount the new drive into /home/? > What will it do to the data already in that directory, and its subdirectories? > > Edwin Humphries,
(booting into console mode and logging in as root) What I've done in the past is to mount the drive FIRST (of course after formatting and all that cool jazz) into like /mnt/newdrive - then I copy all the data from the current /home (along with perms and the likes) onto that new drive (and back it up as well), then rename the /home to /home.old, and then mount the new drive as /home (and set it up to mount automagically at system start). There's probably hundreds of ways to get it done, but this was the fastest and easiest for me in a production environment (Oh, yeah, I disconnected the box from the network JUST IN CASE as well...) HTH! -- Tue Apr 1 10:15:01 EST 2003 10:15:01 up 10 days, 22:02, 3 users, load average: 0.37, 0.40, 0.32 ------------------------------------------------------------------ | __ __ | kuhn media australia | | / ,, /| |'-. | http://kma.0catch.com | | .\__/ || | | |=================================| | _ / `._ \|_|_.-' | stephen kuhn | | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | | |/ ._/ |"""""""""| | email: [EMAIL PROTECTED] | | |'. `\ | | | icq: 5483808 | | ;"""/ / | | | | | smk ) /_/| |.-------.| | mobile: 0410-728-389 | | ' `-`' " " | Berkeley, New South Wales, AU | ------------------------------------------------------------------ linux user:267497 * MDK 9.1 * PC/Mac/Linux/Networking/Consulting machine no:194239 * RH 7.3 * Sales - Service - Support - Tutor ------------------------------------------------------------------ ** This messages was composed on a 100% Microsoft free computer ** FORTUNE DISCUSSES THE DIFFERENCES BETWEEN MEN AND WOMEN: #6 Bathrooms: A man has six items in his bathroom -- a toothbrush, toothpaste, shaving cream, razor, a bar of Dial soap, and a towel from the Holiday Inn. The average number of items in the typical woman's bathroom is 437. A man would not be able to identify most of these items. Groceries: A woman makes a list of things she needs and then goes to the store and buys these things. A man waits 'til the only items left in his fridge are half a lime and a Blue Ribbon. Then he goes grocery shopping. He buys everything that looks good. By the time a man reaches the checkout counter, his cart is packed tighter that the Clampett's car on Beverly Hillbillies. Of course, this will not stop him from entering the 10-items-or-less lane. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list