RE: Add a new HardDisk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: Add a new HardDisk

This assumes you have formated the filesystem and it is ready to mount.  Have you done that?  If not look at the newfs or mkfs commands.  Pick your filesystem type, ie ext3, reiserfs, etc and format the drive.  Then you can mount it.  If your home directory is a separate mount point already I would just edit the fstab and modify the /home line to use the new hdd that you just mounted.  I usually mount it to a temp spot, copy everything over unmount it from the temp spot, unmount the current home directory, assuming no one is using it, then just mount the new to the current spot.

Regards,

Drew

On Tue, 2004-03-23 at 10:50, truejack@xxxxxxxxxxxxx wrote:
> Folks,
>
> I am new to the LINUX thing. Mostly been a Microsoft guy so far.
>
> I need a add a new HardDisk to my RH8.0 box.
>
> How do I go about doing it and configuring the new Hardrive.
>
> I am pasting mt df -h output here
>
> Filesystem            Size        Used    Avail      Use% Mounted on
> /dev/hda3              14G      12G       2.0G     86%         /
> /dev/hda1              99M     17M      76M      18%        /boot
> /dev/hda2              20G      16G       4.1G      79%       /home
> none       & nbsp;          503M          0         502M      0%     
> /dev/shm
> /dev/hdc1              57G      19G       35G        34%    
> /software
> /dev/hdc2              57G      40G       14G        73%      /space
>
> And, I would like move /home to the new HDD I create, how do get that
> done.
>
> Thanks in advance
>
Someone correct me if I'm wrong...

Assuming /dev/hdd1 /var/home

modify /etc/fstab to mount hdd1

#mv /home/* /var/home/
#rm -rf /home
#ln -s /var/home /home

Verify permission on new home directory

Modify paths as necessary.



>

>
>


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux