Advertisement

07.20.2008 at 04:57PM PDT, ID: 23580633
[x]
Attachment Details

New hard drive setup for Linux redhat

Asked by tinhnho in Linux Setup, Linux Networking, Red Hat Linux

Hi guys,

My /home dir is getting bigger, I just added a new hard drive to my linux machine. After used "fdisk" to partition and format the drive with "mkfs.ext3 /dev/hdc1" . The new drive is called "/dev/sdb1"

I'd like to move /home dir to new hard drive, currently the /home dir has few users accounts . How do i move that /home dir to new hard drive and keeping all the user accounts ? That means the new hard drive will be the /home dir.

Here is the 'df -l" after partition and formated:
==================================
[root@redhat ~]# fdisk -l

Disk /dev/sda: 146.8 GB, 146810536448 bytes
255 heads, 63 sectors/track, 17848 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       17848   143259637+  8e  Linux LVM

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       60801   488384001   83  Linux
[root@redhat ~]#
================================

Any idea ? Thanks.Start Free Trial
 
Loading Advertisement...
 
[+][-]07.20.2008 at 05:07PM PDT, ID: 22047490

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.20.2008 at 05:17PM PDT, ID: 22047512

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.20.2008 at 05:29PM PDT, ID: 22047531

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Linux Setup, Linux Networking, Red Hat Linux
Sign Up Now!
Solution Provided By: WizRd-Linux
Participating Experts: 2
Solution Grade: A
 
 
[+][-]07.20.2008 at 07:36PM PDT, ID: 22047780

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.20.2008 at 07:45PM PDT, ID: 22047797

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.20.2008 at 07:48PM PDT, ID: 22047806

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628