LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-04-2002, 08:32 AM   #1
jrclare
LQ Newbie
 
Registered: Apr 2001
Location: Washtenaw County
Posts: 18

Rep: Reputation: 0
formating and linking new drives


Scenario: I am running out of room in my /home directory:

Solution: I have a second drive on a NIS server that I want to use for more space. NIS is installed and working fine.

Problem: How do I format the new drive and make a link to it so it appears t be my /home directory? I know how to mount a drive on a different computer exportd yada yada. All I need to know is
how to create a link...

One more thing: I noticed I have lots of free space on my boot partition 32M free. Should I leave this alone or use it. I have a feeling that space is used during boot as a temp and then deleted. Not sure though.
 
Old 10-04-2002, 09:25 AM   #2
jrclare
LQ Newbie
 
Registered: Apr 2001
Location: Washtenaw County
Posts: 18

Original Poster
Rep: Reputation: 0
I meant NFS not NIS
 
Old 10-04-2002, 01:02 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Leave the boot partition alone.

To format drive:
Create an ext2 partition using fdisk
mk2efs /dev/hdxx (where xx is your specific paramters)

create a directory in your /home i.e
mkdir /home/username/nfs_drive

Then mount the nfs drive to the directory.
 
Old 10-04-2002, 01:28 PM   #4
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
On your NFS server all you need to do is create a '/export/home' directory (name it whatever you like) and put it in the export list for the nfsd. On the client machine, all you have to do is mount the nfs parition on top of your /home directory. You will have to move the old data either somewhere else or to the new partition before you mount or it will be unaccessable while the NFS parition is mounted. The command to nfs mount is something like this:
Code:
mount machinename:/export/home /home
 
Old 10-05-2002, 04:05 PM   #5
jrclare
LQ Newbie
 
Registered: Apr 2001
Location: Washtenaw County
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formating flash drives Gogul Linux - General 3 11-29-2005 10:10 AM
Hard drives, formating help K-Hole Linux - Hardware 1 09-08-2005 04:29 PM
formating mfds Linux - Software 7 04-14-2004 11:15 AM
Formating Raid drives Protex Slackware 3 01-30-2004 12:06 PM
formating Galilee Linux - Software 2 09-30-2003 11:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration